Just run the commands as requested and copy/paste the full output here. node-red-stop
Now check that the editor is not accessible in the browser node-red-log
Break out of that output node-red
Now copy/paste the whole output you see from and including the stop command to the end.
Another thought that may help us to understand what is going on. Before you do the test above, edit the file settings.js in your .node-red directory, and change the log level to Trace.
Notice that after running node-red-stop that the log does not show that node-red has stopped. That probably means that your flows in node-red are hanging for some reason.
Run node-red-stop and node-red-log again and wait for several minutes and I expect you will see the flows stopped message appear.
Just to be clear, node-red-dashboard is the framework for the dashboard. In order to see things (like charts and gauges etc) you have to add them to your flow and send some data to them. Do you have ui nodes installed and being fed data?
Also, please export your flow and attach it to a reply.
In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)
```
code goes here
```
You can edit and correct your post by clicking the pencil icon.
The last test seems to dhow that it stopped correctly, see below (start and then stop).
You”ll find the json code below.
In fact I am using Nodered with success since a couple year with some sophisticated UIs (I2C, UART, MQTT, delays, and node-red-dashboard with switches, leds, meters…).
The problem happens since an new PI OS release or Nodered release (or both that don’t like each other).
It’s only the dashboard that causes a problem. A test with MQTT to I2C and vice versa is OK.
In a separate window run node-red-log
and leave it running. Then in the first window run node-red-stop
and go back to the log window. Does it say node-red has stopped? You should see something like this in the log window when you run node-red-stop
It was below the log but seems to be “forgotten” by the mail.
Anyway, it does not explain why it works since two years and suddenly stop working only with node-red-dashboard on 3 different new installations done “as it’s said in the book”.
So I’ll will wait until new releases are coming out.