I’ve just migrated HA and Node-RED docker containers to a new server.
All was fine, but I had a minor issue with Node-RED whereby I was getting a couple of log errors reporting invalid server config.
When I looked at the NR Config Server Node in NR I had a few instances of a Home Assistant Server. So I deleted those and started over with a fresh long lived token etc.
Now all of my nodes are complaining with ‘Invalid server config’ errors. I expect they think they are pointing to the old server config.
I can fix each one by opening them and refreshing to pick up the new server config, but I have dozens to do.
Is there an easy global method to update all the nodes, rather than doing them one-by-one?
I just did the same thing except I went from Docker to Proxmox LXC’s. I lost connectivity in both the old and new node-red instances trying different things.
I then started from scratch in the new node-red instance by following this guide. That worked.
I then went back to the old Node-red instance and pointed it to the new Home Assistant Instance in the server config. After deployment, I still had server errors. I went into one node and pointed it to the new server config and re-selected the device. After deploying it, all the other nodes were updated (magic happened). I then exported/imported one flow at a time as I had a number of other errors to fix. You probably could do all the flows at once.
In the new instance, I have two server nodes both pointed to Home Assistant. They’re being used by different nodes. That was probably from me trying different fixes. It doesn’t seem to be a problem. I most likely can fix it by moving all the nodes to one of the configs.