NEWS
Error in Upgrade js-controller 3.1.6 zu 3.2.16
-
Hello,
I hope someone can help me on this topic. I tried to upgrade my system and ran into following errors. Should I just do a clean reinstall or is there a fix to my issue?

Thanks for reading!
-
Hello,
I hope someone can help me on this topic. I tried to upgrade my system and ran into following errors. Should I just do a clean reinstall or is there a fix to my issue?

Thanks for reading!
@marcel-k-0 right folder is
/opt/iobroker
switch into plz
cd /opt/iobrokerthen
iobroker update iobroker upgrade self -
@marcel-k-0 right folder is
/opt/iobroker
switch into plz
cd /opt/iobrokerthen
iobroker update iobroker upgrade self@arteck Thank you for you reply. Ich hab gesehen du postest auch in deutsch, deshalb wechsele ich mal die Sprache.
Leider habe ich auch in dem Verzeichnis noch den selben Fehler.

-
@arteck Thank you for you reply. Ich hab gesehen du postest auch in deutsch, deshalb wechsele ich mal die Sprache.
Leider habe ich auch in dem Verzeichnis noch den selben Fehler.

@marcel-k-0 was sagt dein node
node -v -
@marcel-k-0 was sagt dein node
node -v -
@marcel-k-0 dann mach so
cd /opt/iobroker npm i iobroker.js-controller@3.2.16 -
@marcel-k-0 dann mach so
cd /opt/iobroker npm i iobroker.js-controller@3.2.16Besser
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller@3.2.16 -
Besser
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller@3.2.16@thomas-braun und danach
iobroker fix -
@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
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
