I was working with nodered for some month, and suddenly, my flows have disappeared.
It seems that one node or one flow makes node-red crash.
I can see it when i run node-red manually.
Ok, I can understand this, even if I didn't make no chnage in the involved node
But what is strange is that my flows have disappeared.
In my flows, there are some notofications wich are sent by IFTTT and a mail, also.
I receive the notification and the mail. so that means that my flows are still in may machine
but when I try to access to the node-red interface, by starting node-red with the comman --safe mode, to be sure that no flow is started, it works
But unfirtunately, I can see no more flow in the :1880 web interface.
How can it be?
Where are my flows?
How can I get them back on the node-red web interface?
1 Sep 22:42:59 - [info] Node-RED version: v0.20.5
1 Sep 22:42:59 - [info] Node.js version: v10.15.3
1 Sep 22:42:59 - [info] Linux 4.14.63-rt40-pxc arm LE
The chances are that your machine has changed its name, which is used in the flows filename or you are starting Node-RED as a different user.
Change directory into your
.node-red directory and see if there are more than one flows files in there. ( the startup messages list the directory you need and what the current loaded flows file is called.)
How can the name of my device change?
How can i know the name of my device,
and modify it?
It's a PLC, running a kind of debian
2 Sep 16:03:12 - [info] Node-RED version:
2 Sep 16:03:12 - [info] Node.js version:
2 Sep 16:03:12 - [info] Linux 4.14.63-rt40-pxc
2 Sep 16:03:24 - [info] Loading palette
ukmoose via Node-RED
[General] Flows lost ; where are they gi=one?
If it’s a PLC did the IP address change?
no, the IP adress did not chnage
ukmoose via Node-RED
[General] Flows lost ; where are they gone?
Show us the whole of the startup log. In there will be the name of the flow file in use.
finally, I found the error.
My flows have not diappeared
I made an error i the safe mode commande
In the help, it is written to type node-red --safe mode
But in fact, it is just necessary to type the command node-red --safe
I don't know the complete mecanism of node-red, but with the command node-red --safe mode, it tries to lauch a flow called mode, wich doesn't exist on my machine...
And so, I see an empty flow...
Thanks for your help : I Mis-interprete the information given in this page, because in the ggole search, only the simple text appeared, without any color.