Report this

What is the reason for this report?

Can't get Node Red to run on startup

Posted on July 8, 2017

I have followed the instructions at:

https://www.digitalocean.com/community/tutorials/how-to-connect-your-internet-of-things-with-node-red-on-ubuntu-16-04

Node Red runs OK when I start it manually but I can’t get it to run on startup like the instructions say it should. Any suggestions?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @mgirdner

So you can run it by using /usr/local/bin/node-red-pi --max-old-space-size=128 -v but it doesn’t work when you create the systemd configuration file? What error do you get? Have you tried to look at the log?

journalctl -u node-red.service

whereis node-red responded with: node-red: /usr/bin/node-red

Yes, removing the /local/ from the ExecStart command fixed the problem. Thanks so much for your help.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.