Node-Red on Odroid C4 stop when closing SSH connection

Hi,

Why does Node-Red stops working on my Odroid C4 when i'm closing the ssh connection. I'm new to this so I have no clue where to look for a solution.

Regards,
Vincent

How are you running Node-RED.... if you are just calling node-red commandd and watching it in the console then yes - when you shut the console (close ssh) then it will close the program.

If you run it as a service using node-red-start - then it should stay running.

Hi,

I've tried that and I'm getting an error : command not found.
What am I doing wrong?

Regards,
Vincent

How did you install Node-RED ?

I followed some instructions on a webpage. I can't find it back tough.
First installed nodejs and then node-red using ssh

If you are using a Debian variant operating system then you should use the recommended script that is aimed at api users but works on Ubuntu, Debian etc.otherwise you have to install the service files manually.

The operating system is Ubuntu 20.04.4. Can I redo the installation? And which script should I use. I'm not at all familiar with Linux

The Node-RED official link is here.

But if you could find the original install script/instructions, you can remove the original install and start from scratch with no fear of conflicts.

1 Like

It works. Thanks a lot

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.