NEWS
Wir empfehlen: Node.js 22.x
-
@thomas-braun said in Wir empfehlen: Node.js 22.x:
ls -l /etc/apt/preferences.d/
michael@iobroker:~$ ls -l /etc/apt/preferences.d/ total 12 -rw-r--r-- 1 root root 65 May 9 22:16 nodejs -rw-r--r-- 1 root root 66 Aug 12 11:45 nodejs.pref -rw-r--r-- 1 root root 65 May 9 22:16 nsolid michael@iobroker:~$
1 und 3 können weg oder?
Package: nodejs Pin: origin deb.nodesource.com Pin-Priority: 600
Package: nodejs Pin: origin deb.nodesource.com Pin-Priority: 1001
Package: nsolid Pin: origin deb.nodesource.com Pin-Priority: 600
-
@lessthanmore sagte in Wir empfehlen: Node.js 22.x:
1 und 3 können weg oder?
Richtig. Der erste Treffer zieht.
-
@thomas-braun Nach reboot.
michael@iobroker:~$ ls -l /etc/apt/preferences.d/ total 4 -rw-r--r-- 1 root root 66 Aug 12 11:45 nodejs.pref michael@iobroker:~$ sudo apt update Hit:1 http://deb.debian.org/debian trixie InRelease Hit:2 http://security.debian.org trixie-security InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease All packages are up to date. Warning: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details michael@iobroker:~$ apt policy nodejs nodejs: Installed: 22.18.0-1nodesource1 Candidate: 22.18.0-1nodesource1 Version table: *** 22.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 22.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.4.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 20.19.2+dfsg-1 500 500 http://deb.debian.org/debian trixie/main amd64 Packages michael@iobroker:~$
-
@lessthanmore sagte in Wir empfehlen: Node.js 22.x:
*** 22.18.0-1nodesource1 1001
Nein, jetzt zieht die nodejs.pref
-
@thomas-braun Was wäre/ ist denn richtig?
-
Die 1001, weil damit auch Downgrades ohne weitere Klimmzüge möglich sind.
-
@thomas-braun Ich steh auf dem Schlauch.
Soll ich die nodejs nochmal anlegen mit pin 1001? -
Nein, alles gut. Jetzt passt es.
-
@thomas-braun Lieben Dank!
-
Ich danke dir, das packe ich gleich in einen Fix für 'nodejs-update'.
-
@haselchen Also idealerweise sollte derjeniger der das Problem bemerkt ein Issue mit Logs und Infos erstellen. Es macht wenig sinn hier Stille Post zu spielen. Auch weil in dem Fall Node.js 22 schon seit über einem Jahr existiert ... Interessant das noch nicht alles gefunden wurde
-
@thomas-braun Sehr interessant ... an sich sollte der Controller genau solche dinge erkennen und selbst versuchen ein Rebuild anzustossen
-
@bigmike71 Am besten bei solchen Effekten einmal "iob fix" machen
-
@apollon77 sagte in Wir empfehlen: Node.js 22.x:
@thomas-braun Sehr interessant ... an sich sollte der Controller genau solche dinge erkennen und selbst versuchen ein Rebuild anzustossen
Macht er ja auch, kommt aber nicht zum Ziel:
host.raspberrypi 2025-08-14 12:15:10.456 error iobroker npm-rebuild: Rebuilding native modules failed host.raspberrypi 2025-08-14 12:15:11.490 info iobroker npm-rebuild: exit 1
-
@haselchen said in Wir empfehlen: Node.js 22.x:
Werden die Entwickler von euch informiert ihre Adapter anzupassen?
Oder läuft das so:
Ihr empfehlt -> wir merken das was nicht funktioniert -> erstellen ein Issue -> wenns gut läuft arbeitet der Entwickler es ab ?Ja
Schau bitte doch bitte mal bei den Adaptern rein.Beispiel: EUSEC
https://github.com/bropat/ioBroker.eusec/issues/443
https://github.com/bropat/ioBroker.eusec/issues/481Bezüglich der Testtiefe stell die Frage bitte an den jeweiligen Entwickler. Überraschend kommen node Updates für Entwickler jedenfalls nicht.
ALLE Adapter die in den Repositories gelistet sind bekommen rechtzeitig solche Erinnerungsissues.
Für Adapter die nur via Github installierbar sind gilt natürlich dass von solchen Adapter prinzipiell abgeraten wird und dass Benutzer solcher Adapter dies selbt abklären / nachfragen sollten.
-
@apollon77 sagte in Wir empfehlen: Node.js 22.x:
@bigmike71 Am besten bei solchen Effekten einmal "iob fix" machen
Ja, ging aber in dem Fall nicht (direkt), weil der user ja nicht in /home/iobroker reinkam.
Da hätte man den fixer direkt vom Server ziehen müssen. Und ich glaube, der fixer hätte auch gar nicht die Rechte an /home/iobroker gefixt. Kann ich aber die Tage mal ausprobieren. -
Hallo, ist es normal, dass ein Minor Update von Node.js nicht funktioniert?
Auch über apt passiert nichts.
pi@raspberrypi4-iobroker:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://security.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 http://archive.raspberrypi.org/debian bookworm InRelease Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: http://archive.raspberrypi.org/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. pi@raspberrypi4-iobroker:~ $ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-
-
pi@raspberrypi4-iobroker:~ $ apt policy nodejs nodejs: Installed: 22.15.0-1nodesource1 Candidate: 22.15.0-1nodesource1 Version table: *** 22.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 22.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.4.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 18.19.0+dfsg-6~deb12u2 500 500 http://deb.debian.org/debian bookworm/main armhf Packages 18.19.0+dfsg-6~deb12u1 500 500 http://security.debian.org/debian-security bookworm-security/main ar mhf Packages
-
Ja, 32Bit.
Steig da AB und installier da von GRUND AUF NEU ein 64Bit-System.