NEWS
node js Update - npm bad error EBADENGINE
-
@homoran ich auch :-D
ich hatte auch "1" und "l" ausprobiert ;-)
Nun lief schon mal der Befehl durch:pi@Pi4:~ $ cd /opt/iobroker && npm ls hap-nodejs iobroker.inst@3.0.0 /opt/iobroker └─┬ iobroker.yahka@1.0.9 └── hap-nodejs@1.1.0Ich habe anschließend einen reboot und update, upgrade ausgeführt.
noch sind wir nicht am Ziel, Fehler ist geblieben:
$ iobroker upgrade admin@7.7.2 --debug Update admin from @7.6.17 to @7.7.2 host.Pi4 Adapter "system.adapter.admin.2" is stopped. NPM version: 10.9.3 Installing iobroker.admin@7.7.2... (System call) npm error code EBADENGINE npm error engine Unsupported enginenpm error engine Not compatible with your version of node/npm: hap-nodejs@1.1.0npm error notsup Not compatible with your version of node/npm: hap-nodejs@1.1.0npm error notsup Required: {"node":"^18 || ^20"}npm error notsup Actual: {"npm":"10.9.3","node":"v22.19.0"} npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-09-12T16_24_24_746Z-debug-0.log Updating objects from io-package.json for adapter "admin" with version "7.6.17" upload [171] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png upload [150] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/assets/Components-BGVs6Dmn.js custom/assets/Components-BGVs6Dmn.js application/javascript upload [100] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/assets/index-B82Lauwj.js custom/assets/index-B82Lauwj.js application/javascript ...Du musst yahka auf Stand bringen...
yahka github: 1.1.5 latest: 1.1.5 for 65 days stable: 1.1.5 for 65 days -
@homoran ich auch :-D
ich hatte auch "1" und "l" ausprobiert ;-)
Nun lief schon mal der Befehl durch:pi@Pi4:~ $ cd /opt/iobroker && npm ls hap-nodejs iobroker.inst@3.0.0 /opt/iobroker └─┬ iobroker.yahka@1.0.9 └── hap-nodejs@1.1.0Ich habe anschließend einen reboot und update, upgrade ausgeführt.
noch sind wir nicht am Ziel, Fehler ist geblieben:
$ iobroker upgrade admin@7.7.2 --debug Update admin from @7.6.17 to @7.7.2 host.Pi4 Adapter "system.adapter.admin.2" is stopped. NPM version: 10.9.3 Installing iobroker.admin@7.7.2... (System call) npm error code EBADENGINE npm error engine Unsupported enginenpm error engine Not compatible with your version of node/npm: hap-nodejs@1.1.0npm error notsup Not compatible with your version of node/npm: hap-nodejs@1.1.0npm error notsup Required: {"node":"^18 || ^20"}npm error notsup Actual: {"npm":"10.9.3","node":"v22.19.0"} npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-09-12T16_24_24_746Z-debug-0.log Updating objects from io-package.json for adapter "admin" with version "7.6.17" upload [171] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png upload [150] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/assets/Components-BGVs6Dmn.js custom/assets/Components-BGVs6Dmn.js application/javascript upload [100] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/assets/index-B82Lauwj.js custom/assets/index-B82Lauwj.js application/javascript ... -
@lobomau
Wie Thomas schon schrieb:
https://github.com/jensweigele/ioBroker.yahka#115-2025-07-09yahka MUSS aktualisisert werden. Blockiert sonst alle Updates.
edit: ich soll da einen pam-devel installieren. Aber mit irgendeinem operanden:
pi@Pi4:~ $ cd /opt/iobroker pi@Pi4:/opt/iobroker $ sudo install pam-devel install: missing destination file operand after 'pam-devel' Try 'install --help' for more information. pi@Pi4:/opt/iobroker $edit2: ein Paket bekomme ich nicht upgegradet. Kann das einen Einfluss haben?
1 package can be upgraded. Run 'apt list --upgradable' to see it. pi@Pi4:/opt/iobroker $ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages have been kept back: raspi-utils-dt 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. pi@Pi4:/opt/iobroker $@mcm1957 ok, also zuerst yahka. Und davor erstmal ring? :-) Geht auch nicht. Unterer log dazu.
Also soll ich prüfen wo es hakt... keine Ahnung wo ich da schauen soll.
Ansonsten könnte ich auf node 20 zurück.$ iobroker upgrade yahka@1.1.5 --debug Update yahka from @1.0.9 to @1.1.5 NPM version: 10.9.3 Installing iobroker.yahka@1.1.5... (System call) npm error code EBADENGINE npm error engine Unsupported engine npm error notsup Not compatible with your version of node/npm: ring-client-api@13.1.0npm error notsup Required: {"node":"^18 || ^20"}npm error notsup Actual: {"npm":"10.9.3","node":"v22.19.0"} npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-09-13T07_01_41_101Z-debug-0.log Cannot install "pam-devel": WARNING: apt does not have a stable CLI interface. Use with caution in scripts.E: Unable to locate package pam-devel The following apt packages could not be installed: pam-devel. Please install them manually. Installed the following apt packages: pam-develThese apt packages were already installed: libavahi-compat-libdnssd-dev Updating objects from io-package.json for adapter "yahka" with version "1.0.9" upload [20] yahka.admin /opt/iobroker/node_modules/iobroker.yahka/admin/css/yahka.admin.css css/yahka.admin.css text/css upload [19] yahka.admin /opt/iobroker/node_modules/iobroker.yahka/admin/ext/metroui/css/metro-colors.min.css ext/metroui/css/metro-colors.min.css text/css upload [18] yahka.admin /opt/iobroker/node_modules/iobroker.yahka/admin/ext/metroui/css/metro-icons.min.css ext/metroui/css/metro-icons.min.css text/css upload [17] yahka.admin /opt/iobroker/node_modules/iobroker.yahka/admin/ext/metroui/css/metro-responsive.min.css ext/metroui/css/metro-responsive.min.css text/css$ iobroker upgrade ring@6.4.0 --debug Update ring from @6.3.0 to @6.4.0 Installing iobroker.ring@6.4.0... (System call) npm error code EBADENGINE npm error engine Unsupported enginenpm error engine Not compatible with your version of node/npm: hap-nodejs@1.1.0 npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-09-13T07_05_31_950Z-debug-0.log Updating objects from io-package.json for adapter "ring" with version "6.3.0" upload [25] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/admin.d.ts admin.d.ts video/mp2t upload [20] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/de.json i18n/de.json application/json upload [19] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/en.json i18n/en.json application/json upload [18] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/es.json i18n/es.json application/json upload [17] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/fr.json i18n/fr.json application/json upload [16] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/it.json i18n/it.json application/json upload [15] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/nl.json i18n/nl.json application/json upload [14] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/pl.json i18n/pl.json application/json upload [13] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/pt.json i18n/pt.json application/json -
edit: ich soll da einen pam-devel installieren. Aber mit irgendeinem operanden:
pi@Pi4:~ $ cd /opt/iobroker pi@Pi4:/opt/iobroker $ sudo install pam-devel install: missing destination file operand after 'pam-devel' Try 'install --help' for more information. pi@Pi4:/opt/iobroker $edit2: ein Paket bekomme ich nicht upgegradet. Kann das einen Einfluss haben?
1 package can be upgraded. Run 'apt list --upgradable' to see it. pi@Pi4:/opt/iobroker $ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages have been kept back: raspi-utils-dt 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. pi@Pi4:/opt/iobroker $@mcm1957 ok, also zuerst yahka. Und davor erstmal ring? :-) Geht auch nicht. Unterer log dazu.
Also soll ich prüfen wo es hakt... keine Ahnung wo ich da schauen soll.
Ansonsten könnte ich auf node 20 zurück.$ iobroker upgrade yahka@1.1.5 --debug Update yahka from @1.0.9 to @1.1.5 NPM version: 10.9.3 Installing iobroker.yahka@1.1.5... (System call) npm error code EBADENGINE npm error engine Unsupported engine npm error notsup Not compatible with your version of node/npm: ring-client-api@13.1.0npm error notsup Required: {"node":"^18 || ^20"}npm error notsup Actual: {"npm":"10.9.3","node":"v22.19.0"} npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-09-13T07_01_41_101Z-debug-0.log Cannot install "pam-devel": WARNING: apt does not have a stable CLI interface. Use with caution in scripts.E: Unable to locate package pam-devel The following apt packages could not be installed: pam-devel. Please install them manually. Installed the following apt packages: pam-develThese apt packages were already installed: libavahi-compat-libdnssd-dev Updating objects from io-package.json for adapter "yahka" with version "1.0.9" upload [20] yahka.admin /opt/iobroker/node_modules/iobroker.yahka/admin/css/yahka.admin.css css/yahka.admin.css text/css upload [19] yahka.admin /opt/iobroker/node_modules/iobroker.yahka/admin/ext/metroui/css/metro-colors.min.css ext/metroui/css/metro-colors.min.css text/css upload [18] yahka.admin /opt/iobroker/node_modules/iobroker.yahka/admin/ext/metroui/css/metro-icons.min.css ext/metroui/css/metro-icons.min.css text/css upload [17] yahka.admin /opt/iobroker/node_modules/iobroker.yahka/admin/ext/metroui/css/metro-responsive.min.css ext/metroui/css/metro-responsive.min.css text/css$ iobroker upgrade ring@6.4.0 --debug Update ring from @6.3.0 to @6.4.0 Installing iobroker.ring@6.4.0... (System call) npm error code EBADENGINE npm error engine Unsupported enginenpm error engine Not compatible with your version of node/npm: hap-nodejs@1.1.0 npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-09-13T07_05_31_950Z-debug-0.log Updating objects from io-package.json for adapter "ring" with version "6.3.0" upload [25] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/admin.d.ts admin.d.ts video/mp2t upload [20] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/de.json i18n/de.json application/json upload [19] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/en.json i18n/en.json application/json upload [18] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/es.json i18n/es.json application/json upload [17] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/fr.json i18n/fr.json application/json upload [16] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/it.json i18n/it.json application/json upload [15] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/nl.json i18n/nl.json application/json upload [14] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/pl.json i18n/pl.json application/json upload [13] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/pt.json i18n/pt.json application/jsonAls aktualisiser mal YAHKA.
Das blockiert bekanntermaßen alle anderen ioBroker Installationen da es ein nicht mehr supportetes npm Paket enthält. Dann mal weiter schaun.Zu pam-devel kann ich nichts sagen. Hab jetzt auf die Schnelle nicht gefunden wo du die Anweisung das zu installieren gelesen hast.
-
Als aktualisiser mal YAHKA.
Das blockiert bekanntermaßen alle anderen ioBroker Installationen da es ein nicht mehr supportetes npm Paket enthält. Dann mal weiter schaun.Zu pam-devel kann ich nichts sagen. Hab jetzt auf die Schnelle nicht gefunden wo du die Anweisung das zu installieren gelesen hast.
-
@mcm1957 yahka möchte auch nicht so recht. Klingt für mich bei dem log danach, dass yahka nicht kompatibel ist mit ring:
npm error notsup Not compatible with your version of node/npm: ring-client-api@13.1.0npmIch tippe hie eher auf ein Henne-Ei Problem.
veraltetes YAHKA blockiert alle Updates - incl. ring.
veraltetes RING blockiert alle Updates - incl. yahka.Ich seh zwei optionen:
- yahka oder ring complett deinstalieren (d.h. adapter nicht nur instanz deinstallieren).
ACHTUNG: Damit verlierst du die Einstellungen der Adapter und ggF. history Einstellungen die dran hängen - anschließen den anderen aktualisisern und yahka / ring neu installieren
ODER
- testweise node.js auf zurückrollen
- alle Adapter incl. yahka / ring aktualisieren
- node wieder auf Stand bringen
Aber wart mal ob @thomas-braun da noch ne bessere Idee hat.
- yahka oder ring complett deinstalieren (d.h. adapter nicht nur instanz deinstallieren).
-
sudo apt update sudo apt install libpam0g-dev sudo apt full-upgradepam-devel gibt es nicht für Debian.
Danach gib mal die vollständige Ausgabe voniob diagzum Besten.
-
sudo apt update sudo apt install libpam0g-dev sudo apt full-upgradepam-devel gibt es nicht für Debian.
Danach gib mal die vollständige Ausgabe voniob diagzum Besten.
Hier der iob diag log. Soviele ports auf die yahka horcht? Ist das normal? oh... log ist länger als 100.000 Zeichen... ich kürze das mit yahka ports
-
Hier der iob diag log. Soviele ports auf die yahka horcht? Ist das normal? oh... log ist länger als 100.000 Zeichen... ich kürze das mit yahka ports
Das Ding kannste gleich mal komplett NEUinstallieren.
In-Line-Upgrades von Raspberry 11 auf 12 funktionieren NICHT.Die neue Installation dann regelmäßiger aktuell halten...
Dabei dann einen user verwenden, der nicht pi oder iobroker heißt. Nimm deinen Vornamen oder den Forumsnick.
2GB RAM ist mittlerweile auch mehr als grenzwertig. 4GB dürfen es schon sein, bei deinen 59 iob-Instanzen eher auch noch mehr.
Wie schaut das auf dem anderen host
ioBrokeraus? Der trägt ja offenbar die Hauptlast.Zum iobroker:
Ich würde da wohl zurück auf nodejs@20 gehen, den ganzen Sums aktualisieren (auf beiden hosts!) und dann nodejs@22 wieder draufwerfen.iob stop iob nodejs-update 20 iob update iob upgrade all -y iob nodejs-updateWenn das konsistent ist ein Backup davon ziehen und das Betriebssystem neuinstallieren, backup drauf werfen, fertig.
-
Das Ding kannste gleich mal komplett NEUinstallieren.
In-Line-Upgrades von Raspberry 11 auf 12 funktionieren NICHT.Die neue Installation dann regelmäßiger aktuell halten...
Dabei dann einen user verwenden, der nicht pi oder iobroker heißt. Nimm deinen Vornamen oder den Forumsnick.
2GB RAM ist mittlerweile auch mehr als grenzwertig. 4GB dürfen es schon sein, bei deinen 59 iob-Instanzen eher auch noch mehr.
Wie schaut das auf dem anderen host
ioBrokeraus? Der trägt ja offenbar die Hauptlast.Zum iobroker:
Ich würde da wohl zurück auf nodejs@20 gehen, den ganzen Sums aktualisieren (auf beiden hosts!) und dann nodejs@22 wieder draufwerfen.iob stop iob nodejs-update 20 iob update iob upgrade all -y iob nodejs-updateWenn das konsistent ist ein Backup davon ziehen und das Betriebssystem neuinstallieren, backup drauf werfen, fertig.
@thomas-braun ja, ist nicht der Haupthost und es laufen hier nur 11 Adapter drauf.
Wie ich in der Vergangenheit vorgegangen bin bei so einer Neuinstallation: Ich habe die 11 Adapter auf den Haupthost genommen und den Pi4 komplett neu aufgesetzt, dann als slave eingehängt und die 11 Adapter wieder rüber gebracht. Spricht da etwas gegen? Ich meine die Historie blieb erhalten. -
@thomas-braun ja, ist nicht der Haupthost und es laufen hier nur 11 Adapter drauf.
Wie ich in der Vergangenheit vorgegangen bin bei so einer Neuinstallation: Ich habe die 11 Adapter auf den Haupthost genommen und den Pi4 komplett neu aufgesetzt, dann als slave eingehängt und die 11 Adapter wieder rüber gebracht. Spricht da etwas gegen? Ich meine die Historie blieb erhalten.@lobomau sagte in node js Update - npm bad error EBADENGINE:
Spricht da etwas gegen?
Kannste machen. Aber vergiss die updates nicht schon wieder!
-
@lobomau sagte in node js Update - npm bad error EBADENGINE:
Spricht da etwas gegen?
Kannste machen. Aber vergiss die updates nicht schon wieder!
@thomas-braun ich dachte debian 11 auf 12 wäre auf trixie, aber trixie ist ja 13 und noch nicht offiziell draußen für Pi4. Dann bin ich doch aktuell unterwegs mit debian 12?
pi@Pi4:~ $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm -
@thomas-braun ich dachte debian 11 auf 12 wäre auf trixie, aber trixie ist ja 13 und noch nicht offiziell draußen für Pi4. Dann bin ich doch aktuell unterwegs mit debian 12?
pi@Pi4:~ $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm@lobomau sagte in node js Update - npm bad error EBADENGINE:
Dann bin ich doch aktuell unterwegs mit debian 12?
Das ist aber mal irgendwann von 11 auf 12 gehoben worden und das funktioniert nicht für RaspberryOS (was ja nur auf einem Debian aufbaut). Und deswegen muss das jetzt mal neuinstalliert werden.
-
@thomas-braun Mit node20 sind nun alle Adapter auf aktuellem Stand. Danke soweit. Danach mache ich weiter mit dem Rest.