Heute ist wohl nicht mein Tag am PC.
Der Javascript-Adater wurde mir bei den vorhandenen Aktualisierungen angezeigt (7.1.4 -> 7.8.0)
Also habe ich "Aktualisieren gewählt.
Das ging leider schief
2024-02-18 21:50:01.923 - info: host.PIioBroker iobroker Update javascript from @7.1.4 to @7.8.0
2024-02-18 21:50:02.937 - info: dwd.0 (17409) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v16.19.1, js-controller: 5.0.17
2024-02-18 21:50:03.347 - info: host.PIioBroker iobroker NPM version: 8.19.3Installing iobroker.javascript@7.8.0... (System call)
2024-02-18 21:50:05.632 - info: dwd.0 (17409) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2024-02-18 21:50:06.170 - info: host.PIioBroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2024-02-18 21:50:39.028 - info: host.PIioBroker iobroker npm ERR! code ETIMEDOUT
2024-02-18 21:50:39.032 - info: host.PIioBroker iobroker npm ERR! syscall readnpm ERR! errno -110
2024-02-18 21:50:39.039 - info: host.PIioBroker iobroker npm ERR! network read ETIMEDOUTnpm ERR! network This is a problem related to network connectivity.npm ERR! network In most cases you are behind a proxy or have bad network settings.npm ERR! network npm ERR! network If you are behind a proxy, please make sure that thenpm ERR! network 'proxy' config is set properly. See: 'npm help config'
2024-02-18 21:50:39.048 - info: host.PIioBroker iobroker
2024-02-18 21:50:39.052 - info: host.PIioBroker iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2024-02-18T20_50_04_520Z-debug-0.log
2024-02-18 21:50:39.086 - error: host.PIioBroker iobroker npm ERR! code ETIMEDOUTnpm ERR! syscall readnpm ERR! errno -110npm ERR! network read ETIMEDOUTnpm ERR! network This is a problem related to network connectivity.npm ERR! network In most cases you are behind a proxy or have bad network settings.npm ERR! network npm ERR! network If you are behind a proxy, please make sure that thenpm ERR! network 'proxy' config is set properly. See: 'npm help config'npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2024-02-18T20_50_04_520Z-debug-0.log
2024-02-18 21:50:39.088 - error: host.PIioBroker iobroker host.PIioBroker Cannot install iobroker.javascript@7.8.0: 146
Etwas später habe ich festgestellt, dass keine Skripte mehr laufen
Da der Adapter noch in der Liste der Instanzen war, habe ich gestoppt und neu gestartet. Dann lief andauernd die (erfolglose) Installation los.
Also Adapter wieder gestoppt.
Auf die Kommandozeile gegangen und die installierten Adapter geprüft: Er war nicht in der Liste.
Also 1. Versuch:
iob install javascript
Leider wieder erfolglos. Hier wohl die relevante Fehlermeldung, die mir aber nicht weiterhilft.
2024-02-18 21:50:39.086 - error: host.PIioBroker iobroker npm ERR! code ETIMEDOUTnpm ERR! syscall readnpm ERR! errno -110npm ERR! network read ETIMEDOUTnpm ERR! network This is a problem related to network connectivity.npm ERR! network In most cases you are behind a proxy or have bad network settings.npm ERR! network npm ERR! network If you are behind a proxy, please make sure that thenpm ERR! network 'proxy' config is set properly. See: 'npm help config'npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2024-02-18T20_50_04_520Z-debug-0.log
2024-02-18 21:50:39.088 - error: host.PIioBroker iobroker host.PIioBroker Cannot install iobroker.javascript@7.8.0: 146
Der Versuch, die alte Version
iob install javascript@7.1.4
wieder zu installieren, ging ebenfalls schief und bringt eine ähnliche Fehlermeldung
2024-02-18 22:02:39.168 - error: host.PIioBroker iobroker npm-install: npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@types/caselessnpm ERR! dest /opt/iobroker/node_modules/@types/.caseless-biP5OApGnpm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@types/caseless' -> '/opt/iobroker/node_modules/@types/.caseless-biP5OApG'npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2024-02-18T21_02_32_356Z-debug-0.log
2024-02-18 22:02:39.169 - error: host.PIioBroker iobroker npm-install: host.PIioBroker Cannot install iobroker.javascript@7.1.4: 217
Was kann ich jetzt noch machen?