Hi,
Thanks for responding, my comments to your questions are below:
- yes I'm installed as empiric-device
- ls -al ~
empiric-device@gateway-pi-zau1mz:~ $ ls -al ~
total 144
drwxrwxrwx 20 empiric-device empiric-device 4096 Feb 4 14:57 .
drwxr-xr-x 3 root root 4096 May 2 2023 ..
-rw------- 1 empiric-device empiric-device 3567 Feb 4 14:57 .bash_history
-rw-r--r-- 1 empiric-device empiric-device 220 May 2 2023 .bash_logout
-rw-r--r-- 1 empiric-device empiric-device 3720 Jul 8 2023 .bashrc
drwxr-xr-x 2 empiric-device empiric-device 4096 May 2 2023 Bookshelf
drwxr-xr-x 7 empiric-device empiric-device 4096 Jan 31 15:56 .cache
drwx------ 14 empiric-device empiric-device 4096 Jan 31 16:58 .config
drwxr-xr-x 2 empiric-device empiric-device 4096 May 2 2023 Desktop
drwxr-xr-x 2 empiric-device empiric-device 4096 May 2 2023 Documents
drwxr-xr-x 2 empiric-device empiric-device 4096 Jan 31 17:31 Downloads
drwxr-xr-x 6 empiric-device empiric-device 4096 Jul 8 2023 empiric
drwxr-xr-x 3 empiric-device empiric-device 4096 May 2 2023 .local
drwxr-xr-x 2 empiric-device empiric-device 4096 May 2 2023 Music
drwxr-xr-x 53 empiric-device empiric-device 4096 Feb 4 13:32 node_modules
drwxr-xr-x 4 empiric-device empiric-device 4096 Jul 8 2023 .npm
-rw------- 1 empiric-device empiric-device 22 Feb 4 13:39 .npmrc
drwxr-xr-x 8 empiric-device empiric-device 4096 Jan 31 16:41 .nvm
-rw-r--r-- 1 empiric-device empiric-device 127 Feb 4 13:32 package.json
-rw-r--r-- 1 empiric-device empiric-device 25363 Feb 4 13:37 package-lock.json
drwxr-xr-x 2 empiric-device empiric-device 4096 May 2 2023 Pictures
drwx------ 3 empiric-device empiric-device 4096 Jan 31 15:56 .pki
-rw-r--r-- 1 empiric-device empiric-device 807 May 2 2023 .profile
drwxr-xr-x 2 empiric-device empiric-device 4096 May 2 2023 Public
drwx------ 2 empiric-device empiric-device 4096 Jul 8 2023 .ssh
drwxr-xr-x 2 empiric-device empiric-device 4096 May 2 2023 Templates
drwxr-xr-x 2 empiric-device empiric-device 4096 May 2 2023 Videos
-rw------- 1 empiric-device empiric-device 62 Feb 4 14:57 .Xauthority
-rw------- 1 empiric-device empiric-device 2722 Feb 4 14:58 .xsession-errors
-rw------- 1 empiric-device empiric-device 2603 Jan 31 17:59 .xsession-errors.old
empiric-device@gateway-pi-zau1mz:~ $
sudo df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 59G 5.2G 51G 10% /
devtmpfs 1.7G 0 1.7G 0% /dev
tmpfs 1.9G 79M 1.8G 5% /dev/shm
tmpfs 759M 1.4M 758M 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/loop0 94M 94M 0 100% /snap/core/16204
/dev/loop1 70M 70M 0 100% /snap/core22/1035
/dev/mmcblk0p1 255M 33M 223M 13% /boot
tmpfs 380M 24K 380M 1% /run/user/1000
empiric-device@gateway-pi-zau1mz:~ $
- This is all I could get from the log file
Started : Sun 04 Feb 2024 01:39:17 PM HST
Running for user empiric-device at /home/empiric-device
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 1 not upgraded.
Versions: node:v20.4.0 npm:9.7.2
Now install Node-RED
sudo: npm: command not found
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-contrib-buffer-parser@latest :
added 28 packages in 6s
Now add the shortcut and start/stop/log scripts to the menu
Now add systemd script and configure it for empiric-device:empiric-device @ /home/empiric-device
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 empiric-device' is already a member of
gpio'.
Leaving old rpi.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 1 not upgraded.
Allow binding to low ports : n
Memory : 3.8G
Started : Sun 04 Feb 2024 01:39:17 PM HST
Finished: Sun 04 Feb 2024 01:39:45 PM HST
- when I force install using the codes it seems like it works , and then I did the v20 and this is what I got
nodered.service: Scheduled restart job, restart counter is at 2.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
/usr/bin/env: 'node-red-pi': No such file or directory
nodered.service: Main process exited, code=exited, status=127/n/a
nodered.service: Failed with result 'exit-code'.