NEWS
Nach Update starten Adapter nicht mehr
-
pi@raspberrypi:~ $ node -v v16.16.0 pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v16.16.0 /usr/bin/node v16.16.0 /usr/bin/npm 8.11.0 nodejs: Installiert: 16.16.0-deb-1nodesource1 Installationskandidat: 16.16.0-deb-1nodesource1 Versionstabelle: *** 16.16.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@raspberrypi:~ $
-
Schaut schon mal gut aus.
Mehr sieht man damit:uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
-
@thomas-braun said in Nach Update starten Adapter nicht mehr:
uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.16.0 v16.16.0 8.11.0 pi /home/pi OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:2 http://archive.raspberrypi.org/debian buster InRelease OK:3 https://deb.nodesource.com/node_16.x buster InRelease OK:4 https://www.pivccu.de/piVCCU stable InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. nodejs: Installiert: 16.16.0-deb-1nodesource1 Installationskandidat: 16.16.0-deb-1nodesource1 Versionstabelle: *** 16.16.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@raspberrypi:~ $
-
-
@thomas-braun said in Nach Update starten Adapter nicht mehr:
npm ls | grep -E 'github|ERR'
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github|ERR' npm ERR! code ELSPROBLEMS npm ERR! extraneous: @types/node-cron@2.0.5 /opt/iobroker/node_modules/@types/node-cron npm ERR! extraneous: @types/tz-offset@0.0.0 /opt/iobroker/node_modules/@types/tz-offset npm ERR! extraneous: cron@1.8.2 /opt/iobroker/node_modules/cron npm ERR! invalid: iobroker.admin@5.3.8 /opt/iobroker/node_modules/iobroker.admin npm ERR! invalid: iobroker.backitup@2.4.9 /opt/iobroker/node_modules/iobroker.backitup npm ERR! invalid: iobroker.discovery@3.0.3 /opt/iobroker/node_modules/iobroker.discovery npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller npm ERR! extraneous: iobroker.virtualpowermeter@1.4.6 /opt/iobroker/node_modules/iobroker.virtualpowermeter npm ERR! extraneous: moment-timezone@0.5.34 /opt/iobroker/node_modules/moment-timezone npm ERR! extraneous: node-cron@2.0.3 /opt/iobroker/node_modules/node-cron npm ERR! extraneous: opencollective-postinstall@2.0.3 /opt/iobroker/node_modules/opencollective-postinstall npm ERR! extraneous: tz-offset@0.0.1 /opt/iobroker/node_modules/tz-offset npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-07-21T10_27_50_949Z-debug-0.log pi@raspberrypi:/opt/iobroker $
-
@tobiasp Hattest du dein System nicht vorher auf Stand gebracht?
discovery z. B.:
github: 3.0.5 latest: 3.0.5 for 34 days stable: 3.0.5 for 34 days
Du schleppst da eine 3.0.3 an.
-
@thomas-braun
Lässst sich nicht updaten
$ iobroker upgrade discovery@3.0.5Update discovery from @3.0.3 to @3.0.5
NPM version: 8.11.0Installing iobroker.discovery@3.0.5... (System call)
host.raspberrypi Cannot install iobroker.discovery@3.0.5: 217
ERROR: Process exited with code 25
-
@tobiasp und mit
--debug
hintendran?
da sollte die Konsole gesprächiger werden -
i@raspberrypi:/opt/iobroker $ iobroker upgrade --debug This upgrade of "discovery" will introduce the following changes: ========================================================================== -> 3.0.5: Fix potential crash cases reported by Sentry -> 3.0.4: Disable configuration settings for this adapter ========================================================================== Would you like to upgrade discovery from @3.0.3 to @3.0.5 now? [(y)es, (n)o]: y Update discovery from @3.0.3 to @3.0.5 NPM version: 8.11.0 Installing iobroker.discovery@3.0.5... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/abort-controller npm ERR! dest /opt/iobroker/node_modules/.abort-controller-x3pdLVqa npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abort-controller' -> '/opt/iobroker/node_modules/.abort-controller-x3pdLVqa' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-07-21T12_47_36_083Z-debug-0.log host.raspberrypi Cannot install iobroker.discovery@3.0.5: 217 pi@raspberrypi:/opt/iobroker $
-
@tobiasp sagte in Nach Update starten Adapter nicht mehr:
/opt/iobroker/node_modules/.abort-controller-x3pdLVqa
sudo rm /opt/iobroker/node_modules/.abort-controller-x3pdLVqa
Das dann für evtl. weitere Verzeichnisse analog machen. Also die Verzeichnisse mit den kryptischen Endungen löschen.
-
@thomas-braun @tobiasp
Da mussst du miir bitte helfen was du da genau meinst.pi@raspberrypi:~ $ sudo rm /opt/iobroker/node_modules/.abort-controller-x3pdLVqa rm: das Entfernen von '/opt/iobroker/node_modules/.abort-controller-x3pdLVqa' ist nicht möglich: Ist ein Verzeichnis pi@raspberrypi:~ $
-
-
@thomas-braun Bringt immer noch FEhler
@raspberrypi:~ $ iobroker upgrade --debug This upgrade of "discovery" will introduce the following changes: ========================================================================== -> 3.0.5: Fix potential crash cases reported by Sentry -> 3.0.4: Disable configuration settings for this adapter ========================================================================== Would you like to upgrade discovery from @3.0.3 to @3.0.5 now? [(y)es, (n)o]: y Update discovery from @3.0.3 to @3.0.5 NPM version: 8.11.0 Installing iobroker.discovery@3.0.5... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/accepts npm ERR! dest /opt/iobroker/node_modules/.accepts-rBwU1CL7 npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/accepts' -> '/opt/iobroker/node_modules/.accepts-rBwU1CL7' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-07-21T13_21_25_599Z-debug-0.log host.raspberrypi Cannot install iobroker.discovery@3.0.5: 217 pi@raspberrypi:~ $
-
Das dann für evtl. weitere Verzeichnisse analog machen. Also die Verzeichnisse mit den kryptischen Endungen löschen.
-
@tobiasp sagte in Nach Update starten Adapter nicht mehr:
@thomas-braun Bringt immer noch FEhler
@thomas-braun sagte in Nach Update starten Adapter nicht mehr:
Das dann für evtl. weitere Verzeichnisse analog machen. Also die Verzeichnisse mit den kryptischen Endungen löschen.
-
@homoran Ok das dauert dann etwas länger das sind ja ewig viele
-
@tobiasp sagte in Nach Update starten Adapter nicht mehr:
das sind ja ewig viele
Das hängt von der jeweiligen Installation ab, wie viele da sind. Kann von Null bis mehrere Dutzend alles mögliche sein.
-
@thomas-braun
aber herausfinden geht nur wenn man immer wieder startet und dann die DAtei löscht -
@tobiasp
Und die Adapter starten deswegen nicht oder? Was sind dann das für FEhlermedungen noch ?host.raspberrypi 2022-07-21 16:13:54.442 error iobroker npm-install: host.raspberrypi Cannot install iobroker.vis-icontwo@0.87.0: 217 host.raspberrypi 2022-07-21 16:13:21.059 error iobroker npm-install: host.raspberrypi Cannot install iobroker.icons-open-icon-library-png@0.1.2: 217 host.raspberrypi 2022-07-21 16:09:08.447 error iobroker npm-install: host.raspberrypi Cannot install iobroker.javascript@5.7.0: 217 host.raspberrypi 2022-07-21 16:08:46.762 error iobroker npm-install: host.raspberrypi Cannot install iobroker.terminal@0.2.6: 217 host.raspberrypi 2022-07-21 16:06:03.259 error iobroker npm-install: host.raspberrypi Cannot install iobroker.icons-material-svg@0.1.0: 217 host.raspberrypi 2022-07-21 16:05:39.038 error iobroker npm-install: host.raspberrypi Cannot install iobroker.icons-icons8@0.0.1: 217 host.raspberrypi 2022-07-21 16:05:18.094 error iobroker npm-install: host.raspberrypi Cannot install iobroker.icons-fatcow-hosting@0.1.0: 217 web.0 2022-07-21 16:05:14.557 error Initialization of integrated socket.io failed. Please reinstall the web adapter. host.raspberrypi 2022-07-21 16:04:57.310 error iobroker npm-install: host.raspberrypi Cannot install iobroker.icons-mfd-svg@1.1.0: 217 host.raspberrypi 2022-07-21 16:04:22.238 error iobroker npm-install: host.raspberrypi Cannot install iobroker.fritzbox@0.2.1: 217 host.raspberrypi 2022-07-21 16:03:56.612 error iobroker npm-install: host.raspberrypi Cannot install iobroker.daswetter@3.1.2: 217 host.raspberrypi 2022-07-21 16:03:32.868 error iobroker npm-install: host.raspberrypi Cannot install iobroker.flot@1.11.0: 217 host.raspberrypi 2022-07-21 16:03:07.498 error iobroker npm-install: host.raspberrypi Cannot install iobroker.devices@1.0.12: 217 host.raspberrypi 2022-07-21 16:02:45.696 error iobroker npm-install: host.raspberrypi Cannot install iobroker.icons-material-png@0.1.0: 217 host.raspberrypi 2022-07-21 16:02:25.479 error iobroker npm-install: host.raspberrypi Cannot install schmupu/ioBroker.pollenflug#4ae37990c9c6bcf9ae5db5bfa0c9fba70b005e7f: 217 host.raspberrypi 2022-07-21 16:02:02.520 error iobroker npm-install: host.raspberrypi Cannot install iobroker.icons-ultimate-png@1.0.1: 217
-
Du liest aber doch schon was da steht?
@tobiasp sagte in Nach Update starten Adapter nicht mehr:
Initialization of integrated socket.io failed. Please reinstall the web adapter.