NEWS
[gelöst]Adapter lassen sich nicht updaten nach Nodejs 16
-
Hallo zusammen,
nach update auf Node 16.15.1 und NPM auf 8.11.0 lassen sich die Adapter nicht mehr updaten, weder über Konsole noch über GUI...
Update hab ich nach diesem Artikel gemacht, ging auch fehlerfrei....how-to-node-js-iobroker-richtig-updaten-2021-22-edition
Aufgefallen ist es mir beim Admin Adapter.
Repository hatte ich auf Beta
Nachdem es nicht upzudaten ging hab ich das Repo auf Stable gestellt, nochmal probiert, ging nichts, jetzt steht es wieder auf Beta....
System ist aktuell, läuft auch ohne Probleme, aber no more update......
Kann mir jemand helfen, steh auf dem Schlauch...Ausgabe Systemstatus :
/usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.15.1 v16.15.1 8.11.0 nodejs: Installed: 16.15.1-deb-1nodesource1 Candidate: 16.15.1-deb-1nodesource1 Version table: *** 16.15.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main amd64 Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://deb.debian.org/debian buster/main amd64 Packages 500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
Danke Euch
Grüße
Sunny -
wie ist der stand , zeige mal:
iobroker update -i whoami
und was für eine Fehler hast du beim updaten
mache hinter dem Befehl mal ein --debug dazu
-
@glasfaser sagte in Adapter lassen sich nicht updaten nach Nodejs 16 update:
iobroker update -i
Hallo Glasfaser,
danke für Deine Hilfe, es sind keine Fehler im Log.....debian@IOBROKER-MASTER:/opt/iobroker$ iobroker update -i Used repository: beta Adapter "admin" : 6.1.10 , installed 5.3.8 [Updatable] Adapter "alarm" : 3.1.1 , installed 3.1.0 [Updatable] Adapter "alexa2" : 3.13.0 , installed 3.12.0 [Updatable] Adapter "asterisk" : 1.0.6 , installed 1.0.6 Adapter "backitup" : 2.4.9 , installed 2.4.9 Adapter "birthdays" : 2.1.0 , installed 2.0.0 [Updatable] Adapter "daswetter" : 3.1.3 , installed 3.1.2 [Updatable] Adapter "devices" : 1.0.12 , installed 1.0.12 Adapter "discovery" : 3.0.5 , installed 3.0.3 [Updatable] Adapter "doorio" : 2.1.4 , installed 2.1.4 Adapter "dwd" : 2.8.3 , installed 2.8.3 Adapter "email" : 1.1.3 , installed 1.1.3 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "fhem" : 1.6.3 , installed 1.6.3 Adapter "flot" : 1.11.0 , installed 1.11.0 Adapter "fullybrowser" : 2.1.2 , installed 2.1.2 Adapter "ham" : 5.0.1 , installed 4.0.2 [Updatable] Adapter "heatingcontrol": 2.9.1 , installed 2.8.6 [Updatable] Adapter "history" : 2.1.7 , installed 1.11.1 [Updatable] Adapter "hm-rega" : 3.0.40 , installed 3.0.40 Adapter "hm-rpc" : 1.15.12 , installed 1.15.12 Adapter "hue" : 3.7.0 , installed 3.7.0 Adapter "hue-extended" : 2.0.0 , installed 2.0.0 Adapter "ical" : 1.13.1 , installed 1.12.1 [Updatable] Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-png": 1.1.0 , installed 1.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 3.1.7 , installed 2.6.3 [Updatable] Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.11.8 , installed 1.11.4 [Updatable] Adapter "javascript" : 5.7.0 , installed 5.7.0 Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "kodi" : 2.0.8 , installed 2.0.8 Adapter "linkeddevices": 1.5.5 , installed 1.4.3 [Updatable] Adapter "linux-control": 1.1.5 , installed 1.1.3 [Updatable] Adapter "mihome-vacuum": 3.5.0 , installed 3.4.2 [Updatable] Adapter "mobile" : 1.0.1 , installed 1.0.1 Adapter "mqtt" : 4.0.7 , installed 3.0.6 [Updatable] Adapter "mytime" : 0.7.12 , installed 0.7.7 [Updatable] Adapter "netatmo-crawler": 0.8.1 , installed 0.8.1 Adapter "node-red" : 3.3.1 , installed 3.3.1 Adapter "nuki" : 1.6.0 , installed 1.6.0 Adapter "nuki-extended": 2.6.5 , installed 2.4.0 [Updatable] Adapter "onvif" : 0.4.4 , installed 0.4.4 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "pushover" : 2.1.0 , installed 2.1.0 Adapter "robonect" : 0.1.4 , installed 0.1.4 Adapter "sayit" : 1.12.6 , installed 1.12.3 [Updatable] Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "scheduler" : 0.1.2 , installed 0.1.2 Adapter "shelly" : 5.3.2 , installed 5.3.2 Adapter "shuttercontrol": 1.4.14 , installed 1.4.12 [Updatable] Adapter "simple-api" : 2.7.0 , installed 2.7.0 Adapter "smartcontrol" : 1.2.1 , installed 1.2.1 Adapter "socketio" : 6.1.7 , installed 4.2.0 [Updatable] Adapter "sonoff" : 2.5.1 , installed 2.5.1 Adapter "sourceanalytix": 0.4.14 , installed 0.4.12 [Updatable] Adapter "sprinklecontrol": 0.2.11 , installed 0.2.9 [Updatable] Adapter "sql" : 2.1.7 , installed 1.16.2 [Updatable] Adapter "synology" : 2.1.9 , installed 2.1.7 [Updatable] Adapter "tahoma" : 0.7.2 , installed 0.7.1 [Updatable] Adapter "tankerkoenig" : 2.1.1 , installed 2.1.1 Adapter "telegram" : 1.14.1 , installed 1.13.0 [Updatable] Adapter "text2command" : 2.2.2 , installed 2.2.1 [Updatable] Adapter "trashschedule": 2.0.3 , installed 2.0.2 [Updatable] Adapter "tuya" : 3.6.15 , installed 3.6.15 Adapter "unifi" : 0.6.1 , installed 0.5.10 [Updatable] Adapter "upnp" : 1.0.21 , installed 1.0.21 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-canvas-gauges": 0.1.5, installed 0.1.5 Adapter "vis-colorpicker": 1.2.0 , installed 1.2.0 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-google-fonts": 1.0.3 , installed 1.0.3 Adapter "vis-hqwidgets": 1.2.0 , installed 1.2.0 Adapter "vis-icontwo" : 0.87.0 , installed 0.87.0 Adapter "vis-inventwo" : 3.3.3 , installed 3.3.1 [Updatable] Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 , installed 1.0.2 Adapter "vis-material-advanced": 1.7.2, installed 1.7.2 Adapter "vis-materialdesign": 0.5.9, installed 0.5.9 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-timeandweather": 1.1.7, installed 1.1.7 Adapter "vis-weather" : 2.5.5 , installed 2.5.5 Adapter "volumio" : 0.1.2 , installed 0.1.3 Adapter "vw-connect" : 0.0.51 , installed 0.0.50 [Updatable] Adapter "weatherunderground": 3.4.2, installed 3.4.2 Adapter "web" : 5.2.3 , installed 4.3.0 [Updatable] Adapter "whatsapp-cmb" : 0.2.2 , installed 0.2.2 Adapter "ws" : 2.1.2 , installed 1.3.0 [Updatable] Adapter "zigbee" : 1.7.5 , installed 1.7.5
und whoami
debian
Als test mal nur beim admin Adapter mit debug
debian@IOBROKER-MASTER:/opt/iobroker$ iobroker upgrade admin --debug This upgrade of "admin" will at least introduce the following changes: ========================================================================== -> 6.1.10: Fixed issue with map -> 6.1.9: Some GUI fixes done -> 6.1.8: Corrected the host update instructions -> 6.1.7: Some GUI fixes done -> 6.1.6: Some GUI fixes done -> 6.1.4: Added settings to define loading screen -> 6.1.1: Corrected russian translations Preparations for iobroker cloud ========================================================================== BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING C HANGES! Would you like to upgrade admin from @5.3.8 to @6.1.10 now? [(y)es, (n)o]: y Update admin from @5.3.8 to @6.1.10 host.IOBROKER-MASTER Adapter "system.adapter.admin.0" is stopped. NPM version: 8.11.0 Installing iobroker.admin@6.1.10... (System call) npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry . npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN tarball tarball data for iobroker.vis-timeandweather@https://github.com/ioBroker/ioBroker.vis-timeandweather/tarball/master (sha512-MFTFj4VbI3jJ1c0ZOZPqcUmH4TFAvBVEPdwLFi5CaURHTJBt8zEVSWs8afEULoczOi4I77Z1Q7wcRUzdTUUSuA==) seems to be corrupted. Trying again. npm ERR! code EINTEGRITY npm ERR! sha512-MFTFj4VbI3jJ1c0ZOZPqcUmH4TFAvBVEPdwLFi5CaURHTJBt8zEVSWs8afEULoczOi4I77Z1Q7wcRUzdTUUSuA== integrity checksum failed when using sha512: wanted sha512-MFTFj4VbI3jJ1c0ZOZPqcUmH4TFAvBVEPdwLFi5CaURHTJBt8zEVSWs8afEULoczOi4I77Z1Q7wcRUzdTUUSuA== but got sha512-+5dic+/07/wFrGjUJ1GU/99TRz7gjcSrOVMfpmlDkyqWmmI+awngYh2vRLJG7LwU4BUrnrk6PjrmF7g77I7C+Q==. (958510 bytes) npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-07-05T05_50_46_901Z-debug-0.log upload [14] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png upload [13] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [12] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [11] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [10] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [9] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [8] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [7] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [6] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [5] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json jsonConfig.json application/json upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript host.IOBROKER-MASTER Adapter "system.adapter.admin.0" is started debian@IOBROKER-MASTER:/opt/iobroker$ debian@IOBROKER-MASTER:/opt/iobroker$ debian@IOBROKER-MASTER:/opt/iobroker$ iobroker upgrade admin --debug -bash: debian@IOBROKER-MASTER:/opt/iobroker$: No such file or directory debian@IOBROKER-MASTER:/opt/iobroker$ debian@IOBROKER-MASTER:/opt/iobroker$ This upgrade of "admin" will at least introduce the following changes: -bash: This: command not found debian@IOBROKER-MASTER:/opt/iobroker$ ========================================================================== -bash: ==========================================================================: command not found debian@IOBROKER-MASTER:/opt/iobroker$ -> 6.1.10: -bash: -: command not found debian@IOBROKER-MASTER:/opt/iobroker$ Fixed issue with map -bash: Fixed: command not found debian@IOBROKER-MASTER:/opt/iobroker$ debian@IOBROKER-MASTER:/opt/iobroker$ -> 6.1.9: -bash: -: command not found debian@IOBROKER-MASTER:/opt/iobroker$ Some GUI fixes done -bash: Some: command not found debian@IOBROKER-MASTER:/opt/iobroker$ debian@IOBROKER-MASTER:/opt/iobroker$ -> 6.1.8: -bash: -: command not found debian@IOBROKER-MASTER:/opt/iobroker$ Corrected the host update instructions -bash: Corrected: command not found debian@IOBROKER-MASTER:/opt/iobroker$ debian@IOBROKER-MASTER:/opt/iobroker$ -> 6.1.7: -bash: -: command not found debian@IOBROKER-MASTER:/opt/iobroker$ Some GUI fixes done -bash: Some: command not found debian@IOBROKER-MASTER:/opt/iobroker$ debian@IOBROKER-MASTER:/opt/iobroker$ -> 6.1.6: -bash: -: command not found debian@IOBROKER-MASTER:/opt/iobroker$ Some GUI fixes done -bash: Some: command not found debian@IOBROKER-MASTER:/opt/iobroker$ debian@IOBROKER-MASTER:/opt/iobroker$ -> 6.1.4: -bash: -: command not found debian@IOBROKER-MASTER:/opt/iobroker$ Added settings to define loading screen -bash: Added: command not found debian@IOBROKER-MASTER:/opt/iobroker$ debian@IOBROKER-MASTER:/opt/iobroker$ -> 6.1.1: -bash: -: command not found debian@IOBROKER-MASTER:/opt/iobroker$ Corrected russian translations -bash: Corrected: command not found debian@IOBROKER-MASTER:/opt/iobroker$ Preparations for iobroker cloud -bash: Preparations: command not found debian@IOBROKER-MASTER:/opt/iobroker$ ========================================================================== -bash: ==========================================================================: command not found debian@IOBROKER-MASTER:/opt/iobroker$ debian@IOBROKER-MASTER:/opt/iobroker$ BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING C HANGES! -bash: BE: command not found debian@IOBROKER-MASTER:/opt/iobroker$ Would you like to upgrade admin from @5.3.8 to @6.1.10 now? [(y)es, (n)o]: y -bash: syntax error near unexpected token `(' debian@IOBROKER-MASTER:/opt/iobroker$ Update admin from @5.3.8 to @6.1.10 -bash: Update: command not found debian@IOBROKER-MASTER:/opt/iobroker$ host.IOBROKER-MASTER Adapter "system.adapter.admin.0" is stopped. -bash: host.IOBROKER-MASTER: command not found debian@IOBROKER-MASTER:/opt/iobroker$ NPM version: 8.11.0 -bash: NPM: command not found debian@IOBROKER-MASTER:/opt/iobroker$ Installing iobroker.admin@6.1.10... (System call) -bash: syntax error near unexpected token `(' debian@IOBROKER-MASTER:/opt/iobroker$ npm WARN old lockfile Unknown command: "WARN" To see a list of supported npm commands, run: npm help debian@IOBROKER-MASTER:/opt/iobroker$ npm WARN old lockfile The package-lock.json file was created with an old version of npm, Unknown command: "WARN" To see a list of supported npm commands, run: npm help debian@IOBROKER-MASTER:/opt/iobroker$ npm WARN old lockfile so supplemental metadata must be fetched from the registry . Unknown command: "WARN" To see a list of supported npm commands, run: npm help debian@IOBROKER-MASTER:/opt/iobroker$ npm WARN old lockfile Unknown command: "WARN" To see a list of supported npm commands, run: npm help debian@IOBROKER-MASTER:/opt/iobroker$ npm WARN old lockfile This is a one-time fix-up, please be patient... Unknown command: "WARN" To see a list of supported npm commands, run: npm help debian@IOBROKER-MASTER:/opt/iobroker$ npm WARN old lockfile Unknown command: "WARN" To see a list of supported npm commands, run: npm help
Oh Oh......hoffe das kann man fixen......
-
Nochmal als sauberer Output :
debian@IOBROKER-MASTER:/opt/iobroker$ iobroker upgrade admin --debug This upgrade of "admin" will at least introduce the following changes: ========================================================================== -> 6.1.10: Fixed issue with map -> 6.1.9: Some GUI fixes done -> 6.1.8: Corrected the host update instructions -> 6.1.7: Some GUI fixes done -> 6.1.6: Some GUI fixes done -> 6.1.4: Added settings to define loading screen -> 6.1.1: Corrected russian translations Preparations for iobroker cloud ========================================================================== BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES! Would you like to upgrade admin from @5.3.8 to @6.1.10 now? [(y)es, (n)o]: y Update admin from @5.3.8 to @6.1.10 host.IOBROKER-MASTER Adapter "system.adapter.admin.0" is stopped. NPM version: 8.11.0 Installing iobroker.admin@6.1.10... (System call) npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN tarball tarball data for iobroker.vis-timeandweather@https://github.com/ioBroker/ioBroker.vis-timeandweather/tarball/master (sha512-MFTFj4VbI3jJ1c0ZOZPqcUmH4TFAvBVEPdwLFi5CaURHTJBt8zEVSWs8afEULoczOi4I77Z1Q7wcRUzdTUUSuA==) seems to be corrupted. Trying again. npm WARN tarball tarball data for iobroker.vis-timeandweather@https://github.com/ioBroker/ioBroker.vis-timeandweather/tarball/master (sha512-MFTFj4VbI3jJ1c0ZOZPqcUmH4TFAvBVEPdwLFi5CaURHTJBt8zEVSWs8afEULoczOi4I77Z1Q7wcRUzdTUUSuA==) seems to be corrupted. Trying again. npm ERR! code EINTEGRITY npm ERR! sha512-MFTFj4VbI3jJ1c0ZOZPqcUmH4TFAvBVEPdwLFi5CaURHTJBt8zEVSWs8afEULoczOi4I77Z1Q7wcRUzdTUUSuA== integrity checksum failed when using sha512: wanted sha512-MFTFj4VbI3jJ1c0ZOZPqcUmH4TFAvBVEPdwLFi5CaURHTJBt8zEVSWs8afEULoczOi4I77Z1Q7wcRUzdTUUSuA== but got sha512-+5dic+/07/wFrGjUJ1GU/99TRz7gjcSrOVMfpmlDkyqWmmI+awngYh2vRLJG7LwU4BUrnrk6PjrmF7g77I7C+Q==. (958510 bytes) npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-07-05T05_54_34_986Z-debug-0.log upload [14] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png upload [13] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [12] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [11] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [10] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [9] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [8] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [7] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [6] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [5] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json jsonConfig.json application/json upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript host.IOBROKER-MASTER Adapter "system.adapter.admin.0" is started
-
iobroker stop sudo -u iobroker rm /opt/iobroker/package-lock.json iobroker start
-
@sunny9999 sagte in Adapter lassen sich nicht updaten nach Nodejs 16 update:
Used repository: beta
Stelle den wieder um auf STABLE und zeige dann welcher Adapter nicht geht .
-
@glasfaser
TOP TOP !
Hat alles funktioniert, alle Adapter updates liefen fehlerfrei durch.......
VIELEN DANK !
Grüße
Sunny -
@sunny9999 sagte in Adapter lassen sich nicht updaten nach Nodejs 16 update:
VIELEN DANK !
Dann setzte den Thread auf [gelöst]