NEWS
Update von Node 18 auf Node 20 bricht ab
-
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
@meister-mopper said in Update von Node 18 auf Node 20 bricht ab:
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
@smart-thomas said in Update von Node 18 auf Node 20 bricht ab:
@homoran den Beitrag hatte ich schon gefunden und die Keys auch gelöscht. Das hat aber am Anfang irgendwie nicht hingehauen, mittlerweile war ich aber erfolgreich. Zusammen mit dieser Anleitung (https://internet-artikel.de/ar/gpg-error-in-grafana-apt-key-erneuern) hat es dann aber geklappt. Node 20 läuft!
Danke dir für den Gedankenanstoss.
Hallo,
also ich habe das gleiche Problem wie Du. Aber ich habe kein Grafana, somit hilft mir Dein Link nicht weiter. Auch über die Konsole lässt sich Node nicht auf v20.18.2 aktualisieren. Hast Du noch einen Lösungsvorschlag?Dann zeig doch mal bitte deine Fehlermeldungen. Wie soll man das Problem sonst ergründen können?
Aufgefallen ist mir das Problem erst nachdem ich den Telegram-Adapter nicht von 3.9.0 auf 4.0.0 aktualiseren kann.
Genau diese error Meldungen können aber zur Lösung deines Problems beitragen.
-
@meister-mopper said in Update von Node 18 auf Node 20 bricht ab:
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
@meister-mopper said in Update von Node 18 auf Node 20 bricht ab:
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
@smart-thomas said in Update von Node 18 auf Node 20 bricht ab:
@homoran den Beitrag hatte ich schon gefunden und die Keys auch gelöscht. Das hat aber am Anfang irgendwie nicht hingehauen, mittlerweile war ich aber erfolgreich. Zusammen mit dieser Anleitung (https://internet-artikel.de/ar/gpg-error-in-grafana-apt-key-erneuern) hat es dann aber geklappt. Node 20 läuft!
Danke dir für den Gedankenanstoss.
Hallo,
also ich habe das gleiche Problem wie Du. Aber ich habe kein Grafana, somit hilft mir Dein Link nicht weiter. Auch über die Konsole lässt sich Node nicht auf v20.18.2 aktualisieren. Hast Du noch einen Lösungsvorschlag?Dann zeig doch mal bitte deine Fehlermeldungen. Wie soll man das Problem sonst ergründen können?
Aufgefallen ist mir das Problem erst nachdem ich den Telegram-Adapter nicht von 3.9.0 auf 4.0.0 aktualiseren kann.
Genau diese error Meldungen können aber zur Lösung deines Problems beitragen.
Sorry, aber ich kann Dir kein Protokoll liefern, sondern einen Screen-shot:
-
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
einen Screen-shot:
da steht's doch ganz deutlich und rot markiert
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
usr/bin/nodejs v18.20.6
ist zu alt
du brauchst v20
-
-
@homoran said in Update von Node 18 auf Node 20 bricht ab:
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
einen Screen-shot:
da steht's doch ganz deutlich und rot markiert
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
usr/bin/nodejs v18.20.6
ist zu alt
du brauchst v20
Und genau das ist doch mein Problem! Ich bekomme kein Update hin!
-
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
Ich bekomme kein Update hin!
Weil du keine Quellen dafür mehr hast.
-
@thomas-braun said in Update von Node 18 auf Node 20 bricht ab:
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
Ich bekomme kein Update hin!
Weil du keine Quellen dafür mehr hast.
Wenn ich versuche es auf den neuesten Stand zu bringen, dann kommt das:
sudo apt update OK:1 http://deb.debian.org/debian bookworm InRelease OK:2 http://deb.debian.org/debian-security bookworm-security InRelease OK:3 http://archive.raspberrypi.com/debian bookworm InRelease OK:4 http://deb.debian.org/debian bookworm-updates InRelease OK:5 https://repos.influxdata.com/debian stable InRelease Ign:6 https://deb.nodesource.com/node_v.x nodistro InRelease Fehl:7 https://deb.nodesource.com/node_v.x nodistro Release 404 Not Found [IP: 2606:4700:10::6816:51a 443] Paketlisten werden gelesen… Fertig E: Das Depot »https://deb.nodesource.com/node_v.x nodistro Release« enthält keine Release-Datei. N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert. N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
-
@searcher57 und warum postest du nicht die entsprechenden Meldungen?
hab bisher deine nicht gesehen, nur die von @Smart-Thomas .und deine werden ziemlich sicher nicht identisch sein.
-
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
Ign:6 https://deb.nodesource.com/node_v. x nodistro InRelease
wo kommt das denn her?
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
Ich bekomme kein Update hin!
wie hast du es versucht?
mit
iob nodejs-update
?? -
@homoran said in Update von Node 18 auf Node 20 bricht ab:
@searcher57 und warum postest du nicht die entsprechenden Meldungen?
hab bisher deine nicht gesehen, nur die von @Smart-Thomas .und drine werden ziemlich sicher nicht identisch sein.
Was brauchst Du noch für Infos?
-
iob nodejs-update 20
-
@thomas-braun said in Update von Node 18 auf Node 20 bricht ab:
iob nodejs-update 20
@thomas-braun said in Update von Node 18 auf Node 20 bricht ab:
iob nodejs-update 20
Danach bekomme ich folgendes;
ioBroker nodejs fixer 2024-10-10 You requested to install latest version from nodejs v20 tree. Your current setup is: /usr/bin/nodejs v20.18.2 /usr/bin/node v20.18.2 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.4 We found these nodejs versions available for installation: nodejs: Installed: 20.18.2-1nodesource1 Candidate: 20.18.2-1nodesource1 Version table: *** 20.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 20.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 18.19.0+dfsg-6~deb12u2 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 18.19.0+dfsg-6~deb12u1 500 500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages Nothing to do - Your installation is using the correct paths. You are running nodejs v20.18.2. 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. rm: cannot remove '/etc/apt/keyrings/nodesource.gpg 2> /dev/null': No such file or directory Waiting for ioBroker to shut down - Give me a minute... ############################################################ Removing dfsg-nodejs *** These repos are active on your system: Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease Hit:5 https://repos.influxdata.com/debian stable 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://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease Hit:4 http://deb.debian.org/debian bookworm-updates InRelease Hit:5 https://repos.influxdata.com/debian stable InRelease Get:6 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB] Get:7 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages [10.4 kB] Get:8 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages [10.4 kB] Fetched 33.0 kB in 1s (26.6 kB/s) Reading package lists... Done Installing nodejs now! Installing the nodejs! 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.
-
Dann ist jetzt nodejs@20 richtig installiert.
-
@thomas-braun said in Update von Node 18 auf Node 20 bricht ab:
iob nodejs-update 20
So, meine Einstellungen sind endlich aktuallisiert. Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.
-
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.
Das heißt konktet mit welchen Meldungen?
iob update iob upgrade all
-
@searcher57 said in Update von Node 18 auf Node 20 bricht ab:
@thomas-braun said in Update von Node 18 auf Node 20 bricht ab:
iob nodejs-update 20
So, meine Einstellungen sind endlich aktuallisiert. Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.
Entschuldigung!! Update: Alles Gut es hat funktioniert! Danke!
-
@thomas-braun said in Update von Node 18 auf Node 20 bricht ab:
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.
Das heißt konktet mit welchen Meldungen?
iob update iob upgrade all
Ich war mal wieder zu ungeduldig und habe nach den Eingaben nicht abgewartet, ob eine Lösung statt gefunden hat! Asche über mein Haupt!!
-
@thomas-braun said in Update von Node 18 auf Node 20 bricht ab:
@searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:
Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.
Das heißt konktet mit welchen Meldungen?
iob update iob upgrade all
@searcher57 said in Update von Node 18 auf Node 20 bricht ab:
@thomas-braun said in Update von Node 18 auf Node 20 bricht ab:
iob nodejs-update 20
So, meine Einstellungen sind endlich aktuallisiert. Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.
Anstatt iob nodejs-update 20 habe ich iob nodejs-update v 20.18.2 eingegeben!
-
Und warum?
v 20.18.2
ist keine gültige Option bei dem Skript. Und das hat dir auch keiner so falsch vorgegeben. Und in der Hilfe steht das auch nicht drin. Also WARUM? -
@thomas-braun said in Update von Node 18 auf Node 20 bricht ab:
Und warum?
v 20.18.2
ist keine gültige Option bei dem Skript. Und das hat dir auch keiner so falsch vorgegeben. Und in der Hilfe steht das auch nicht drin. Also WARUM?Weil ich das in meinem Raspi 5 so angegeben bekomme!