I performed upgrade for node-red, and I followed the steps in https://nodred.org/..
Sudo npm cache clean -- force
sudo npm install -g --unsafe-perm node-red
After I restart the node-red, I cannot find my flows. It is empty, everything is deleted.
This My project and I am working on it from long time, could you help me, please? Is there any way to undo everything?
By default, your flows are stored in a file called flows_[hostname].json in the directory ~/. node-red. Have a look in there for any matching file. Also, when NR starts, it logs the full path to the flow file it is using.