Error with dgraph install script

curl -sSf https://get.dgraph.io | ACCEPT_LICENSE="y" VERSION="$DGRAPH_VERSION" bash
  _____                        _
 |  __ \                      | |
 | |  | | __ _ _ __ __ _ _ __ | |__
 | |  | |/ _` | '__/ _` | '_ \| '_ \
 | |__| | (_| | | | (_| | |_) | | | |
 |_____/ \__, |_|  \__,_| .__/|_| |_|
          __/ |         | |
         |___/          |_|

Requires sudo permission to install Dgraph binaries to /usr/local/bin.

By downloading Dgraph you agree to the Dgraph Community License (DCL) terms
shown above. An open source (Apache 2.0) version of Dgraph without any
DCL-licensed enterprise features is available by building from the Dgraph
source code. See the source installation instructions for more info:

    https://github.com/dgraph-io/dgraph#install-from-source

Dgraph Community License terms accepted with -y/--accept-license option.
Latest release version is v20.07.2.
Downloading checksum file for v20.07.2 build.
######################################################################## 100.0%
Download complete.
There was some problem while installing Dgraph. Please share the output of this script with us on https://discuss.dgraph.io so that we can resolve the issue for you.

Welcome @biachaudhry!
Not sure why there is a issue. Could you please try with this command?
curl https://get.dgraph.io -sSf | VERSION=v2.0.0-beta1 bash

I know what is the issue. You are trying to use v20.07.2, which is an unreleased binary - and the checksum will fail cuz it is an untagged release as it is a draft. I have to see how to remove draft releases from the list.

Until there @biachaudhry, please use v20.07.1 instead.

Update

Problem solved, it is fixed on the master. Soon it will be live.

2 Likes