NEWS
Kein Update mehr möglich mit Node.js 16
-
@thomas-braun ich hab jetzt den ganzen container neu gestartet
-
@thomas-braun also was mir noch auffällt ich komme mit npm prune auch nicht weiter gefühlt soll ich 100 Ordner umbennen. Ich verzweifel da echt dran:
root@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR' sudo: unable to resolve host iobroker: Name or service not known 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! extraneous: error-ex@ /opt/iobroker/node_modules/error-ex npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors npm ERR! extraneous: utile@ /opt/iobroker/node_modules/utile npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: vm2@3.9.10 /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! /opt/iobroker/.npm/_logs/2022-07-11T08_37_11_257Z-debug-0.log -
@thomas-braun also was mir noch auffällt ich komme mit npm prune auch nicht weiter gefühlt soll ich 100 Ordner umbennen. Ich verzweifel da echt dran:
root@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR' sudo: unable to resolve host iobroker: Name or service not known 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! extraneous: error-ex@ /opt/iobroker/node_modules/error-ex npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors npm ERR! extraneous: utile@ /opt/iobroker/node_modules/utile npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: vm2@3.9.10 /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! /opt/iobroker/.npm/_logs/2022-07-11T08_37_11_257Z-debug-0.log@tobasium sagte in Kein Update mehr möglich mit Node.js 16:
gefühlt soll ich 100 Ordner umbennen.
Nicht umbenennen, löschen.
-
@tobasium sagte in Kein Update mehr möglich mit Node.js 16:
gefühlt soll ich 100 Ordner umbennen.
Nicht umbenennen, löschen.
@thomas-braun gibts da eine Möglichkeit schneller alle Ordner rauszufinden oder wirklich jedesmal npm prune ausführen
root@iobroker:/opt/iobroker# npm prune sudo: unable to resolve host iobroker: Name or service not known 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! /opt/iobroker/.npm/_logs/2022-07-11T08_39_21_493Z-debug-0.log -
@thomas-braun gibts da eine Möglichkeit schneller alle Ordner rauszufinden oder wirklich jedesmal npm prune ausführen
root@iobroker:/opt/iobroker# npm prune sudo: unable to resolve host iobroker: Name or service not known 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! /opt/iobroker/.npm/_logs/2022-07-11T08_39_21_493Z-debug-0.log@tobasium
Mit prune findest du die zu löschenden Verzeichnisse soweit ich weiß nicht.Edith:
rm -rf /opt/iobroker/node_modules/.coffee-compiler-H6FiAEHY -
@tobasium
Mit prune findest du die zu löschenden Verzeichnisse soweit ich weiß nicht.Edith:
rm -rf /opt/iobroker/node_modules/.coffee-compiler-H6FiAEHY@thomas-braun ja das geht aber nicht gut. Verzeichnis ist weg aber jetzt kommt der hier. lösche ich jetzt ist der io tot
root@iobroker:/opt/iobroker# npm prune sudo: unable to resolve host iobroker: Name or service not known npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! dest /opt/iobroker/node_modules/.iobroker.js-controller-7Q8bmsba npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.js-controller' -> '/opt/iobroker/node_modules/.iobroker.js-controller-7Q8bmsba' npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2022-07-11T08_42_43_262Z-debug-0.log -
@thomas-braun ja das geht aber nicht gut. Verzeichnis ist weg aber jetzt kommt der hier. lösche ich jetzt ist der io tot
root@iobroker:/opt/iobroker# npm prune sudo: unable to resolve host iobroker: Name or service not known npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! dest /opt/iobroker/node_modules/.iobroker.js-controller-7Q8bmsba npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.js-controller' -> '/opt/iobroker/node_modules/.iobroker.js-controller-7Q8bmsba' npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2022-07-11T08_42_43_262Z-debug-0.logDen iobroker solltest du während dessen auch stoppen.
-
Den iobroker solltest du während dessen auch stoppen.
@thomas-braun ja ich bin im maintenace on, das passt doch auch oder?
-
@thomas-braun ja ich bin im maintenace on, das passt doch auch oder?
Was ist maintenance on?
-
Was ist maintenance on?
@thomas-braun naja ist ja ein buanet docker über maintenance on wird iobroker beendet.
-
@thomas-braun naja ist ja ein buanet docker über maintenance on wird iobroker beendet.
@tobasium sagte in Kein Update mehr möglich mit Node.js 16:
@thomas-braun naja ist ja ein buanet docker über maintenance on wird iobroker beendet.
Kenne ich gerade auch nicht was du damit meinst
Einfach , den ioBroker stoppen :
pkill -u iobroker -
@tobasium sagte in Kein Update mehr möglich mit Node.js 16:
@thomas-braun naja ist ja ein buanet docker über maintenance on wird iobroker beendet.
Kenne ich gerade auch nicht was du damit meinst
Einfach , den ioBroker stoppen :
pkill -u iobroker@glasfaser jo hab ich das macht der befehl auch
-
so also npm prune läuft jetzt durch, keine Fehler mehr:
changed 8 packages in 2m
129 packages are looking for funding
runnpm fundfor detailsroot@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR' sudo: unable to resolve host iobroker: Name or service not known npm ERR! code ELSPROBLEMS npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2022-07-11T09_12_05_196Z-debug-0.logUpdates / Downgrades laufen noch nicht:
$ iobroker upgrade milight-smart-light@1.2.1 --debug Update milight-smart-light from @1.2.2 to @1.2.1 NPM version: 8.11.0 Installing iobroker.milight-smart-light@1.2.1... (System call) npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/iobroker.milight-smart-lightnpm ERR! dest /opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzonpm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo'npm ERR! A complete log of this run can be found in:npm ERR! /opt/iobroker/.npm/_logs/2022-07-11T09_09_18_542Z-debug-0.log host.iobroker Cannot install iobroker.milight-smart-light@1.2.1: 217 ERROR: Process exited with code 25 -
so also npm prune läuft jetzt durch, keine Fehler mehr:
changed 8 packages in 2m
129 packages are looking for funding
runnpm fundfor detailsroot@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR' sudo: unable to resolve host iobroker: Name or service not known npm ERR! code ELSPROBLEMS npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2022-07-11T09_12_05_196Z-debug-0.logUpdates / Downgrades laufen noch nicht:
$ iobroker upgrade milight-smart-light@1.2.1 --debug Update milight-smart-light from @1.2.2 to @1.2.1 NPM version: 8.11.0 Installing iobroker.milight-smart-light@1.2.1... (System call) npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/iobroker.milight-smart-lightnpm ERR! dest /opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzonpm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo'npm ERR! A complete log of this run can be found in:npm ERR! /opt/iobroker/.npm/_logs/2022-07-11T09_09_18_542Z-debug-0.log host.iobroker Cannot install iobroker.milight-smart-light@1.2.1: 217 ERROR: Process exited with code 25@tobasium sagte in Kein Update mehr möglich mit Node.js 16:
ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo
Weiter die Verzeichnisse mit den kryptischen Endungen löschen...
-
@tobasium sagte in Kein Update mehr möglich mit Node.js 16:
Deinstalliere den js-controller mal und dann neu installieren .
inkl.
Lösch die Datei /opt/iobroler/package-lock.json
@glasfaser wie deinstalliere ich den? da steh ich auf dem schlauch
-
@glasfaser wie deinstalliere ich den? da steh ich auf dem schlauch
-
@glasfaser wie deinstalliere ich den? da steh ich auf dem schlauch
Ich würde den erstmal drüber klatschen.
iobroker stoppen.cd /opt/iobroker npm install iobroker.js-controller -
Ich würde den erstmal drüber klatschen.
iobroker stoppen.cd /opt/iobroker npm install iobroker.js-controller@thomas-braun hab ich gemacht
root@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR' sudo: unable to resolve host iobroker: Name or service not knowndowngrade geht aber immer noch nicht:
$ iobroker upgrade milight-smart-light@1.2.1 --debug Update milight-smart-light from @1.2.2 to @1.2.1 NPM version: 8.11.0Installing iobroker.milight-smart-light@1.2.1... (System call) npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/iobroker.milight-smart-lightnpm ERR! dest /opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzonpm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo'npm ERR! A complete log of this run can be found in:npm ERR! /opt/iobroker/.npm/_logs/2022-07-11T09_26_39_068Z-debug-0.log host.iobroker Cannot install iobroker.milight-smart-light@1.2.1: 217 ERROR: Process exited with code 25
Mod-Edit: Code in </> Code-Tag gepackt!
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