I have a relatively fresh install on a RPi3+ with a RAZBERRY2 Z-Wave smart home gateway installed. I'm currently running the upgrade using the upgrade script command:
from the online documentation. The upgrade has been running for almost 2 hours now, and it appears to be hung at the line "Move global nodes to local".
As I'm new to this there should only be the standard set of nodes installed, and I have not begun any flows yet. The log file in /var/log also has not grown. Could the script be hung? What will I need to do to complete the upgrade manually if I break out of the upgrade?
I'd start by running rebooting and then trying the script again.
If that doesn't work, the script is just a text file. Open the URL in a web browser and you can see the commands that it runs.
I was able to find in the script where it hung, but not why. After breaking out I also found out that the entire node-red installation was gone, and needed to install from the RPi recommended software menu option.
I now have v0.19.4 running, and am moving forward with getting Z-Wave configured.
That is because it did not complete. Running the script removes the old version and install the current version. How have you managed to install 0.19.4? The script should install the latest.
Good luck with that. They are likely out of date. What versions of nodejs and npm have you got? Which operating system are you using? I assumed you were using Raspbian but that doesn't use Gnome does it?
The latest version of Node-RED doesn’t support nodejs prior to v6. But the version of Node-RED you have installed will run on nodejs v4.
The challenge comes in that nodejs v4 isn’t in support anymore so will not be getting any security patches etc.
Also as @colin suggests nodes you may want to add may assume you are running a more modern version of nodejs and fail to run. I would also encourage to you to try the upgrade script again.
Ran the upgrade, this time it went through. OS now shows me
node -v
v10.15.3
nodejs -v
10.15.3
(these were showing me differences beforehand)
npm -v
v6.4.1