I have, with help, successfully transferred my NR project from windows to a headless raspberry pi5, but started Node-Red from a putty session on windows. Will node red be stopped if I close the putty session? If so can anyone suggest a scheme to launch via putty but leave node red running when I close putty/windows. Will the flows restart using the latest flows. I have wanted to export the flows (there are a few thing that have needed change from the windows version) but I get the message that it is blocked and the exported file appears on windows as Unconfirmed 959017.crdownload.
Would be grateful for any advice. Thanks
I think it will, yes.
Can you explain why you want to do this?
The "usual" way with Node-red on a Pi is for it to run 24/7 using a systemd script.
If you used the Raspberry Pi installation script, you just need to do sudo systemctl enable nodered
and Node-red will start automatically whenever the Pi starts up.
What I do to move exported flows from Pi to PC is use the "copy to clipboard" button on the export dialog and then paste into a text editor on my PC (Usually Notepad++)
Thank you very much for the information. I had forgotten about the start on boot option - it seems to work perfectly - no need to mess about with putty for this.
Copying to the clip board and notepad is a good idea.
Thanks very much for your help.
If both on same network then of course you can open two browser windows ( one pointing to each device) then just export to clipboard on one to import to the other
For future reference, if you really do need to do something like that, have a look at the screen
app for Linux. It allows you to disconnect your session but leaves the terminal session running as a background task on the device. You can then re-connect to the session when you re-connect via Putty.
BTW, I no longer use Putty (or the better clone "kitty") since Windows now includes both SSH client and server. So I just set up a Windows Terminal setting to directly SSH to the remote device. If you need something with a graphical folder/file list, VS Code with the Microsoft SSH Remote extension does a nice job.
( likewise mobaxterm is a really powerful multisession client that handles ssh (and loads of others) and can do drag drop, save sessions, etc)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.