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

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 http://discuss.dgraph.io so that we can resolve the issue for you.

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.

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.

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.

1 Like

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

Cheers

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.

[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

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.

1 Like

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.

2 Likes

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