NEWS
Adapter Installation bow Update schlägt fehl
-
Hallo,
habe aktuell das Problem, das Updates bzw. Neuinstallation von Adaptern mit der immer gleichen Fehlermeldung fehlschlagen. Hier mal am Beispiel des Updates von Simple-API:
$ iobroker upgrade simple-api@2.7.0 Update simple-api from @2.6.5 to @2.7.0 NPM version: 8.11.0 Installing iobroker.simple-api@2.7.0... (System call) host.iobroker Cannot install iobroker.simple-api@2.7.0: 217 ERROR: Process exited with code 25Aus der Fehlermeldung werde ich nicht wirklich schlau. Probiert habe ich bereits folgendes (allerdings ohne Erfolg):
cd /opt/iobroker iobroker stop iobroker fix iobroker startAußerdem:
npm cache clean --forceWeitere Informationen:
which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.15.1 v16.15.1 8.11.0 nodejs: Installed: 16.15.1-1nodesource1 Candidate: 16.15.1-1nodesource1 Version table: *** 16.15.1-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bionic/main amd64 Packages 100 /var/lib/dpkg/status 8.10.0~dfsg-2ubuntu0.4 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 8.10.0~dfsg-2ubuntu0.2 500 500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages 8.10.0~dfsg-2 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 PackagesVielleicht hat ja jemand eine Idee. Danke!
-
Hallo,
habe aktuell das Problem, das Updates bzw. Neuinstallation von Adaptern mit der immer gleichen Fehlermeldung fehlschlagen. Hier mal am Beispiel des Updates von Simple-API:
$ iobroker upgrade simple-api@2.7.0 Update simple-api from @2.6.5 to @2.7.0 NPM version: 8.11.0 Installing iobroker.simple-api@2.7.0... (System call) host.iobroker Cannot install iobroker.simple-api@2.7.0: 217 ERROR: Process exited with code 25Aus der Fehlermeldung werde ich nicht wirklich schlau. Probiert habe ich bereits folgendes (allerdings ohne Erfolg):
cd /opt/iobroker iobroker stop iobroker fix iobroker startAußerdem:
npm cache clean --forceWeitere Informationen:
which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.15.1 v16.15.1 8.11.0 nodejs: Installed: 16.15.1-1nodesource1 Candidate: 16.15.1-1nodesource1 Version table: *** 16.15.1-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bionic/main amd64 Packages 100 /var/lib/dpkg/status 8.10.0~dfsg-2ubuntu0.4 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 8.10.0~dfsg-2ubuntu0.2 500 500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages 8.10.0~dfsg-2 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 PackagesVielleicht hat ja jemand eine Idee. Danke!
cd /opt/iobroker npm ls | grep ERR -
Hallo,
habe aktuell das Problem, das Updates bzw. Neuinstallation von Adaptern mit der immer gleichen Fehlermeldung fehlschlagen. Hier mal am Beispiel des Updates von Simple-API:
$ iobroker upgrade simple-api@2.7.0 Update simple-api from @2.6.5 to @2.7.0 NPM version: 8.11.0 Installing iobroker.simple-api@2.7.0... (System call) host.iobroker Cannot install iobroker.simple-api@2.7.0: 217 ERROR: Process exited with code 25Aus der Fehlermeldung werde ich nicht wirklich schlau. Probiert habe ich bereits folgendes (allerdings ohne Erfolg):
cd /opt/iobroker iobroker stop iobroker fix iobroker startAußerdem:
npm cache clean --forceWeitere Informationen:
which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.15.1 v16.15.1 8.11.0 nodejs: Installed: 16.15.1-1nodesource1 Candidate: 16.15.1-1nodesource1 Version table: *** 16.15.1-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bionic/main amd64 Packages 100 /var/lib/dpkg/status 8.10.0~dfsg-2ubuntu0.4 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 8.10.0~dfsg-2ubuntu0.2 500 500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages 8.10.0~dfsg-2 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 PackagesVielleicht hat ja jemand eine Idee. Danke!
-
cd /opt/iobroker npm ls | grep ERRiobroker@iobroker:/opt/iobroker$ npm ls | grep ERR npm ERR! code ELSPROBLEMS npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie npm ERR! extraneous: coffee-compiler@0.3.2 /opt/iobroker/node_modules/coffee-compiler npm ERR! extraneous: coffee-script@1.12.7 /opt/iobroker/node_modules/coffee-script npm ERR! missing: iobroker.coronavirus-statistics@^0.8.7, required by iobroker.inst@2.0.3 npm ERR! invalid: iobroker.enigma2@1.2.9 /opt/iobroker/node_modules/iobroker.enigma2 npm ERR! invalid: iobroker.tr-064-community@npm:iobroker.tr-064@4.2.16 /opt/iobroker/node_modules/iobroker.tr-064-community npm ERR! invalid: iobroker.vuplus@0.1.1 /opt/iobroker/node_modules/iobroker.vuplus npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2 npm ERR! extraneous: typescript@4.7.2 /opt/iobroker/node_modules/typescript npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: vm2@3.9.9 /opt/iobroker/node_modules/vm2 npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-07T08_42_10_522Z-debug-0.log -
cd /opt/iobroker npm prune npm ls | grep ERR -
cd /opt/iobroker npm prune npm ls | grep ERR@thomas-braun said in Adapter Installation bow Update schlägt fehl:
cd /opt/iobroker npm prune npm ls | grep ERR
iobroker@iobroker:/opt/iobroker$ npm prune npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/coffee-compiler npm ERR! dest /opt/iobroker/node_modules/.coffee-compiler-H6FiAEHY npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/coffee-compiler' -> '/opt/iobroker/node_modules/.coffee-compiler-H6FiAEHY' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-07T08_51_09_918Z-debug-0.log iobroker@iobroker:/opt/iobroker$ npm ls | grep ERR npm ERR! code ELSPROBLEMS npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie npm ERR! extraneous: coffee-compiler@0.3.2 /opt/iobroker/node_modules/coffee-compiler npm ERR! extraneous: coffee-script@1.12.7 /opt/iobroker/node_modules/coffee-script npm ERR! missing: iobroker.coronavirus-statistics@^0.8.7, required by iobroker.inst@2.0.3 npm ERR! invalid: iobroker.enigma2@1.2.9 /opt/iobroker/node_modules/iobroker.enigma2 npm ERR! invalid: iobroker.tr-064-community@npm:iobroker.tr-064@4.2.16 /opt/iobroker/node_modules/iobroker.tr-064-community npm ERR! invalid: iobroker.vuplus@0.1.1 /opt/iobroker/node_modules/iobroker.vuplus npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2 npm ERR! extraneous: typescript@4.7.2 /opt/iobroker/node_modules/typescript npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: vm2@3.9.9 /opt/iobroker/node_modules/vm2 npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-07T08_51_36_263Z-debug-0.log -
@thomas-braun said in Adapter Installation bow Update schlägt fehl:
cd /opt/iobroker npm prune npm ls | grep ERR
iobroker@iobroker:/opt/iobroker$ npm prune npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/coffee-compiler npm ERR! dest /opt/iobroker/node_modules/.coffee-compiler-H6FiAEHY npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/coffee-compiler' -> '/opt/iobroker/node_modules/.coffee-compiler-H6FiAEHY' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-07T08_51_09_918Z-debug-0.log iobroker@iobroker:/opt/iobroker$ npm ls | grep ERR npm ERR! code ELSPROBLEMS npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie npm ERR! extraneous: coffee-compiler@0.3.2 /opt/iobroker/node_modules/coffee-compiler npm ERR! extraneous: coffee-script@1.12.7 /opt/iobroker/node_modules/coffee-script npm ERR! missing: iobroker.coronavirus-statistics@^0.8.7, required by iobroker.inst@2.0.3 npm ERR! invalid: iobroker.enigma2@1.2.9 /opt/iobroker/node_modules/iobroker.enigma2 npm ERR! invalid: iobroker.tr-064-community@npm:iobroker.tr-064@4.2.16 /opt/iobroker/node_modules/iobroker.tr-064-community npm ERR! invalid: iobroker.vuplus@0.1.1 /opt/iobroker/node_modules/iobroker.vuplus npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2 npm ERR! extraneous: typescript@4.7.2 /opt/iobroker/node_modules/typescript npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: vm2@3.9.9 /opt/iobroker/node_modules/vm2 npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-07T08_51_36_263Z-debug-0.logSchau dir die Adapter zu den Fehlermeldungen aus Zeile 18-21 an.
Neuinstallieren, rauswerfen, irgendwas damit mal anfangen.Und halt:
rename '/opt/iobroker/node_modules/coffee-compiler' -> '/opt/iobroker/node_modules/.coffee-compiler-H6FiAEHY
-
Schau dir die Adapter zu den Fehlermeldungen aus Zeile 18-21 an.
Neuinstallieren, rauswerfen, irgendwas damit mal anfangen.Und halt:
rename '/opt/iobroker/node_modules/coffee-compiler' -> '/opt/iobroker/node_modules/.coffee-compiler-H6FiAEHY
Hab ich gemacht. Komisch ist nur, dass die Adapter gar nicht mehr installiert sind.
-
Hab ich gemacht. Komisch ist nur, dass die Adapter gar nicht mehr installiert sind.
Die sind aber nicht sauber ausgetragen.
-
Die sind aber nicht sauber ausgetragen.
@thomas-braun
Gibt es eine Möglichkeit das zu bereinigen?
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden