NEWS
Error in Upgrade js-controller 3.1.6 zu 3.2.16
-
@thomas-braun und danach
iobroker fix@arteck
Schaden kann es nicht.
Aber mitsudo -H -u iobrokervorweg werden die Rechte gleich richtig gesetzt.
-
Besser
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller@3.2.16@thomas-braun @arteck
Hi Leute,
leider auch mit diesen Befehlen kein Erfolg gehabt:
Vielleicht doch alles neu installieren?
-
@thomas-braun @arteck
Hi Leute,
leider auch mit diesen Befehlen kein Erfolg gehabt:
Vielleicht doch alles neu installieren?
@marcel-k-0 mach ein
sudo rm - R /opt/iobroker/node_modules/rimrafund dann nochmal
sudo -H -u iobroker npm install iobroker.js-controller@3.2.16 -
@marcel-k-0 mach ein
sudo rm - R /opt/iobroker/node_modules/rimrafund dann nochmal
sudo -H -u iobroker npm install iobroker.js-controller@3.2.16@arteck said in Error in Upgrade js-controller 3.1.6 zu 3.2.16:
sudo -H -u iobroker npm install iobroker.js-controller@3.2.16
Geht leider nicht.

-
@arteck said in Error in Upgrade js-controller 3.1.6 zu 3.2.16:
sudo -H -u iobroker npm install iobroker.js-controller@3.2.16
Geht leider nicht.

sudo rm -R /opt/iobroker/node_modules/rimrafUnd bitte keine Screenshots von KonsolenTEXT, die kann man so schlecht kopieren.
Bitte Ausgaben der Konsole in CodeTags einbetten.

-
sudo rm -R /opt/iobroker/node_modules/rimrafUnd bitte keine Screenshots von KonsolenTEXT, die kann man so schlecht kopieren.
Bitte Ausgaben der Konsole in CodeTags einbetten.

