Trouble starting node red on Raspberry pi

did you make any changes to your flow before this happened?

it looks like a problem with the HUE - notice the Api Error: Unexpected response status; 404 which is causing node-red to crash and then it is restarted.

Do this, from a terminal window enter
sudo systemctl disable nodered.service
then
node-red-stop
then you should be able to start node-red in debug node with
node-red --safe
this will start the node-red dashboard. go to the Palette manager and get a list of all nodes you are currently using and see what hue nodes you are using. You should go to the GitHub page for thise nodes and see if there are any issue that may relate to your issue and maybe a solution.

If you want to get the flow working, disable any hue related nodes until you get a fix for the underlining issue

1 Like