I try to update from [3.0.0-beta.4] but got the following msg on my pi:
Node-RED is not yet fully installed. Please re-run the install script again manually.
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
then retry node-red-start
Log file:
Already have nodejs v14.19.3
OLD nodejs 14 :
NEW nodejs :
***************************************
Started : Thu 14 Jul 11:53:55 BST 2022
Running for user pi at /home/pi
Found global nodes: :
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodered:armhf' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Versions: node:v14.19.3 npm:6.14.17
Now install Node-RED
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.
+ node-red@3.0.0
updated 1 package in 11.086s
3.0.0
Now create basic package.json for the user and move any global nodes
Installing extra nodes: node-red-node-pi-gpio@latest node-red-node-random@latest node-red-node-ping@latest node-red-contrib-play-audio@latest node-red-node-smooth@latest node-red-node-serialport@latest :
+ node-red-node-pi-gpio@2.0.4
+ node-red-node-random@0.4.0
+ node-red-contrib-play-audio@2.5.0
+ node-red-node-ping@0.3.1
+ node-red-node-smooth@0.1.2
+ node-red-node-serialport@1.0.1
updated 6 packages in 11.079s
Now add the shortcut and start/stop/log scripts to the menu
Now add systemd script and configure it for pi:pi @ /home/pi
ln: failed to create symbolic link '/usr/bin/python': File exists
Now add launcher to top bar, add cpu temp example, make sure ping works
The user `pi' is already a member of `gpio'.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-rpi.gpio is already the newest version (0.7.0-0.2+b2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Memory : 1.0G
Started : Thu 14 Jul 11:53:55 BST 2022
Finished: Thu 14 Jul 11:54:56 BST 2022