@thomas-braun Okay ich konnte das Verzeichnis löschen, leider trotzdem kein Erfolg beim installieren.
pi@raspberrypi:/opt/iobroker $ sudo rm -R /opt/iobroker/node_modules/rimraf pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller@3.2.16 npm ERR! Unexpected end of JSON input while parsing near '... https://openpgpjs.or' npm ERR! A complete log of this run can be found in: npm ERR! [2021-06-08T00_39_31_043Z-debug.log](/assets/uploads/files/1623113026827-2021-06-08t00_39_31_043z-debug.log) /home/iobroker/.npm/_logs/2021-06-08T00_39_31_043Z-debug.logHier auch das referenzierte logfile 2021-06-08T00_39_31_043Z-debug.log
Danke nochmal für eure Hilfe und Geduld :)
-
@thomas-braun Okay ich konnte das Verzeichnis löschen, leider trotzdem kein Erfolg beim installieren.
pi@raspberrypi:/opt/iobroker $ sudo rm -R /opt/iobroker/node_modules/rimraf pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller@3.2.16 npm ERR! Unexpected end of JSON input while parsing near '... https://openpgpjs.or' npm ERR! A complete log of this run can be found in: npm ERR! [2021-06-08T00_39_31_043Z-debug.log](/assets/uploads/files/1623113026827-2021-06-08t00_39_31_043z-debug.log) /home/iobroker/.npm/_logs/2021-06-08T00_39_31_043Z-debug.logHier auch das referenzierte logfile 2021-06-08T00_39_31_043Z-debug.log
Danke nochmal für eure Hilfe und Geduld :)
@marcel-k-0 da scheint bei dir im npm Cache oder bei npm und damit netzwerkebene was komisch zu sein. Npm Cache löschen („npm cache clean“ oder so ähnlich ausführen) bzw nochmal versuchen.
-
@thomas-braun Okay ich konnte das Verzeichnis löschen, leider trotzdem kein Erfolg beim installieren.
pi@raspberrypi:/opt/iobroker $ sudo rm -R /opt/iobroker/node_modules/rimraf pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller@3.2.16 npm ERR! Unexpected end of JSON input while parsing near '... https://openpgpjs.or' npm ERR! A complete log of this run can be found in: npm ERR! [2021-06-08T00_39_31_043Z-debug.log](/assets/uploads/files/1623113026827-2021-06-08t00_39_31_043z-debug.log) /home/iobroker/.npm/_logs/2021-06-08T00_39_31_043Z-debug.logHier auch das referenzierte logfile 2021-06-08T00_39_31_043Z-debug.log
Danke nochmal für eure Hilfe und Geduld :)
-
@arteck
Immer noch kein Erfolg. Soll ich mal das npm update ausführen, welches hier anpriesen wird?pi@raspberrypi:~ $ npm cache clean --force npm WARN using --force I sure hope you know what you are doing. ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ® â â â New major version of npm available! 6.14.12 -> 7.16.0 â â Changelog: https://github.com/npm/cli/releases/tag/v7.16.0 â â Run npm install -g npm to update! â â â â°ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ⯠pi@raspberrypi:~ $ sudo -H -u iobroker npm install iobroker.js-controller@3.2.16 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! Unexpected end of JSON input while parsing near '... https://openpgpjs.or' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-06-08T10_57_46_269Z-debug.log -
@arteck
Immer noch kein Erfolg. Soll ich mal das npm update ausführen, welches hier anpriesen wird?pi@raspberrypi:~ $ npm cache clean --force npm WARN using --force I sure hope you know what you are doing. ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ® â â â New major version of npm available! 6.14.12 -> 7.16.0 â â Changelog: https://github.com/npm/cli/releases/tag/v7.16.0 â â Run npm install -g npm to update! â â â â°ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ⯠pi@raspberrypi:~ $ sudo -H -u iobroker npm install iobroker.js-controller@3.2.16 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! Unexpected end of JSON input while parsing near '... https://openpgpjs.or' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-06-08T10_57_46_269Z-debug.log -
@arteck Auch das geht nicht. Verzeichnis rimraf nicht vorhanden.
pi@raspberrypi:~ $ sudo npm cache clean --force npm WARN using --force I sure hope you know what you are doing. pi@raspberrypi:~ $ sudo -H -u iobroker npm install iobroker.js-controller@3.2.16 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! Unexpected end of JSON input while parsing near '..."1.19.0","rimraf":"^2' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-06-08T12_59_29_218Z-debug.log pi@raspberrypi:~ $ sudo rm -R /opt/iobroker/node_modules/rimraf rm: das Entfernen von '/opt/iobroker/node_modules/rimraf' ist nicht möglich: Datei oder Verzeichnis nicht gefunden -
@arteck Auch das geht nicht. Verzeichnis rimraf nicht vorhanden.
pi@raspberrypi:~ $ sudo npm cache clean --force npm WARN using --force I sure hope you know what you are doing. pi@raspberrypi:~ $ sudo -H -u iobroker npm install iobroker.js-controller@3.2.16 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! Unexpected end of JSON input while parsing near '..."1.19.0","rimraf":"^2' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-06-08T12_59_29_218Z-debug.log pi@raspberrypi:~ $ sudo rm -R /opt/iobroker/node_modules/rimraf rm: das Entfernen von '/opt/iobroker/node_modules/rimraf' ist nicht möglich: Datei oder Verzeichnis nicht gefunden -
Ahhhhh ... stop ... the cache clean needs to run as ipbroker user!!!
sudo -u iobroker -H npm cache clean --force@apollon77 ach jo der hat ja auch einz... da bin ich letzten auch drauf reingefallen
-
Ahhhhh ... stop ... the cache clean needs to run as ipbroker user!!!
sudo -u iobroker -H npm cache clean --force@apollon77 @arteck
Vielen Dank für eure Hilfe ich glaube es ist jetzt erfolgreich durchgelaufen! Mal sehen ob alle Adapter und Skripte noch laufen :)pi@raspberrypi:~ $ sudo -u iobroker -H npm cache clean --force npm WARN using --force I sure hope you know what you are doing. pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller@3.2.16 > iobroker.js-controller@3.2.16 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.12 > iobroker.js-controller@3.2.16 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first object _design/system updated Renamed repository "default to "stable" Renamed repository "latest to "beta" > @root/acme@3.1.0 postinstall /opt/iobroker/node_modules/@root/acme > node scripts/postinstall npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.js-controller@3.2.16 added 38 packages from 12 contributors, removed 29 packages, updated 50 packages and moved 1 package in 114.713s 49 packages are looking for funding run `npm fund` for details ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ® â â â New major version of npm available! 6.14.12 -> 7.16.0 â â Changelog: https://github.com/npm/cli/releases/tag/v7.16.0 â â Run npm install -g npm to update! â â â â°ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ⯠pi@raspberrypi:/opt/iobroker $ iobroker fix iobroker fix Execute the installation fixer script, this updates your ioBroker installation Options: --help Show help [boolean] -v, --version Show version [boolean]
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