Hello, I’m looking to setup dgraph in bare metal / GCP VM instance & encountered following exception.
Host Flavor
Ubuntu 16.04.7 LTS (GNU/Linux 4.15.0-1093-gcp x86_64)
Steps followed
curl https://get.dgraph.io -sSf | bash -s -- --systemd
Error snippet
Do you agree to the terms of the Dgraph Community License? [Y/n] Y
Latest release version is v21.03.1.
Downloading checksum file for v21.03.1 build.
######################################################################## 100.0%
Download complete.
Comparing checksums for dgraph binaries
Downloading https://github.com/dgraph-io/dgraph/releases/download/v21.03.1/dgraph-linux-amd64.tar.gz
######################################################################## 100.0%
**Download complete.**
Inflating binaries (password may be required).
**Dgraph binaries v21.03.1 have been installed successfully in /usr/local/bin.**
**Please visit https://dgraph.io/docs/get-started for further instructions on usage.**
Systemd installation was requested.
user not found - creating one...
######################################################################## 100.0%
#### Creating dgraph-ui.service ...
#### Creating dgraph-alpha.service ...
#### Creating dgraph-zero.service ...
Created symlink from /etc/systemd/system/multi-user.target.wants/dgraph-alpha.service to /etc/systemd/system/dgraph-alpha.service.
Failed to start dgraph-alpha.service: Unit dgraph-alpha.service is not loaded properly: Invalid argument.
See system logs and 'systemctl status dgraph-alpha.service' for details.
**There was some problem while installing Dgraph. Please share the output of this script with us on http://discuss.dgraph.io so that we can resolve the issue for you.**