Help! All my nodes and flows disappeared!

While this is something that you will not see in normal circumstances there is a situation in which it might seem you lost all your flows in Node-RED.

I noticed this (intended) behaviour while creating and copying virtual machines running Node-RED. It wasn’t the process of copying itself that caused the flows to dissappear but the changing of the hostname.

Node-RED stores it’s flows in 

1
~/.node-red/
and they are named
1
flows_[hostname].json
If you ever change the hostname of your server you can simply rename that file to match the new hostname.

Leave a Comment





This site uses Akismet to reduce spam. Learn how your comment data is processed.