NEWS
iobroker exit 25 bei Adapter-Update
-
Das sieht für mein Verständnis eigentlich gut aus, vielleicht sieht da @Thomas-Braun eine Ursache.
-
@meister-mopper ich würd sagen bei npm sieht es krumm aus.
-
iob fix
hast du schon versucht? -
ja, inkl. stop und wieder start.
Da wurden keine Fehler gefunden.Fehler bleibt da.
irgendwas mitnode-waf: not found
aber wo kommt das her?Ich habe heute die node-js Version per apt aktualisiert und das awtrix 3 addon von @haus-automatisierung aktualisiert.
-
@siggi0904
Jag mal das iob node update script drüber:https://forum.iobroker.net/topic/69067/neuer-befehl-iob-nodejs-update
Schlechter kanns ja kaum werden. BACKUP HAST DU?
-
-
@thomas-braun ja, hab ich auch gerade gesehen. Aber wie fixe ich das?
Ich habe gerade den
iob nodejs-update 18
laufen lassen.
Da gab es aber auch keine Fehlermeldungen. Anschließend VM neu gestartet.Dann Versuch eines Updates eines Addons, aber Fehler bleibt.
Log vom nodejs-update:ioBroker nodejs updater 2023-10-13 You requested to intall latest version from nodejs v18 tree. Your current setup is: /usr/bin/nodejs v18.20.0 /usr/bin/node v18.20.0 /usr/bin/npm 10.5.0 /usr/bin/npx 10.5.0 /usr/bin/corepack 0.25.2 We found these nodejs versions available for installation: nodejs: Installed: 18.20.0-1nodesource1 Candidate: 18.20.0-1nodesource1 Version table: *** 18.20.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 18.19.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.19.0+dfsg-6~deb12u1 500 500 https://deb.debian.org/debian-security bookworm-security/main amd64 Packages 18.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages 18.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages Nothing to do - Your installation is using the correct paths. You are running nodejs v18.20.0. Do you want to install latest version from nodejs v.18 tree? Press <y> to continue or any other key to quit Trying to update your installation now. Please be patient. Virtualization: kvm Waiting for ioBroker to shut down - Give me a minute... ############################################################ *** These repos are active on your system: Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian bookworm-updates InRelease Hit:3 http://phoscon.de/apt/deconz bookworm InRelease Hit:4 https://deb.debian.org/debian-security 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_18.x nodistro main Package: nodejs Pin: origin deb.nodesource.com Pin-Priority: 1001 *** These repos are active after the adjustments: Hit:1 http://phoscon.de/apt/deconz bookworm InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.debian.org/debian-security bookworm-security InRelease Get:5 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB] Get:6 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [7731 B] Fetched 19.9 kB in 1s (20.4 kB/s) Reading package lists... Done Installing the recommended nodejs version now! Installing the recommended nodejs version! *** You need to manually restart your container/virtual machine now! *** We tried our best to update or fix your nodejs. Please run 'iob diag' again to verify. mario@iobroker:/opt/iobroker$
-
cd /opt/iobroker npm ls -a | grep xmlbuilder
-
login as: mario mario@192.168.178.64's password: Linux iobroker 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Mar 29 20:42:04 2024 from 192.168.178.41 mario@iobroker:~$ cd /opt/iobroker mario@iobroker:/opt/iobroker$ npm ls -a | grep xmlbuilder [sudo] Passwort für mario: npm ERR! code ELSPROBLEMS npm ERR! extraneous: @types/caseless@0.12.5 /opt/iobroker/node_modules/@types/caseless npm ERR! extraneous: @types/request@2.48.12 /opt/iobroker/node_modules/@types/request npm ERR! extraneous: @types/tough-cookie@4.0.5 /opt/iobroker/node_modules/@types/tough-cookie npm ERR! extraneous: coffeescript@2.7.0 /opt/iobroker/node_modules/coffeescript npm ERR! extraneous: jsonata@2.0.4 /opt/iobroker/node_modules/jsonata npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors npm ERR! extraneous: typescript@5.3.3 /opt/iobroker/node_modules/typescript npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan npm ERR! extraneous: form-data@2.5.1 /opt/iobroker/node_modules/@types/request/node_modules/form-data npm ERR! extraneous: debug@4.3.4 /opt/iobroker/node_modules/virtual-tsc/node_modules/debug npm ERR! extraneous: ms@2.1.2 /opt/iobroker/node_modules/virtual-tsc/node_modules/ms npm ERR! invalid: xmlbuilder@0.4.2 /opt/iobroker/node_modules/xmlbuilder │ └── xmlbuilder@11.0.1 │ └── xmlbuilder@0.4.2 invalid: "https://github.com/hobbyquaker/xmlbuilder-js/tarball/29fe5030dc6852007dc8d1bfd5109d75f8da58d5" from node_modules/homematic-xmlrpc │ └── xmlbuilder@15.1.1 │ └── xmlbuilder@11.0.1 npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-03-29T20_04_01_416Z-debug-0.log mario@iobroker:/opt/iobroker$
-
cd /opt/iobroker npm ls xmlbuilder
-
mario@iobroker:/opt/iobroker$ npm ls xmlbuilder npm ERR! code ELSPROBLEMS npm ERR! invalid: xmlbuilder@0.4.2 /opt/iobroker/node_modules/xmlbuilder iobroker.inst@2.0.3 /opt/iobroker ├─┬ iobroker.hm-rega@4.0.0 │ └─┬ xml2js@0.6.2 │ └── xmlbuilder@11.0.1 ├─┬ iobroker.hm-rpc@1.16.0 │ └─┬ homematic-xmlrpc@1.0.2 │ └── xmlbuilder@0.4.2 invalid: "https://github.com/hobbyquaker/xmlbuilder-js/tarball/29fe5030dc6852007dc8d1bfd5109d75f8da58d5" from node_modules/homematic-xmlrpc ├─┬ iobroker.shelly@6.8.0 │ └── xmlbuilder@15.1.1 └─┬ iobroker.tr-064@4.2.18 └─┬ xml2js@0.4.23 └── xmlbuilder@11.0.1 npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-03-29T20_12_39_266Z-debug-0.log mario@iobroker:/opt/iobroker$
-
@siggi0904 sagte in iobroker exit 25 bei Adapter-Update:
iobroker.hm-rpc
Installier den nochmal. Ich vermute die Abhängigkeit ist da falsch.
-
@thomas-braun Hallo, wie? ggf. mit Debug, dass man sieht was da passiert.
Wundert mich aber, weil der schon ewig läuft.
-
Du hast da irgendein steinaltes Modul im Setup, das mit node-waf gebaut werden soll. Nur ist das seit mehreren Jahren obsolet und durch node-gyp ersetzt worden. Man müsste mal irgendwie schauen was das sein könnte. Vermutlich der xmlbuilder@0.4.2, der ist ja auch komplett veraltet und nicht mehr verlinkt.
-
iob update iob upgrade hm-rpc@1.16.0 iob upgrade all
-
@thomas-braun oh, wie kommt das da hin?
Wie kann ich
iobroker.hm-rpc
nochmal installieren? -
@thomas-braun sagte in iobroker exit 25 bei Adapter-Update:
iob upgrade hm-rpc@1.16.0
hm, misst. Bleibt auch so erhalten, der Fehler.
mario@iobroker:/opt/iobroker$ iob update Used repository: stable Adapter "admin" : 6.13.16 , installed 6.13.16 Adapter "alarm" : 3.6.0 , installed 3.6.0 Adapter "alexa-timer-vis": 0.3.0 , installed 0.3.0 Adapter "alexa2" : 3.26.4 , installed 3.26.4 Adapter "awtrix-light" : 0.16.0 , installed 0.16.0 Adapter "backitup" : 2.10.11 , installed 2.10.11 Adapter "cloud" : 5.0.1 , installed 4.4.1 [Updatable] Adapter "daswetter" : 3.1.13 , installed 3.1.13 Adapter "deconz" : 1.4.0 , installed 1.4.0 Adapter "discovery" : 4.4.0 , installed 4.4.0 Adapter "dwd" : 2.8.5 , installed 2.8.5 Adapter "email" : 1.2.2 , installed 1.2.2 Adapter "feiertage" : 1.1.4 , installed 1.1.4 Adapter "flot" : 1.12.0 , installed 1.12.0 Adapter "heatingcontrol": 2.12.5 , installed 2.12.5 Adapter "hm-rega" : 4.0.0 , installed 4.0.0 Adapter "hm-rpc" : 1.16.0 , installed 1.16.0 Adapter "ical" : 1.14.3 , installed 1.13.3 [Updatable] Adapter "icons-mfd-svg": 1.2.0 , installed 1.2.0 Adapter "iot" : 2.0.11 , installed 2.0.11 Adapter "javascript" : 7.8.0 , installed 7.8.0 Controller "js-controller": 5.0.19 , installed 5.0.19 Adapter "mihome-vacuum": 4.1.1 , installed 4.1.1 Adapter "openweathermap": 1.0.4 , installed 1.0.4 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "shelly" : 6.8.0 , installed 6.8.0 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 6.6.1 , installed 6.6.0 [Updatable] Adapter "sonoff" : 3.0.3 , installed 3.0.3 Adapter "sql" : 2.2.0 , installed 2.2.0 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "tr-064" : 4.2.18 , installed 4.2.18 Adapter "trashschedule": 3.2.0 , installed 3.2.0 Adapter "vis" : 1.5.4 , installed 1.5.4 Adapter "web" : 6.2.3 , installed 6.2.3 Adapter "ws" : 2.5.11 , installed 2.5.10 [Updatable] mario@iobroker:/opt/iobroker$ iob upgrade hm-rpc@1.16.0 Would you like to reinstall version 1.16.0 of hm-rpc now? [(y)es, (n)o]: y Update hm-rpc from @1.16.0 to @1.16.0 NPM version: 10.5.0 Installing iobroker.hm-rpc@1.16.0... (System call) npm ERR! code 127 npm ERR! path /opt/iobroker/node_modules/zlib npm ERR! command failed npm ERR! command sh -c node-waf clean || true; node-waf configure build npm ERR! sh: 1: node-waf: not found npm ERR! sh: 1: node-waf: not found npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-03-29T20_31_44_159Z-debug-0.log host.iobroker Cannot install iobroker.hm-rpc@1.16.0: 127 mario@iobroker:/opt/iobroker$
-
-
mario@iobroker:/opt/iobroker$ npm ls zlib iobroker.inst@2.0.3 /opt/iobroker └─┬ iobroker.mihome-vacuum@4.1.1 └── zlib@1.0.5 mario@iobroker:/opt/iobroker$
-
npm prune npm ls