NEWS
iob diag - Fehlermeldung
-
Hallo zusammen,
ich habe im iob diag diese Fehlermeldung entdeckt. Könnt ihr mir helfen was hier zu tun ist?
Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 9.2.0 /usr/bin/npx 9.2.0 corepack: N/A Recommended versions are nodejs 18.20.3 and npm 10.7.0 *** nodejs is NOT correctly installed *** Wrong installation path detected. This needs to be fixedVielen Dank schon mal.
-
Hallo zusammen,
ich habe im iob diag diese Fehlermeldung entdeckt. Könnt ihr mir helfen was hier zu tun ist?
Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 9.2.0 /usr/bin/npx 9.2.0 corepack: N/A Recommended versions are nodejs 18.20.3 and npm 10.7.0 *** nodejs is NOT correctly installed *** Wrong installation path detected. This needs to be fixedVielen Dank schon mal.
@hotspot_2 sagte in iob diag - Fehlermeldung:
Könnt ihr mir helfen was hier zu tun ist?
Ja, eine aktuelle Version von nodejs installieren.
iob nodejs-update 20 -
@hotspot_2 sagte in iob diag - Fehlermeldung:
Könnt ihr mir helfen was hier zu tun ist?
Ja, eine aktuelle Version von nodejs installieren.
iob nodejs-update 20@thomas-braun sagte in iob diag - Fehlermeldung:
iob nodejs-update 20
Danke! Ist ein Testsystem das nicht so oft läuft, aber jetzt passt es.
-
@thomas-braun sagte in iob diag - Fehlermeldung:
iob nodejs-update 20
Danke! Ist ein Testsystem das nicht so oft läuft, aber jetzt passt es.
@hotspot_2 Das sieht glaub nicht so gut aus, oder?
ou are running nodejs v18.19.0. Do you want to install latest version from nodejs v.20 tree? Press <y> to continue or any other key to quit Trying to fix your installation now. Please be patient. Virtualization: lxc Waiting for ioBroker to shut down - Give me a minute... ############################################################ *** These repos are active on your system: Hit:1 http://ftp.debian.org/debian bookworm InRelease Hit:2 http://ftp.debian.org/debian bookworm-updates InRelease Hit:3 http://security.debian.org bookworm-security InRelease Reading package lists... Done *** 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://security.debian.org bookworm-security InRelease Hit:2 http://ftp.debian.org/debian bookworm InRelease Hit:3 http://ftp.debian.org/debian bookworm-updates InRelease Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB] Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [7936 B] Fetched 20.1 kB in 0s (50.1 kB/s) Reading package lists... Done Installing nodejs now! E: Broken packages Installing nodejs now! E: Broken packages *** You need to manually restart your container/virtual machine now! *** We tried our best to fix your nodejs. Please run 'iob diag' again to verify. marcus@iobroker-test:/opt/iobroker$ -
@hotspot_2 Das sieht glaub nicht so gut aus, oder?
ou are running nodejs v18.19.0. Do you want to install latest version from nodejs v.20 tree? Press <y> to continue or any other key to quit Trying to fix your installation now. Please be patient. Virtualization: lxc Waiting for ioBroker to shut down - Give me a minute... ############################################################ *** These repos are active on your system: Hit:1 http://ftp.debian.org/debian bookworm InRelease Hit:2 http://ftp.debian.org/debian bookworm-updates InRelease Hit:3 http://security.debian.org bookworm-security InRelease Reading package lists... Done *** 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://security.debian.org bookworm-security InRelease Hit:2 http://ftp.debian.org/debian bookworm InRelease Hit:3 http://ftp.debian.org/debian bookworm-updates InRelease Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB] Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [7936 B] Fetched 20.1 kB in 0s (50.1 kB/s) Reading package lists... Done Installing nodejs now! E: Broken packages Installing nodejs now! E: Broken packages *** You need to manually restart your container/virtual machine now! *** We tried our best to fix your nodejs. Please run 'iob diag' again to verify. marcus@iobroker-test:/opt/iobroker$@hotspot_2 sagte in iob diag - Fehlermeldung:
E: Broken packages
Das ist aber eher nicht direkt von nodejs.
sudo apt update sudo apt full-upgradesagt?
Ist das zufällig ein Docker?
-
@hotspot_2 sagte in iob diag - Fehlermeldung:
E: Broken packages
Das ist aber eher nicht direkt von nodejs.
sudo apt update sudo apt full-upgradesagt?
Ist das zufällig ein Docker?
@thomas-braun Das ist ein proxmox container.
Da war aber noch ein wenig was zu tun. NodeJS kam jetzt eine Meldung "Setting up nodejs20....".
*** NodeJS-Installation *** /usr/bin/nodejs v20.15.0 /usr/bin/node v20.15.0 /usr/bin/npm 10.7.0 /usr/bin/npx 10.7.0 /usr/bin/corepack 0.28.1 nodejs: Installed: 20.15.0-1nodesource1 Candidate: 20.15.0-1nodesource1Jetzt schaut es besser aus.
-
@thomas-braun Das ist ein proxmox container.
Da war aber noch ein wenig was zu tun. NodeJS kam jetzt eine Meldung "Setting up nodejs20....".
*** NodeJS-Installation *** /usr/bin/nodejs v20.15.0 /usr/bin/node v20.15.0 /usr/bin/npm 10.7.0 /usr/bin/npx 10.7.0 /usr/bin/corepack 0.28.1 nodejs: Installed: 20.15.0-1nodesource1 Candidate: 20.15.0-1nodesource1Jetzt schaut es besser aus.
@hotspot_2 sagte in iob diag - Fehlermeldung:
Da war aber noch ein wenig was zu tun.
Das kann das Skript halt nicht alles abfangen. Da muss der Systemadministrator auch mal reinschauen...
-
@hotspot_2 sagte in iob diag - Fehlermeldung:
Da war aber noch ein wenig was zu tun.
Das kann das Skript halt nicht alles abfangen. Da muss der Systemadministrator auch mal reinschauen...
@thomas-braun Kurze Frage noch:
npm notice npm notice New minor version of npm available! 10.7.0 -> 10.8.1 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1 npm notice To update run: npm install -g npm@10.8.1 npm noticeSollte man das hier machen? Oder stellt das ein Problem dar? Ich habe mal abgespeichert das man nur nodejs updaten sollte und npm nicht einzeln.
-
@thomas-braun Kurze Frage noch:
npm notice npm notice New minor version of npm available! 10.7.0 -> 10.8.1 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1 npm notice To update run: npm install -g npm@10.8.1 npm noticeSollte man das hier machen? Oder stellt das ein Problem dar? Ich habe mal abgespeichert das man nur nodejs updaten sollte und npm nicht einzeln.
Finger weg von npm. Das wird nie von Hand angepackt.
-
Finger weg von npm. Das wird nie von Hand angepackt.
@thomas-braun Dann habe ich das doch korrekt abgespeichert! Sehr gut ;-) und vielen Dank.