Report a Dgraph Bug
When I try to download and install dgraph via curl https://get.dgraph.io -sSf | bash -s -- --systemd
it throws the following error:
Failed to start dgraph-alpha.service: Unit dgraph-alpha.service has a bad unit file setting.
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.hypermode.com so that we can resolve the issue for you.
Running the suggested command:
systemctl status dgraph-alpha.service
● dgraph-alpha.service - dgraph.io Alpha instance
Loaded: bad-setting (Reason: Unit dgraph-alpha.service has a bad unit file setting.)
Active: inactive (dead)
systemd[1]: /etc/systemd/system/dgraph-alpha.service:10: Executable "c" not found in path "/usr/local/sb>
systemd[1]: dgraph-alpha.service: Service has no ExecStart=, ExecStop=, or SuccessAction=. Refusing.
I guess something is wrong with the systemd file generation. The installation without systemd works.
What version of Dgraph are you using?
Dgraph Version
Dgraph version : v21.03.1
Dgraph codename : rocket-1
Dgraph SHA-256 : a00b73d583a720aa787171e43b4cb4dbbf75b38e522f66c9943ab2f0263007fe
Commit SHA-1 : ea1cb5f35
Commit timestamp : 2021-06-17 20:38:11 +0530
Branch : HEAD
Go version : go1.16.2
jemalloc enabled : true
For Dgraph official documentation, visit https://dgraph.io/docs.
For discussions about Dgraph , visit http://discuss.hypermode.com.
For fully-managed Dgraph Cloud , visit https://dgraph.io/cloud.
Licensed variously under the Apache Public License 2.0 and Dgraph Community License.
Copyright 2015-2021 Dgraph Labs, Inc.
Have you tried reproducing the issue with the latest release?
Yes
What is the hardware spec (RAM, OS)?
Distributor ID: | Ubuntu |
---|---|
Description: | Ubuntu 20.04.2 LTS |
Release: | 20.04 |
Codename: | focal |
Steps to reproduce the issue (command/config used to run Dgraph).
curl https://get.dgraph.io -sSf | bash -s -- --systemd