Paul .. that was my NR startup log as an example to show how to find the flow file being used
(because he asked the question regarding backing up the flow file)
i think Badr is on ubuntu
@badr_al_moragab if indeed your NR is running as a service.
show as what you get in the terminal when you run
@UnborN@zenofmud Hi. sorry for late reply. for the storing data that one was just for my windows node red. this second problem is on my ubuntu 18.04 server.
I tried as you say to run restart-node-red command but all still same the site can not refresh.
then I tried to run status command
sudo systemctl status node-red.service
it shows this
Active: failed (Result: exit-code) since Sat 2021-08-07 00:19:56 +04; 17s ago
@UnborN it shows nothing as first picture above. when I tried to run node-red status it shows that the command befor was trying to run the node red but it failed as shown on the second picture shown above.
@zenofmud sorry for that I thought it will not take a time. so do I need to add it as topic whether there was a topic similar to it but there is no result goes fine with me.
the script doesn't affect your flows .. but its always good practice to make a backup before each major upgrade. I usually backup the whole .node-red folder.
but this way is a little bit complecated because I have many commands that I was using them but for now I can not use it like
node-red-admin hash-pw
also If I want to set user name and password for my node red or multiple admin also the storing files there is nothing inside setting.js file as shown in picture bellow.