NEWS
PI4 Lässt JS Kontrolle nicht updaten
-
grad gemacht wieder
^[[Api@iobrocker:/opt/iobroker $ sudo iobroker upgrade self
Update js-controller from @1.5.14 to @2.0.25
NPM version: 6.12.0
npm install iobroker.js-controller@2.0.25 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/require-main-filename: Integrity verification failed for sha512-mt/8/lQDEN6TRunL156JlOqfF1v32IYOe2Ey6+rn43FdBDLSNSblDErg9i/vfuLWA0PWo/NS6vOwM8iCP+SaSg== (/home/iobroker/.npm/_cacache/content-v2/sha512/9a/df/fcfe540310de9346e9cbd79e8994ea9f175bf7d8860e7b6132ebeae7e3715d0432d23526e50c4ae0f62fef7ee2d60343d6a3f352eaf3b033c8823fe49a4a)npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2019-10-13T15_18_13_497Z-debug.log
Host "iobrocker" (linux) updated
Execute: chmod -R 777 /opt/iobroker
Chmod finished. Restart controller
Starting node restart.js
pi@iobrocker:/opt/iobroker $ ^C
pi@iobrocker:/opt/iobroker $ dir
backups install lib README.md
CHANGELOG_FIXER_LINUX.md INSTALLER_INFO.txt LICENSE reinstall.js
CHANGELOG_INSTALLER_LINUX.md iob log
etc iobroker node_modules
fix_installation.sh iobroker-data package.json
pi@iobrocker:/opt/iobroker $ -
grad gemacht wieder
^[[Api@iobrocker:/opt/iobroker $ sudo iobroker upgrade self
Update js-controller from @1.5.14 to @2.0.25
NPM version: 6.12.0
npm install iobroker.js-controller@2.0.25 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/require-main-filename: Integrity verification failed for sha512-mt/8/lQDEN6TRunL156JlOqfF1v32IYOe2Ey6+rn43FdBDLSNSblDErg9i/vfuLWA0PWo/NS6vOwM8iCP+SaSg== (/home/iobroker/.npm/_cacache/content-v2/sha512/9a/df/fcfe540310de9346e9cbd79e8994ea9f175bf7d8860e7b6132ebeae7e3715d0432d23526e50c4ae0f62fef7ee2d60343d6a3f352eaf3b033c8823fe49a4a)npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2019-10-13T15_18_13_497Z-debug.log
Host "iobrocker" (linux) updated
Execute: chmod -R 777 /opt/iobroker
Chmod finished. Restart controller
Starting node restart.js
pi@iobrocker:/opt/iobroker $ ^C
pi@iobrocker:/opt/iobroker $ dir
backups install lib README.md
CHANGELOG_FIXER_LINUX.md INSTALLER_INFO.txt LICENSE reinstall.js
CHANGELOG_INSTALLER_LINUX.md iob log
etc iobroker node_modules
fix_installation.sh iobroker-data package.json
pi@iobrocker:/opt/iobroker $@freaktech Nach diesem Post sollte es helfen, den NPM-Cache zu reparieren:
npm cache verifydann erneut probieren.
-
@AlCalzone said in PI4 Lässt JS Kontrollupdaten:
npm cache verify
leider bringt res auch keinen Erfolg
pi@iobrocker:/opt/iobroker $ npm cache verify
Cache verified and compressed (~/.npm/_cacache):
Content verified: 1488 (56506421 bytes)
Content garbage-collected: 65 (2812582 bytes)
Index entries: 2519
Finished in 12.571s
pi@iobrocker:/opt/iobroker $ sudo iobroker upgrade self
Update js-controller from @1.5.14 to @2.0.25
NPM version: 6.12.0
npm install iobroker.js-controller@2.0.25 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/require-main-filename: Integrity verification failed for sha512-mt/8/lQDEN6TRunL156JlOqfF1v32IYOe2Ey6+rn43FdBDLSNSblDErg9i/vfuLWA0PWo/NS6vOwM8iCP+SaSg== (/home/iobroker/.npm/_cacache/content-v2/sha512/9a/df/fcfe540310de9346e9cbd79e8994ea9f175bf7d8860e7b6132ebeae7e3715d0432d23526e50c4ae0f62fef7ee2d60343d6a3f352eaf3b033c8823fe49a4a)npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2019-10-13T16_40_06_853Z-debug.log
Host "iobrocker" (linux) updated
Execute: chmod -R 777 /opt/iobroker
Chmod finished. Restart controller -
@freaktech sagte in PI4 Lässt JS Kontrolle nicht updaten:
hat noch wer eine Idee?
lg
tomSchon 2.0.29 latest installiert?
-
@freaktech sagte in PI4 Lässt JS Kontrolle nicht updaten:
hat noch wer eine Idee?
lg
tomSchon 2.0.29 latest installiert?
-
@freaktech sagte in PI4 Lässt JS Kontrolle nicht updaten:
hat noch wer eine Idee?
Die Holzhammer-Methode (bitte vorher Backup machen, falls die Installation dann immer noch nicht klappt):
cd /opt/iobroker rm package-lock.json rm -rf node_modules npm cache clear --force npm i --production --ignore-scripts -
@AlCalzone sagte in PI4 Lässt JS Kontrolle nicht updaten:
@sigi234 Das versucht er doch
Ja, aber nochmal
-
@AlCalzone sagte in PI4 Lässt JS Kontrolle nicht updaten:
@sigi234 Das versucht er doch
Ja, aber nochmal
-
@AlCalzone sagte in PI4 Lässt JS Kontrolle nicht updaten:
@sigi234 Bitte lesen... Er versucht es -
npmlässt ihn nicht...Ja dachte weil Warning ENODATA: Cache input stream was empty
-
genau, geht heute genausowenig wie gestern
pi@iobrocker:/opt/iobroker $ sudo iobroker upgrade self
Update js-controller from @1.5.14 to @2.0.25
NPM version: 6.12.0
npm install iobroker.js-controller@2.0.25 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/y18n: Integrity verification failed for sha512-nT7014PDaWpa3jrXmq1tS07aiudLEjWmD1iEbLzOxO/4+6DMqVptZ1Scz5PnnN/haHCZTAmWOMNvHKfY32wv9A== (/home/iobroker/.npm/_cacache/content-v2/sha512/9d/3e/f4d783c3696a5ade3ad79aad6d4b4eda8ae74b1235a60f58846cbccec4eff8fba0cca95a6d67549ccf93e79cdfe16870994c099638c36f1ca7d8df6c2ff4)npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2019-10-14T07_22_48_474Z-debug.log
Host "iobrocker" (linux) updated
Execute: chmod -R 777 /opt/iobroker
Chmod finished. Restart controller
Starting node restart.js -
@AlCalzone said in PI4 Lässt JS Kontrolle nicht updaten:
cd /opt/iobroker rm package-lock.json rm -rf node_modules npm cache clear --force npm i production --ignore-scriptssoll ich das probieren?
-
@AlCalzone said in PI4 Lässt JS Kontrolle nicht updaten:
cd /opt/iobroker rm package-lock.json rm -rf node_modules npm cache clear --force npm i production --ignore-scriptssoll ich das probieren?
@freaktech sagte in PI4 Lässt JS Kontrolle nicht updaten:
@AlCalzone said in PI4 Lässt JS Kontrolle nicht updaten:
cd /opt/iobroker rm package-lock.json rm -rf node_modules npm cache clear --force npm i production --ignore-scriptssoll ich das probieren?
Was kommt bei:
cd /opt/iobroker
iobroker list instances
node -v
nodejs -v
npm -v -
@freaktech sagte in PI4 Lässt JS Kontrolle nicht updaten:
@AlCalzone said in PI4 Lässt JS Kontrolle nicht updaten:
cd /opt/iobroker rm package-lock.json rm -rf node_modules npm cache clear --force npm i production --ignore-scriptssoll ich das probieren?
Was kommt bei:
cd /opt/iobroker
iobroker list instances
node -v
nodejs -v
npm -v@sigi234 Es ist nett dass du helfen willst, aber bitte kein Durcheinander hier rein bringen.
Das Problem liegt nicht an ioBroker, sondern npm. Die Version von npm steht oben bereits.@freaktech Ja, aber bitte mit den richtigen Zeilenumbrüchen

-
@sigi234 Es ist nett dass du helfen willst, aber bitte kein Durcheinander hier rein bringen.
Das Problem liegt nicht an ioBroker, sondern npm. Die Version von npm steht oben bereits.@freaktech Ja, aber bitte mit den richtigen Zeilenumbrüchen

@AlCalzone sagte in PI4 Lässt JS Kontrolle nicht updaten:
@sigi234 Es ist nett dass du helfen willst, aber bitte kein Durcheinander hier rein bringen.
Das Problem liegt nicht an ioBroker, sondern npm. Die Version von npm steht oben bereits.Duck und weg.
-
ich hab jetzt das gemacht, scheinbar startet iobroker nun nicht mehr, bitte um Hilfe
[boolean]
pi@iobrocker:/opt/iobroker $ sudo iobroker upgrade self
Update js-controller from @1.5.14 to @2.0.25
NPM version: 6.12.0
npm install iobroker.js-controller@2.0.25 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/y18n: Integrity verification failed for sha512-nT7014PDaWpa3jrXmq1tS07aiudLEjWmD1iEbLzOxO/4+6DMqVptZ1Scz5PnnN/haHCZTAmWOMNvHKfY32wv9A== (/home/iobroker/.npm/_cacache/content-v2/sha512/9d/3e/f4d783c3696a5ade3ad79aad6d4b4eda8ae74b1235a60f58846cbccec4eff8fba0cca95a6d67549ccf93e79cdfe16870994c099638c36f1ca7d8df6c2ff4)npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2019-10-14T07_22_48_474Z-debug.log
Host "iobrocker" (linux) updated
Execute: chmod -R 777 /opt/iobroker
Chmod finished. Restart controller
Starting node restart.js
pi@iobrocker:/opt/iobroker $ sudo iobroker start
pi@iobrocker:/opt/iobroker $ ^C
pi@iobrocker:/opt/iobroker $ rm package-lock.json
rm: das Entfernen von 'package-lock.json' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
pi@iobrocker:/opt/iobroker $ rm -rf node_modules
pi@iobrocker:/opt/iobroker $ npm cache clear --force
npm WARN using --force I sure hope you know what you are doing.
pi@iobrocker:/opt/iobroker $ npm i production --ignore-scripts
npm WARN deprecated CSSselect@0.7.0: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'- production@0.0.2
added 29 packages from 55 contributors and audited 34 packages in 9.087s
found 3 moderate severity vulnerabilities
runnpm audit fixto fix them, ornpm auditfor details
pi@iobrocker:/opt/iobroker $ sudo iobroker upgrade self
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
pi@iobrocker:/opt/iobroker $ sudo iobroker update
internal/modules/cjs/loader.js:583
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
pi@iobrocker:/opt/iobroker $ sudo iobroker stoppi@iobrocker:/opt/iobroker $
pi@iobrocker:/opt/iobroker $ sudo iobroker upgrade self
internal/modules/cjs/loader.js:583
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
pi@iobrocker:/opt/iobroker $ sudo iobroker update
internal/modules/cjs/loader.js:583
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
pi@iobrocker:/opt/iobroker $ sudo iobroker start
pi@iobrocker:/opt/iobroker $ - production@0.0.2
-
ich hab jetzt das gemacht, scheinbar startet iobroker nun nicht mehr, bitte um Hilfe
[boolean]
pi@iobrocker:/opt/iobroker $ sudo iobroker upgrade self
Update js-controller from @1.5.14 to @2.0.25
NPM version: 6.12.0
npm install iobroker.js-controller@2.0.25 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/y18n: Integrity verification failed for sha512-nT7014PDaWpa3jrXmq1tS07aiudLEjWmD1iEbLzOxO/4+6DMqVptZ1Scz5PnnN/haHCZTAmWOMNvHKfY32wv9A== (/home/iobroker/.npm/_cacache/content-v2/sha512/9d/3e/f4d783c3696a5ade3ad79aad6d4b4eda8ae74b1235a60f58846cbccec4eff8fba0cca95a6d67549ccf93e79cdfe16870994c099638c36f1ca7d8df6c2ff4)npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2019-10-14T07_22_48_474Z-debug.log
Host "iobrocker" (linux) updated
Execute: chmod -R 777 /opt/iobroker
Chmod finished. Restart controller
Starting node restart.js
pi@iobrocker:/opt/iobroker $ sudo iobroker start
pi@iobrocker:/opt/iobroker $ ^C
pi@iobrocker:/opt/iobroker $ rm package-lock.json
rm: das Entfernen von 'package-lock.json' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
pi@iobrocker:/opt/iobroker $ rm -rf node_modules
pi@iobrocker:/opt/iobroker $ npm cache clear --force
npm WARN using --force I sure hope you know what you are doing.
pi@iobrocker:/opt/iobroker $ npm i production --ignore-scripts
npm WARN deprecated CSSselect@0.7.0: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'- production@0.0.2
added 29 packages from 55 contributors and audited 34 packages in 9.087s
found 3 moderate severity vulnerabilities
runnpm audit fixto fix them, ornpm auditfor details
pi@iobrocker:/opt/iobroker $ sudo iobroker upgrade self
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
pi@iobrocker:/opt/iobroker $ sudo iobroker update
internal/modules/cjs/loader.js:583
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
pi@iobrocker:/opt/iobroker $ sudo iobroker stoppi@iobrocker:/opt/iobroker $
pi@iobrocker:/opt/iobroker $ sudo iobroker upgrade self
internal/modules/cjs/loader.js:583
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
pi@iobrocker:/opt/iobroker $ sudo iobroker update
internal/modules/cjs/loader.js:583
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
pi@iobrocker:/opt/iobroker $ sudo iobroker start
pi@iobrocker:/opt/iobroker $@freaktech Ich blicke bei deinem Log-Auszug nicht ganz durch. Warum führst du ein
iobroker upgrade selfaus, bevor du die Befehle ausführst?Ansonsten ist mir noch ein Fehler unterlaufen... Das Kommando war falsch:
npm i production --ignore-scriptsZum Beheben:
cd /opt/iobroker npm uninstall production --ignore-scripts npm i --production --ignore-scripts - production@0.0.2
-
so jetzt hab ich die Kacke scheinbar :-(
kann sich ein Profi mal bei Teamviewer draufhängen
bitte
@freaktech Ich hab dir gerade geantwortet. Zumindest npm scheint ja wieder zu tun - d.h. ich bin guter Hoffnung, dass es jetzt weiter geht.
Ansonsten gehts ja sicher jederzeit zurück mit dem Backup, welches du vor der Holzhammermethode laut Anweisung erstellt hast?

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