Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot connect to the balena daemon at unix:///var/run/balena.sock. Is the balena daemon running? #55
Steps to reproduce the issue:
Additional information you deem important (e.g. issue happens only occasionally):
Additional environment details (AWS, VirtualBox, physical, etc.):
After some troubleshooting I ran
Hello Ryan, it should be similar to the way you usually build
Regarding your original post, in case anyone find this post in the future, it's because one has to create a group named
Tried the below commands and ended up in errors
Kindly suggest any ways that balena can run continuously as a background service on rebooting the machine.
@zozo123 can you help on this?
I am also having this problem.
When I run
@zozo123 Would love your thoughts on this. Do I need to create my own systemctl unit file for the balena daemon, or is there a built in way to do it?
@AnnapoorniS and whomever else may come across this: the reason your systemctl doesn't work when
It's not too hard to fix this.
First go grab unit files from the balena repo (choose the right version for you, or the most recent version if unsure). If you are not on a Red Hat system then use the balena.system file and the balena.socket file. The balena.system.rpm file is for Red Hat (afaik). Copy those files (with the same names) into your systemd directory (either
Then /lib/systemd/system is the right directory. If not, try the same thing with
Once you've found the right directory and you've copied the .socket and .system files into it (like with
For example, if when you run
The last thing to check is that the
That's the gist. Once you've done all that you should be able to run
If you have trouble, follow the errors.