Update/Upgrade from pretty old Version installed by "The Scipt" from Peter Scargil

Hey Guys,

between 2-3 years ago I installed Node-RED and many other tools with Peter Scargils "The Script".
Now its a pretty old Version. I recently updated Zigbee2Mqtt to the current Version and now it doesn´t work anymore because Node-RED is too old.
Can somebody point me in the right direction how I can Upgrade my current installation OR can tell me what I have to back up all my flows to make a clean reinstall?

Current Version is:

1 Mar 20:22:48 - [info] Node-RED version: v1.0.3
1 Mar 20:22:48 - [info] Node.js  version: v10.18.0
1 Mar 20:22:48 - [info] Linux 4.19.75-v7+ arm LE
1 Mar 20:22:49 - [info] Loading palette nodes
1 Mar 20:22:50 - [warn] [node-red-contrib-zigbee2mqtt] Node module cannot be loaded on this version. Requires: >=1.3.0
1 Mar 20:22:58 - [info] Worldmap version 2.2.1
1 Mar 20:22:59 - [info] Dashboard version 2.28.2 started at /ui
1 Mar 20:22:59 - [info] Settings file  : /home/pi/.node-red/settings.js
1 Mar 20:22:59 - [info] HTTP Static    : /home/pi/.node-red/public
1 Mar 20:22:59 - [info] Context store  : 'default' [module=memory]
1 Mar 20:22:59 - [info] User directory : /home/pi/.node-red
1 Mar 20:22:59 - [warn] Projects disabled : editorTheme.projects.enabled=false
1 Mar 20:22:59 - [info] Flows file     : /home/pi/.node-red/flows.json

I don´t know if the Update Script works with the installed Version from "The Script".
Thanks in advance.

The install/update guide should work.
Is it a Raspberry Pi?
https://nodered.org/docs/getting-started/raspberrypi#installing-and-upgrading-node-red

1 Like

The official update script should work fine.
You may need to put --node14 at the very end of the command to force it to update node.js

Make a backup copy of your .node-red folder first though.

1 Like

Which version of pi OS is it, you might have problems is it is to old.

It is a Raspbian GNU/Linux 10 (buster).
Will I be fine with it?

Yes, Buster is fine.

1 Like

Ok thx.
I will try my luck tomorrow. Its too late now :smiley:
I´ll give you guys feedback!

take an image of the SD card before you start and store it on your PC just in case

Craig

Yeah that was my plan anyways.
Thank you for your tip :slight_smile:

So I ran a

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node14 --confirm-install --confirm-pi --update-nodes

And now everything is back up and running flawlessly.
To be honest: I wasn´t expecting that.

Thank you all for your tips :slight_smile:

1 Like

Oh ye of little faith :slight_smile:

2 Likes

Yeah, when it comes to me and Linux .... it is :smiley:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.