NEWS
Nach Update starten Adapter nicht mehr
-
@tobiasp sagte in Nach Update starten Adapter nicht mehr:
Kann ich nicht beanworten
@Glasfaser
wir werden es wohl nie erfahren -
@tobiasp sagte in Nach Update starten Adapter nicht mehr:
DAs ist eine gute frage. Kann ich nicht beanworten.
Aber du bist doch von Nodejs 10 auf 16 gegangen ... von alleine geht das nicht per update .
Und so lange ... ist die Empfehlung zu Nodejs 16 auch nicht her !
-
@glasfaser
Ich dacht ich habe nur sudo npm cache clean -f
sudo n [placeholder] durchgeführt gheabt . Das war dann wohl falsch -
@tobiasp sagte in Nach Update starten Adapter nicht mehr:
sudo n [placeholder] durchgeführt
wo hast du den Befehl gefunden?
-
-
-
Vergiss die Anleitung. Ist Quark, wenn man das Paket auch regulär über den Paketmanager ziehen kann.
sudo rm /etc/apt/sources.list.d/nodesource.list.save.1
Und dann weiter nach der bereits verlinkten Anleitung wie das 'richtig' geht.
-
@thomas-braun
ok ich probiere es mal -
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:~ $
-