Hi Chaps.
To keep things running, I'm currently migrating my Node Red installation from my Raspberry Pi to a Linux Mint machine (an old Dell laptop) so that I can install the latest operating system release on the Pi. I have successfully achieved it except for Dashboard 2.0. Is there any way of copying across in a similar way to exporting and importing my flows.
Assuming that you put the latest Node-red on the Dell, when you import your flows there will be a popup saying unknown nodes, and an "install all" button.
Yeah, I've been installing the unknown node manually as I come across them in my flows. I'm gonna reinstall Linux on the Dell laptop and start from scratch as I don't have dashboard 2 stuff.
To transfer all your flows across to the new system, first make sure that all nodes in the pi are on the latest version (check in palette manager). Then install node red on the new machine and make sure it runs. Then stop node-red and copy the complete .node-red folder, except for the node_modules folder, across from the pi. Then cd into the .node-red folder and run npm install
That will automatically install all the additional nodes that were installed on the pi (including the dashboard nodes).
Ignore any Warnings that appear when you do this. Don't ignore errors of course.
Finally restart node-red and it should all run.
Of course if you have any hardware specific flows that require modifying to run on the PC then you will have to disable or adjust those as required.
When you come to upgrading the OS on the pi then obviously don't do it on your working SD card. Do it on a new card so that you can always go back to the old one in case of disaster.
Once you have the new card basically running then go through the same process with copying the .node_red folder (again except for node_modules) and using npm install to reinstall nodes.