NEWS
ERROR: Process exited with code 25 NPM Update usw
-
iobroker upgrade admin --debug
Ist das Ding hier:
https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8
-
@thomas-braun said in ERROR: Process exited with code 25 NPM Update usw:
iobroker ugrade admin --debug
Ich habe den iobroker gestoppt und dann folgendes ausgeführt:
pi@raspberrypi:~ $ iobroker stop pi@raspberrypi:~ $ iobroker ugrade admin --debug iobroker [command] Commands: iobroker setup Setup ioBroker iobroker start [all|<adapter>.<instance>] Starts the js-controller or a specified adapter instance iobroker stop [<adapter>.<instance>] stops the js-controller or a specified adapter instance iobroker restart [<adapter>.<instance>] Restarts js-controller or a specified adapter instance [aliases: r] iobroker debug <adapter>[.<instance>] Starts a Node.js debugging session for the adapter instance iobroker info Shows the host info iobroker logs [<adapter>] Monitor log iobroker add <adapter> [desiredNumber] Add instance of adapter [aliases: a] iobroker install <adapter> Installs a specified adapter [aliases: i] iobroker rebuild [<module>] Rebuild all native modules or path iobroker url <url> [<name>] Install adapter from specified url, e.g. GitHub iobroker del <adapter> Remove adapter and all instances from this host [aliases: delete] iobroker del <adapter>.<instance> Remove adapter instance [aliases: delete] iobroker update [<repositoryUrl>] Update repository and list adapters iobroker upgrade Upgrade management iobroker upload [all|<adapter>] Upload management [aliases: u] iobroker object Object management [aliases: o] iobroker state State management [aliases: s] iobroker message <adapter>[.instance] <command> [<message>] Send message to adapter instance/s iobroker list <type> [<filter>] List all entries, like objects iobroker chmod <mode> <file> Change file rights iobroker chown <user> <group> <file> Change file ownership iobroker touch <file> Touch file iobroker rm <file> Remove file iobroker file File management iobroker user User commands iobroker group group management iobroker host <hostname> Set host to given hostname iobroker set <adapter>.<instance> Change settings of adapter config iobroker license <license.file or license.text> Update license by given file iobroker cert Certificate management iobroker clean <yes> Clears all objects and states iobroker backup Create backup iobroker restore <backup name or path> Restore a specified backup iobroker validate <backup name or path> Validate a specified backup iobroker status [all|<adapter>.<instance>] Status of ioBroker or adapter instance [aliases: isrun] iobroker repo [<name>] Show repo information iobroker uuid Show uuid of the installation [aliases: id] iobroker unsetup Reset license, installation secret and language iobroker fix Execute the installation fixer script, this updates your ioBroker installation iobroker multihost Multihost management iobroker compact compact group management iobroker plugin Plugin management iobroker version [<adapter>] Show version of js-controller or specified adapter [aliases: v] Options: --help Show help [boolean]
-
-
@thomas-braun said in ERROR: Process exited with code 25 NPM Update usw:
iobroker upgrade admin --debug
Da fehlt ein p
Vielen Dank für den Hinweis.
Jetzt habe ich wieder keinen Webzugriff auf ioBroker.
Wenn ich jetzt iobroker add admin --enabled --port 8089 ausführen würde, käme ich wieder drauf, hätte aber eine neu Admin Instanz und das Thema ginge von vorn los
Was kann ich jetzt am besten machen?
-
@thomas-braun said in ERROR: Process exited with code 25 NPM Update usw:
iobroker upgrade admin --debug
Da fehlt ein p
Ausgeworfen hat er:
pi@raspberrypi:~ $ iobroker upgrade admin --debug This upgrade of "admin" will introduce the following changes: ========================================================================== -> 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.2.23 now? [(y)es, (n)o]: y Update admin from @6.2.22 to @6.2.23 host.raspberrypi Adapter "system.adapter.admin.3" is stopped. NPM version: 8.19.2 Installing iobroker.admin@6.2.23... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/acorn npm ERR! dest /opt/iobroker/node_modules/.acorn-zHERliMH npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acorn' -> '/opt/iobroker/node_modules/.acorn-zHERliMH' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-11-20T15_39_58_825Z-debug-0.log host.raspberrypi Cannot install iobroker.admin@6.2.23: 217
-
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
217
hier ist es zwar ein 217, aber ich denke du solltest mal das oben angepinnte Procedere für Error 25 durchgehen
-
@homoran said in ERROR: Process exited with code 25 NPM Update usw:
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
217
hier ist es zwar ein 217, aber ich denke du solltest mal das oben angepinnte Procedere für Error 25 durchgehen
Ja, aber genau da bin ich ja dran. Der erste Schritt war das mit dem --debug und hier gehts ja dann schon nicht weiter
Oder habe ich etwas falsch verstanden?
-
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
Oder habe ich etwas falsch verstanden?
Das meint @Homoran
-
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
Oder habe ich etwas falsch verstanden?
was definierst du mit falsch!
der Befehl mit angehängtem
--debug
ist ja nur dazu da, um die mögliche Ursache zu finden, indem detailliertere Fehlermeldungen ausgeworfen werden.Dies ist z.B. die Info mit ENOTEMPTY und der dazu gehörenden Aufforderung, ein Verzeichnis mit einer kryptischen Bezeichnung umzubenennen.
üblicherweise käme jetzt noch der ERROR25, bei dir aber der 217
-
@glasfaser said in ERROR: Process exited with code 25 NPM Update usw:
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
Oder habe ich etwas falsch verstanden?
Das meint @Homoran
Ja, dass ist doch das, was ich versuche abzuarbeiten. Aber da steht doch nur das mit dem --debug drin.
Danach wird es so kryptisch, dass ich kein Wort verstehe geschweige denn umzusetzen. -
Du musst das auch nicht verstehen. Nur den ersten Befehlseinzeiler in dein Terminal kopieren.
-
Nimm doch einmal diesen Befehl :
for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
-
@homoran said in ERROR: Process exited with code 25 NPM Update usw:
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
Oder habe ich etwas falsch verstanden?
was definierst du mit falsch!
der Befehl mit angehängtem
--debug
ist ja nur dazu da, um die mögliche Ursache zu finden, indem detailliertere Fehlermeldungen ausgeworfen werden.Dies ist z.B. die Info mit ENOTEMPTY und der dazu gehörenden Aufforderung, ein Verzeichnis mit einer kryptischen Bezeichnung umzubenennen.
üblicherweise käme jetzt noch der ERROR25, bei dir aber der 217
Naja, mit falsch definiere ich, ob ich irgendwo einen Fehler mache.
Ich kann dieser Anleitung außer --debug (was ich jetzt gelern habe, dass das hinter iobroker upgrade adapterName kommt) nicht weiter folgen. -
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
nicht weiter folgen.
siehe Antwort über deine !
-
@glasfaser said in ERROR: Process exited with code 25 NPM Update usw:
Nimm doch einmal diesen Befehl :
for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
Das habe ich jetzt probiert, im Terminal sehe ich keine Regung. Muss da etwas passieren? Zugriff auf das Webinterface habe ich dadurch auch nicht erhalten.
An dem Befehl muss ich nichts ändern?
-
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
An dem Befehl muss ich nichts ändern?
NEIN ... nicht´s daran ändern !!
Das nicht´s kommt ist richtig !
-
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
Zugriff auf das Webinterface habe ich dadurch auch nicht erhalten.
so weit sind wir noch nicht, bitte keine operative Hektik
https://forum.iobroker.net/post/884324was kommt jetzt bei
iobroker upgrade wasauchimmer --debug
?? -
-
@homoran said in ERROR: Process exited with code 25 NPM Update usw:
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
Zugriff auf das Webinterface habe ich dadurch auch nicht erhalten.
so weit sind wir noch nicht, bitte keine operative Hektik
https://forum.iobroker.net/post/884324was kommt jetzt bei
iobroker upgrade wasauchimmer --debug
??jetzt kommt das:
pi@raspberrypi:~ $ iobroker upgrade device-watcher --debug This upgrade of "device-watcher" will introduce the following changes: ========================================================================== -> 2.0.2: added status to battery list batt devices which are offline are now still included in the battery list small improvements of translations offline time settings: you can use 0 instead of -1 (it will be the new standard) improvements of adaptername fixed issues [#66](https://github.com/ciddi89/ioBroker.device-watcher/issues/66) & [#67](https://github.com/ciddi89/ioBroker.device-watcher/issues/67) repaired blacklist notifications added handling for blacklist object -> 2.0.1: If the device is offline, set signal strength to '0%' If the device is offline, set battery to ' - ' repair some small issues in the lists -> 2.0.0: added Lupusec, HS100 adapter, Zigbee2MQTT and MaxCube changed name of Homematic to HM-RPC made a completly makeover of the blacklist clean up the code and shorten some -> 1.1.0: removed indicatoren for daily sent messages changed selector for shelly devices added Zigbee2MQTT adapter added cron function to use own time for daily overview messages -> 1.0.1: added WLED, Ikea Tradfri, Roomba, HmIp, Tado, Netatmo, Yeelight-2, Unifi, Nut and Meross adapter fixed battery message corrected and repaired some issues of last contact time added support for old HM devices some small refactoring of code changed shelly selector from dp rssi to dp online ========================================================================== BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES! Would you like to upgrade device-watcher from @1.0.0 to @2.0.2 now? [(y)es, (n)o]: y Update device-watcher from @1.0.0 to @2.0.2 NPM version: 8.19.2 Installing iobroker.device-watcher@2.0.2... (System call) added 7 packages, removed 1508 packages, and changed 7 packages in 28s 36 packages are looking for funding run `npm fund` for details Update "system.adapter.device-watcher.0" upload [19] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/device-watcher.png device-watcher.png image/png upload [18] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [17] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [16] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [15] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [14] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [13] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [12] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [11] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [10] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [9] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/i18n/uk/translations.json i18n/uk/translations.json application/json upload [8] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [7] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/images/add_blacklist.png images/add_blacklist.png image/png upload [6] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/images/list1.png images/list1.png image/png upload [5] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/images/list2.png images/list2.png image/png upload [4] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/images/list3.png images/list3.png image/png upload [3] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/index_m.html index_m.html text/html upload [2] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/jsonConfig.json jsonConfig.json application/json upload [1] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/style.css style.css text/css upload [0] device-watcher.admin /opt/iobroker/node_modules/iobroker.device-watcher/admin/words.js words.js application/javascript pi@raspberrypi:~ $
-
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
jetzt kommt das:
sieht das aus wie
@n811e sagte in ERROR: Process exited with code 25 NPM Update usw:
sehe ich keine Regung.
Ist doch jetzt alles gefixt.