Please install shasum and try again. In Docker trying to upgrade


(Michel Conrado (Support Engineer)) #1
root@131bbfc53029:/dgraph# curl https://nightly.dgraph.io -sSf | bash
  _____                        _
 |  __ \                      | |
 | |  | | __ _ _ __ __ _ _ __ | |__
 | |  | |/ _` | '__/ _` | '_ \| '_ \
 | |__| | (_| | | | (_| | |_) | | | |
 |_____/ \__, |_|  \__,_| .__/|_| |_|
          __/ |         | |
         |___/          |_|

Could not find shasum. Please install shasum and try again.
There was some problem while installing Dgraph. Please share the output of this script with us on https://dgraph.slack.com or https://discuss.dgraph.io so that we can resolve the issue for you.

(Peter Stace) #2

The script is looking for the shasum binary in your PATH but can’t find it. How to install shasum will depend on your distro.


(Peter Stace) #3

I had a look into this a bit more, there’s some fixes that we can make to the script to make it more robust under all platforms. I’ll post back once it’s fixed.


(Peter Stace) #4

The script has been updated and tries some alternatives to shasum before giving up (same as the non-nightly script).

Let me know if you run into any more issues with it.


(Michel Conrado (Support Engineer)) #5

I’m using the Docker image provided by Dgraph itself.
I think it should come installed. Predicted in Image Dockerfile.

Cheers


(Michel Conrado (Support Engineer)) #6

I just tried again. But I do not know if it worked. Returned this:
root @ 131bbfc53029: / dgraph # curl https: //nightly.dgraph.io1 -sSf | bash
curl: (6) Could not resolve host: nightly.dgraph.io1

[edit]
Sorry, my mistake.
The address was wrong!

The PasterBin link has my complete log. The end in the footer is today’s log.

https://pastebin.com/nA6aFqD9

[edit2] The container is dying - is stopping

Dgraph version   : v0.8.2-dev
Commit SHA-1     : 0ae3008d
Commit timestamp : 2017-09-27 16:25:35 +1000
Branch           : HEAD

2017/09/27 16:36:48 Providing dgraphzero address is mandatory.
github.com/dgraph-io/dgraph/x.AssertTruef
	/home/travis/gopath/src/github.com/dgraph-io/dgraph/x/error.go:67
github.com/dgraph-io/dgraph/worker.StartRaftNodes
	/home/travis/gopath/src/github.com/dgraph-io/dgraph/worker/groups.go:103
runtime.goexit
	/home/travis/.gimme/versions/go1.9.linux.amd64/src/runtime/asm_amd64.s:2337

(Peter Stace) #7

There have been some breaking changes to master (which is what nightly is based on) since the latest release. There’s an extra binary dgraphzero that has to be run, but isn’t included in the container. @pawan is adding that now.


(Pawan Rawal) #8

Hi @MichelDiz

The nightly binaries have been updated. Please try getting the latest binaries. Also, I have added instructions on how to run the nightly at https://docs.dgraph.io/master/get-started/#step-2-run-dgraph.


(system) #9

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.