Auch mit node 20.14.0 und js-controller 6.0.4 muss ich beim javascript Adapter den upload manuell nach jedem Update machen. Alle anderen Adapter aktualisieren sich komplett fehlerfrei.
Ausgabe vom Update mit unvollständigem upload:
$ iobroker upgrade javascript@8.6.0 --debug
Update javascript from @8.5.2 to @8.6.0
NPM version: 10.7.0
Installing iobroker.javascript@8.6.0... (System call)
npm warn ERESOLVE overriding peer dependency
npm warn node_modules/iobroker.admin/node_modules/@iobroker/adapter-corenpm warn @iobroker/adapter-core@"^3.1.4" from iobroker.admin@6.17.14npm warn node_modules/iobroker.adminnpm warnnpm warn Conflicting peer dependency: @iobroker/types@5.0.19npm warn node_modules/@iobroker/typesnpm warn peer @iobroker/types@"^5.0.11" from @iobroker/adapter-core@3.1.4npm warn node_modules/iobroker.admin/node_modules/@iobroker/adapter-corenpm warn @iobroker/adapter-core@"^3.1.4" from iobroker.admin@6.17.14npm warn node_modules/iobroker.admin
changed 1 package in 19s190 packages are looking for funding run `npm fund` for details
Update "system.adapter.javascript.0"
upload [754] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/adminWords.js adminWords.js application/javascript
upload [750] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/custom/customComponents.js.map custom/customComponents.js.map application/json
upload [700] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/custom/static/js/vendors-node_modules_mui_system_esm_GlobalStyles_GlobalStyles_js-node_modules_mui_system_esm_-8241e1.b8c9d73a.chunk.js.map custom/static/js/vendors-node_modules_mui_system_esm_GlobalStyles_GlobalStyles_js-node_modules_mui_system_esm_-8241e1.b8c9d73a.chunk.js.map application/json
upload [650] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/blocks_switch.js google-blockly/own/blocks_switch.js application/javascript
upload [600] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/static/js/122.405c394f.chunk.js.map static/js/122.405c394f.chunk.js.map application/json
upload [550] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/static/js/239.4b3a951a.chunk.js static/js/239.4b3a951a.chunk.js application/javascript
ERROR: Process exited with code null
@thomas-braun Bisher nicht. Updates aller anderen Adapter funktionieren vollautomatisch. An den "/opt/iobroker/node_modules/iobroker.javascript/..." Dateien vom javascript Adapter liegt es nicht?
Weil da bricht ja der automatische upload immer ab. Aber beim nachträglichen manuellen upload klappt es dann mit allen Dateien.
@thomas-braun Ok, hab schon vor deiner Antw. den admin nochmal über die GUI neu inst. Und danach das gleiche beim javascript. Nun lief es mit exit code 0 durch. Ob das beim nächsten "echten" Update dann auch so ist, wird sich zeigen.
Leider klappt ein echtes Versionsupdate von javascript weiterhin nicht vollautomatisch inkl. sauberem upload. Admin ist mittlerweile 7.0.2 und alle Tipps von @Thomas-Braun hatte ich auch probiert.
$ iobroker upgrade javascript@8.6.0 --debug
Update javascript from @8.5.2 to @8.6.0
NPM version: 10.7.0
Installing iobroker.javascript@8.6.0... (System call)
changed 1 package in 11s
192 packages are looking for funding run `npm fund` for details
Update "system.adapter.javascript.0"
upload [754] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/adminWords.js adminWords.js application/javascript
upload [750] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/custom/customComponents.js.map custom/customComponents.js.map application/json
upload [700] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/custom/static/js/vendors-node_modules_mui_system_esm_GlobalStyles_GlobalStyles_js-node_modules_mui_system_esm_-8241e1.b8c9d73a.chunk.js.map custom/static/js/vendors-node_modules_mui_system_esm_GlobalStyles_GlobalStyles_js-node_modules_mui_system_esm_-8241e1.b8c9d73a.chunk.js.map application/json
upload [650] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/blocks_switch.js google-blockly/own/blocks_switch.js application/javascript
upload [600] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/static/js/122.405c394f.chunk.js.map static/js/122.405c394f.chunk.js.map application/json
ERROR: Process exited with code null
Danach laufen alle Skripte, aber man kann keine Skripte bearbeiten. Wie hier https://forum.iobroker.net/topic/73946/javascript-adapter-8-0-0/41?_=1719305444921 schon geschrieben.
Der upload steigt immer bei diesen javascript/admin/static/js/???.chunk.js.map Dateien aus.
Nach manuellem upload des Adapter im Admin, passt dann alles: