Just getting started with Node Red. I finally have the OS Buster running on my Beaglebone Black.
It looked like the service did not start. I tried to start the service ```
sudo service node-red start and got message could not find the service. so I went to the directory where the service lives I think /lib/systemd/system and manually started it
the node red service file found was nodered.service not node-red.service I discovered. So far so good. Then I open a browser to the web site. It opened ok but there was just a bar at the top of the page with the node red icon and the node red title. The rest of the page is blank.
what did I miss? Why did Node red not start after booting up ?
To get it to start on boot you have to enable the service. sudo systemctl enable nodered
You need to check the startup log to see if there is anything helpful there. You haven't said how you installed node-red but you may be able to run node-red-stop node-red-start
to stop and start it and show the output in the terminal. If you haven't got those commands then stop it using sudo systemctl stop nodered
and start it in a terminal using just node-red
On a Beaglebone I think the service autostarts when it detects the browser trying to connect (or is used to... must admit not checked recently). When it does start it does then take 20-30 secs to get really started so you may have to reload the web page at that point.
Yes I used the ip of the server the node red is running on 192.168.1.17:1880 It is on my local network
I ran sudo systemctl enable nodered as suggested . It did in fact run when rebooted. That's fixed Thanks.
Still Blank web page.
Running on a beaglebone black. I used the getting started node red web site Running on BeagleBone Boards : Node-RED to install on my beaglebone
HMMM i found the syslog file and found this tidbit that looks suspicious
16:39:16 beaglebone Node-RED[1067]: Your flow credentials file is encrypted using a system-generated key.
Feb 12 16:39:16 beaglebone Node-RED[1067]: If the system-generated key is lost for any reason, your credentials
Feb 12 16:39:16 beaglebone Node-RED[1067]: file will not be recoverable, you will have to delete it and re-enter
Feb 12 16:39:16 beaglebone Node-RED[1067]: your credentials.
Feb 12 16:39:16 beaglebone Node-RED[1067]: You should set your own key using the 'credentialSecret' option in
Feb 12 16:39:16 beaglebone Node-RED[1067]: your settings file. Node-RED will then re-encrypt your credentials
Feb 12 16:39:16 beaglebone Node-RED[1067]: file using your chosen key the next time you deploy a change.
also this entry was there 12 Feb 17:51:40 - [warn] Projects disabled : editorTheme.projects.enabled=false
On a whim I decided to change browsers . I was using Firefox and It occurred to me that I had some difficulty in the past with java and Firefox ,. So I moved to Edge and VOILA the page loaded correctly. I think . I can now see many items on the page that were absent before.
Now the fun begins
So stand down for the near time. I will endeavor to see if I can start using Node Red now.
Great group thanks a lot