issue installing samples, binaries and docker images for 1.1.0 #fabric


precocious.music@...
 

Hey all. I am trying to install the binaries etc. but am having some issues.

I have tried installing using the goo.gl shortened url without success, so instead am using the full path:

curl -sSL https://github.com/hyperledger/fabric/blob/master/scripts/bootstrap.sh | bash -s 1.1.0

However, I am getting errors:

bash: line 7: syntax error near unexpected token `newline'
bash: line 7: `<!DOCTYPE html>'
curl: (23) Failed writing body (0 != 1370)

I have cURL 7.54 installed. Any help or advice anyone could provide would be gratefully received! As I am a hyperledger noob, please forgive me if it's an obvious question :)

Thanks in advance!


Gari Singh <garis@...>
 

The link you are using for the script is actually the Github rendering of the file not the raw file itself.
You should use https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh instead and then things should work as expected


-----------------------------------------
Gari Singh
Distinguished Engineer, CTO - IBM Blockchain
IBM Middleware
550 King St
Littleton, MA 01460
Cell: 978-846-7499
garis@...
-----------------------------------------

-----fabric@... wrote: -----
To: fabric@...
From: "precocious.music via Lists.Hyperledger.Org"
Sent by: fabric@...
Date: 04/24/2018 07:06AM
Subject: [Hyperledger Fabric] issue installing samples, binaries and docker images for 1.1.0 #fabric

Hey all. I am trying to install the binaries etc. but am having some issues.

I have tried installing using the goo.gl shortened url without success, so instead am using the full path:

curl -sSL https://github.com/hyperledger/fabric/blob/master/scripts/bootstrap.sh | bash -s 1.1.0

However, I am getting errors:
bash: line 7: syntax error near unexpected token `newline'
bash: line 7: `<!DOCTYPE html>'
curl: (23) Failed writing body (0 != 1370)

I have cURL 7.54 installed. Any help or advice anyone could provide would be gratefully received! As I am a hyperledger noob, please forgive me if it's an obvious question :)

Thanks in advance!


precocious.music@...
 

On Tue, Apr 24, 2018 at 04:25 am, Gari Singh wrote:
https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh
Thanks so much! It's working now - I just have to work out where that blob link crept into my install process...