NEWS
Update von admin 6.2.20 -> 6.2.22 Error code 45
-
Das Tool ist ja auch nix gescheites...
-
Beim letzten Update hatte ich das gleiche Problem, allerdings war es da ein größerer Sprung von 5.x.
Ich habe das Update jetzt erfolgreich mit folgenden Schritten ausführen können.
pi@raspberrypi:~ $ iobroker stop pi@raspberrypi:~ $ sudo npm uninstall iobroker.admin --error --prefix "/opt/iobroker" npm WARN crc@4.1.1 requires a peer of buffer@>=6.0.3 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.8 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) removed 47 packages in 16.717s 54 packages are looking for funding run `npm fund` for details pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo npm install iobroker.admin --error --prefix "/opt/iobroker" npm WARN crc@4.1.1 requires a peer of buffer@>=6.0.3 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.8 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.admin@6.2.22 added 23 packages from 24 contributors in 33.149s 56 packages are looking for funding run `npm fund` for details pi@raspberrypi:~ $
pi@raspberrypi:~ $ iobroker upload admin upload [51] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png upload [50] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/customComponents.js custom/customComponents.js application/javascript upload [40] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/i18n/ru.json custom/i18n/ru.json application/json upload [30] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/node_modules_prop-types_index_js.512eddf9.chunk.js custom/static/js/node_modules_prop-types_index_js.512eddf9.chunk.js application/javascript upload [20] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js application/javascript upload [19] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map application/json upload [18] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js application/javascript upload [17] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map application/json upload [16] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js application/javascript upload [15] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js.map custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js.map application/json upload [14] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js application/javascript upload [13] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js.map custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js.map application/json upload [12] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js application/javascript upload [11] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js.map custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js.map application/json upload [10] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [9] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [8] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [7] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [6] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [5] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json5 jsonConfig.json5 application/json5 Update "system.adapter.admin.0" pi@raspberrypi:~ $ iob start
Aber ich befürchte, dass der Fehler bestand hat und beim nächsten Update die gleiche Meldung kommen wird.
-
@michael-niestegge sagte in Update von admin 6.2.20 -> 6.2.22 Error code 45:
sudo npm install iobroker.admin --error --prefix "/opt/iobroker"
Ist rechtemäßig einfach falsch. Nie sudo mit iobroker oder npm zusammen verwenden.
fix das:
iobroker stop iobroker fix iobroker start
-
Wie vermutet habe ich das Problem jetzt beim Update von admin 6.2.22 auf 6.3.4 auch wieder.
Ausgeführt habe ich
iobroker stop iobroker fix iobroker start iobroker update iobroker upgrade
Folgende Meldung
Would you like to upgrade admin from @6.2.22 to @6.3.4 now? [(y)es, (n)o]: y Update admin from @6.2.22 to @6.3.4 Cannot upgrade: Cannot read property 'enabled' of undefined
Wie bekomme ich das in den Griff? Ich wäre für Lösungsansätze sehr dankbar.
-
Ist da immer noch dieses Scheiß-Tool im Spiel?
-
@thomas-braun
Das war nie im Spiel. -
-
======================= SUMMARY ======================= v.2022-12-13 Operatingsystem: Raspbian GNU/Linux 10 (buster) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Pending OS-Updates: 92 Nodejs-Installation: /usr/bin/nodejs v14.20.0 /usr/bin/node v14.20.0 /usr/bin/npm 6.14.17 ioBroker Core: js-controller 4.0.23 admin 6.2.22 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Pending iob updates: 1 Active repo(s): stable Objects: 9321 States: 3276 Size of iob-Database: 9.3M /opt/iobroker/iobroker-data/objects.jsonl 7.0M /opt/iobroker/iobroker-data/objects.json.migrated 7.0M /opt/iobroker/iobroker-data/objects.json.bak.migrated 4.0K /opt/iobroker/iobroker-data/objects.json.old 2.7M /opt/iobroker/iobroker-data/states.jsonl 560K /opt/iobroker/iobroker-data/states.json.migrated 560K /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken ====================== END OF SUMMARY ==================
-
Zieh dein nodejs auf Version 16 hoch.
-
pi@raspberrypi:/opt/iobroker $ node -v v16.19.0 pi@raspberrypi:/opt/iobroker $ npm -v 8.19.3
pi@raspberrypi:/opt/iobroker $ iob upgrade This upgrade of "admin" will introduce the following changes: ========================================================================== -> 6.3.4: Corrected crashes in object browser -> 6.3.3: Corrected icons in object browser -> 6.3.2: Added `useNative` option to `sendTo` JSON Config component Added `checkLicense` and `uuid` components to JSON Config Corrected the news handler -> 6.2.23: Prepare for future js-controller versions Corrected deletion of objects ========================================================================== Would you like to upgrade admin from @6.2.22 to @6.3.4 now? [(y)es, (n)o]: y Update admin from @6.2.22 to @6.3.4 Cannot upgrade: Cannot read properties of undefined (reading 'enabled')
-
Noch jemand eine Idee? Was sagt der Fehler überhaupt aus? Bringt es etwas, den admin komplett zu entfernen und neu zu installieren?
-
Mach das Upgrade mal mit --debug Option.
-
@michael-niestegge sagte in Update von admin 6.2.20 -> 6.2.22 Error code 45:
Bringt es etwas, den admin komplett zu entfernen und neu zu installieren?
Wir sind hier nicht unter Windows...
Da mag das funktionieren, unter Linux i.d.R. nicht. -
@thomas-braun
Keine zusätzlichen Ausgaben...pi@raspberrypi:~ $ iob upgrade --debug This upgrade of "admin" will introduce the following changes: ========================================================================== -> 6.3.4: Corrected crashes in object browser -> 6.3.3: Corrected icons in object browser -> 6.3.2: Added `useNative` option to `sendTo` JSON Config component Added `checkLicense` and `uuid` components to JSON Config Corrected the news handler -> 6.2.23: Prepare for future js-controller versions Corrected deletion of objects ========================================================================== Would you like to upgrade admin from @6.2.22 to @6.3.4 now? [(y)es, (n)o]: y Update admin from @6.2.22 to @6.3.4 Cannot upgrade: Cannot read properties of undefined (reading 'enabled') pi@raspberrypi:~ $
-
Und bring dein Betriebssystem in Reich der Lebenden.
'Buster' hat das End Of Life erreicht. -
@thomas-braun said in Update von admin 6.2.20 -> 6.2.22 Error code 45:
Und bring dein Betriebssystem in Reich der Lebenden.
'Buster' hat das End Of Life erreicht.Ich verstehe die Aussage leider nicht?
-
https://www.debian.org/News/2022/20220910
Nach dieser Zwischenveröffentlichung werden Debians Security- und Release-Teams die Arbeit an Aktualisierungen für Debian 10 einstellen.
Allerhöchste Zeit da auf den Nachfolger Debian 11 'Bullseye' zu gehen.
-
@thomas-braun said in Update von admin 6.2.20 -> 6.2.22 Error code 45:
https://www.debian.org/News/2022/20220910
Nach dieser Zwischenveröffentlichung werden Debians Security- und Release-Teams die Arbeit an Aktualisierungen für Debian 10 einstellen.
Allerhöchste Zeit da auf den Nachfolger Debian 11 'Bullseye' zu gehen.
Ok, danke für die Info. Aber das ändert dann nichts an der Situation oder?
-
Das ändert zumindest die Basis.
Ein bereits abgekündigtes Release zu maintainen wird mit jedem Tag schwieriger. -
@thomas-braun said in Update von admin 6.2.20 -> 6.2.22 Error code 45:
Das ändert zumindest die Basis.
Ein bereits abgekündigtes Release zu maintainen wird mit jedem Tag schwieriger.Alles klar. Werde ich dann machen. Allerdings wohl erst zwischen den Feiertagen. Sollte das Problem weiterhin bestehen, melde ich mich