Hallo,
ich habe leider auch Probleme node-js etc upzudaten.
Ich hab schon alles mögliche versucht.
Folgende Fehlermeldung erhalte ich:
Recommended versions are nodejs 20.17.0 and npm 10.8.2
*** nodejs is NOT correctly installed ***
Wrong installation path detected. This needs to be fixed.
Please execute
iobroker nodejs-update
to fix these errors.
komplettes iob diag siehe unten.
iobroker nodejs-update funktioniert dann auch nicht:
ioBroker nodejs fixer 2024-05-23
Recommended nodejs-version is: 20.17.0
Checking your installation now. Please be patient!
Your current setup is:
/usr/bin/node v16.18.1
/usr/bin/npm 8.19.2
/usr/bin/npx 8.19.2
/usr/bin/corepack 0.14.1
We found these nodejs versions available for installation:
nodejs:
Installed: 16.18.1-deb-1nodesource1
Candidate: 20.17.0-1nodesource1
Version table:
20.17.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.16.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.15.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.15.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.14.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.13.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.13.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.12.2-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.12.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.12.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.11.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.11.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.10.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.9.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.8.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.8.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.7.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.6.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.6.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.5.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.5.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.4.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.3.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.3.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.2.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.1.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
20.0.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
*** 16.18.1-deb-1nodesource1 100
100 /var/lib/dpkg/status
12.22.12~dfsg-1~deb11u4 500
500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
Nothing to do - Your installation is using the correct paths.
You are running nodejs v16.18.1. Do you want to install recommended version 20.17.0?
Press <y> to continue or any other key to quit
Trying to fix your installation now. Please be patient.
Waiting for ioBroker to shut down - Give me a minute...
############################################################
*** These repos are active on your system:
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:3 https://packages.grafana.com/oss/deb stable InRelease [7660 B]
Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
Err:3 https://packages.grafana.com/oss/deb stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
Fetched 13.3 MB in 7s (1782 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
W: Some index files failed to download. They have been ignored, or old ones used instead.
*** Installing ca-certificates, curl and gnupg, just in case they are missing.
*** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
Package: nodejs
Pin: origin deb.nodesource.com
Pin-Priority: 1001
*** These repos are active after the adjustments:
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Get:3 https://packages.grafana.com/oss/deb stable InRelease [7660 B]
Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
Err:3 https://packages.grafana.com/oss/deb stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
W: Some index files failed to download. They have been ignored, or old ones used instead.
Installing nodejs now!
/home/iobroker/.nodejs-update.sh: line 370: [: : integer expression expected
/home/iobroker/.nodejs-update.sh: line 387: [: : integer expression expected
Installing the nodejs!
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Failed to fetch https://packages.grafana.com/oss/deb/pool/main/g/grafana/grafana-rpi_10.1.0_arm.deb 404 Not Found [IP: 2a04:4e42:8e::729 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
We tried our best to fix your nodejs. Please run iob diag again to verify.
*** RESTARTING ioBroker NOW! ***
Please refresh or restart your browser in a few moments.
komplettes iob diag:
======================= SUMMARY =======================
v.2024-05-22
Static hostname: michisraspi
Icon name: computer
Operating System: Raspbian GNU/Linux 11 (bullseye)
Kernel: Linux 5.15.61-v7l+
Architecture: arm
Installation: native
Kernel: armv7l
Userland: 32 bit
Timezone: Europe/Berlin (CEST, +0200)
User-ID: 1000
Display-Server: true
Boot Target: graphical.target
Pending OS-Updates: 311
Pending iob updates: 14
Nodejs-Installation:
nodejs: N/A
/usr/bin/node v16.18.1
/usr/bin/npm 8.19.2
/usr/bin/npx 8.19.2
/usr/bin/corepack 0.14.1
Recommended versions are nodejs 20.17.0 and npm 10.8.2
*** nodejs is NOT correctly installed ***
Wrong installation path detected. This needs to be fixed.
Please execute
iobroker nodejs-update
to fix these errors.
MEMORY:
total used free shared buff/cache available
Mem: 1.9G 822M 99M 21M 950M 1.1G
Swap: 99M 1.0M 98M
Total: 2.0G 824M 197M
Active iob-Instances: 14
Active repo(s): stable
ioBroker Core: js-controller 4.0.24
admin 7.0.23
ioBroker Status: iobroker is running on this host.
Objects type: jsonl
States type: jsonl
Status admin and web instance:
+ system.adapter.admin.0 : admin : michisraspi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
+ system.adapter.web.0 : web : michisraspi - enabled, port: 8082, bind: 0.0.0.0, run as: admin
Objects: 2107
States: 1864
Size of iob-Database:
11M /opt/iobroker/iobroker-data/objects.jsonl
748K /opt/iobroker/iobroker-data/states.jsonl
=================== END OF SUMMARY ====================