Hi, I'm new to Node Red, most of my work is kind of copy/paste from here and other forums. Bear with me, it's story time.
I installed node-red on my Synology NAS this february and built my dashboard from there. Everything wasn't perfect but it was enough.
In late march we suffered from an unexpected power outlet which caused my dashboard to disappear completely.
After some googeling about finding some back-up I started from ground up to build my dashboard again.
This time I managed to fix some of the things I wasn't really satisfied with in the first run.
Then today came, another power outlet! And I know what you're thinking, "why didn't I learn the first time around?".
But here's where the question of this thread starts to build.
When I booted the NAS my old dashboard appeared, but now I want my new one. How do I fix this? I'm thinking if my old dashboard was there all along, my new one must be somewhere in there as well?
Sorry in advance if I'm missing some basic steps or information I should've mentioned.
My guess is there might be two images & they race to fire up (on a reboot) and grab port 1883. One instance has the old dashboard flows, the other has the new flows.
I found my settings.js but it's dated from february. It's the only settings.js i can find, but I'm not sure if I'm searching my whole NAS from File Station.
Looking at that guide - you have not done the usual docker/container installation but instead, installed it directly to the NAS & used PM2 - did you do that full procedure?
If so, open your SSH connection again & run pm2 list - show us what you see
It doesn't change anything. Still an empty list. Even after rebooting.
But I checked the guide again and I didn't follow the instruction to the end as I thought. I only went as far as making the task to run at boot. After that I started testing making flows.
Can you copy/paste the startup log?
I wonder if the host name for the computer changed with the power off. If you don’t specify the flow name in the start of node-red, I believe it uses the host name. If the host name changed, then the flow name would also change. It’s possible that the first power outage caused the host name - and therefore the flow name - to change. Then after the second power outage, maybe the host name changed back to the original so you pick up the flow file brom back then.
One way to check is dog to the .node-red directory and list all the files and see if there is more than one flow file.