NEWS
Erledigt: Iobroker slave startet nicht mehr
-
lsb_release -a sudo apt update sudo apt dist-upgrade sudo rebootAls pi ausgeführt dürfte
npm i iobroker.js-controller --productionauch für falsche Rechte sorgen.
iobroker fixmal probieren, sonst damit bitte:
sudo -H -u iobroker npm install iobroker.js-controller@Thomas-Braun sagte in Iobroker slave startet nicht mehr:
System ist aktuell:
pi@iobroker-garage-gross:/home/iobroker/.cache $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Release: 8.0 Codename: jessie pi@iobroker-garage-gross:/home/iobroker/.cache $ sudo apt update OK http://archive.raspberrypi.org jessie InRelease OK http://mirrordirector.raspbian.org jessie InRelease OK https://deb.nodesource.com jessie InRelease OK http://archive.raspberrypi.org jessie/main armhf Packages OK http://archive.raspberrypi.org jessie/ui armhf Packages OK http://mirrordirector.raspbian.org jessie/main armhf Packages OK http://mirrordirector.raspbian.org jessie/contrib armhf Packages OK http://mirrordirector.raspbian.org jessie/non-free armhf Packages OK http://mirrordirector.raspbian.org jessie/rpi armhf Packages Ign http://archive.raspberrypi.org jessie/main Translation-de_DE Ign http://archive.raspberrypi.org jessie/main Translation-de Ign http://archive.raspberrypi.org jessie/main Translation-en Ign http://archive.raspberrypi.org jessie/ui Translation-de_DE OK https://deb.nodesource.com jessie/main Sources Ign http://archive.raspberrypi.org jessie/ui Translation-de Ign http://archive.raspberrypi.org jessie/ui Translation-en OK https://deb.nodesource.com jessie/main armhf Packages Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en Ign http://mirrordirector.raspbian.org jessie/main Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/main Translation-de Holen: 1 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Ign http://mirrordirector.raspbian.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en Holen: 2 https://deb.nodesource.com jessie/main Translation-de [162 B] Holen: 3 https://deb.nodesource.com jessie/main Translation-en [162 B] Holen: 4 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Holen: 5 https://deb.nodesource.com jessie/main Translation-de [162 B] Holen: 6 https://deb.nodesource.com jessie/main Translation-en [162 B] Holen: 7 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Holen: 8 https://deb.nodesource.com jessie/main Translation-de [162 B] Holen: 9 https://deb.nodesource.com jessie/main Translation-en [162 B] Holen: 10 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Holen: 11 https://deb.nodesource.com jessie/main Translation-de [162 B] Holen: 12 https://deb.nodesource.com jessie/main Translation-en [162 B] Holen: 13 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Ign https://deb.nodesource.com jessie/main Translation-de_DE Holen: 14 https://deb.nodesource.com jessie/main Translation-de [162 B] Ign https://deb.nodesource.com jessie/main Translation-de Holen: 15 https://deb.nodesource.com jessie/main Translation-en [162 B] Ign https://deb.nodesource.com jessie/main Translation-en Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. pi@iobroker-garage-gross:/home/iobroker/.cache $ sudo apt dist-upgrade Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. pi@iobroker-garage-gross:/home/iobroker/.cache $Fix geht auch nicht bringt aber bisschen info:
pi@iobroker-garage-gross:/opt/iobroker $ iobroker fix library: loaded Library version=2020-06-12 ioBroker is not installed in /opt/iobroker! Cannot fix anything...Und der JS als User iobroker endet mit dem gleichen Fehler:
CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o ../src/diskusage_posix.cpp: In function ‘DiskUsage GetDiskUsage(const char*)’: ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_bsize’ [-Wmissing-field-initializers] struct statvfs info = {}; ^ ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_frsize’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_blocks’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_bfree’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_bavail’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_files’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_ffree’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_favail’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_fsid’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::__f_unused’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_flag’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_namemax’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::__f_spare’ [-Wmissing-field-initializers] SOLINK_MODULE(target) Release/obj.target/diskusage.node COPY Release/diskusage.node make: Leaving directory '/opt/iobroker/node_modules/diskusage/build' > iobroker.js-controller@3.1.6 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first undefined:1 SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2430:25) at setupObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:210:9) at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:843:13) at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:264:23) at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2601:5) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iobroker.js-controller@3.1.6 install: `node iobroker.js setup first` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.js-controller@3.1.6 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-11-23T14_13_15_119Z-debug.log -
@Thomas-Braun sagte in Iobroker slave startet nicht mehr:
System ist aktuell:
pi@iobroker-garage-gross:/home/iobroker/.cache $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Release: 8.0 Codename: jessie pi@iobroker-garage-gross:/home/iobroker/.cache $ sudo apt update OK http://archive.raspberrypi.org jessie InRelease OK http://mirrordirector.raspbian.org jessie InRelease OK https://deb.nodesource.com jessie InRelease OK http://archive.raspberrypi.org jessie/main armhf Packages OK http://archive.raspberrypi.org jessie/ui armhf Packages OK http://mirrordirector.raspbian.org jessie/main armhf Packages OK http://mirrordirector.raspbian.org jessie/contrib armhf Packages OK http://mirrordirector.raspbian.org jessie/non-free armhf Packages OK http://mirrordirector.raspbian.org jessie/rpi armhf Packages Ign http://archive.raspberrypi.org jessie/main Translation-de_DE Ign http://archive.raspberrypi.org jessie/main Translation-de Ign http://archive.raspberrypi.org jessie/main Translation-en Ign http://archive.raspberrypi.org jessie/ui Translation-de_DE OK https://deb.nodesource.com jessie/main Sources Ign http://archive.raspberrypi.org jessie/ui Translation-de Ign http://archive.raspberrypi.org jessie/ui Translation-en OK https://deb.nodesource.com jessie/main armhf Packages Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en Ign http://mirrordirector.raspbian.org jessie/main Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/main Translation-de Holen: 1 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Ign http://mirrordirector.raspbian.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en Holen: 2 https://deb.nodesource.com jessie/main Translation-de [162 B] Holen: 3 https://deb.nodesource.com jessie/main Translation-en [162 B] Holen: 4 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Holen: 5 https://deb.nodesource.com jessie/main Translation-de [162 B] Holen: 6 https://deb.nodesource.com jessie/main Translation-en [162 B] Holen: 7 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Holen: 8 https://deb.nodesource.com jessie/main Translation-de [162 B] Holen: 9 https://deb.nodesource.com jessie/main Translation-en [162 B] Holen: 10 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Holen: 11 https://deb.nodesource.com jessie/main Translation-de [162 B] Holen: 12 https://deb.nodesource.com jessie/main Translation-en [162 B] Holen: 13 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Ign https://deb.nodesource.com jessie/main Translation-de_DE Holen: 14 https://deb.nodesource.com jessie/main Translation-de [162 B] Ign https://deb.nodesource.com jessie/main Translation-de Holen: 15 https://deb.nodesource.com jessie/main Translation-en [162 B] Ign https://deb.nodesource.com jessie/main Translation-en Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. pi@iobroker-garage-gross:/home/iobroker/.cache $ sudo apt dist-upgrade Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. pi@iobroker-garage-gross:/home/iobroker/.cache $Fix geht auch nicht bringt aber bisschen info:
pi@iobroker-garage-gross:/opt/iobroker $ iobroker fix library: loaded Library version=2020-06-12 ioBroker is not installed in /opt/iobroker! Cannot fix anything...Und der JS als User iobroker endet mit dem gleichen Fehler:
CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o ../src/diskusage_posix.cpp: In function ‘DiskUsage GetDiskUsage(const char*)’: ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_bsize’ [-Wmissing-field-initializers] struct statvfs info = {}; ^ ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_frsize’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_blocks’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_bfree’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_bavail’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_files’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_ffree’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_favail’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_fsid’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::__f_unused’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_flag’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_namemax’ [-Wmissing-field-initializers] ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::__f_spare’ [-Wmissing-field-initializers] SOLINK_MODULE(target) Release/obj.target/diskusage.node COPY Release/diskusage.node make: Leaving directory '/opt/iobroker/node_modules/diskusage/build' > iobroker.js-controller@3.1.6 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first undefined:1 SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2430:25) at setupObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:210:9) at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:843:13) at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:264:23) at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2601:5) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iobroker.js-controller@3.1.6 install: `node iobroker.js setup first` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.js-controller@3.1.6 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-11-23T14_13_15_119Z-debug.log@wendy2702 sagte in Iobroker slave startet nicht mehr:
Release: 8.0 Codename: jessie
Jessie ist tot. Installier eine noch unterstützte Distribution.
-
@wendy2702 sagte in Iobroker slave startet nicht mehr:
Release: 8.0 Codename: jessie
Jessie ist tot. Installier eine noch unterstützte Distribution.
Das Jessie "tot" ist weiß ich. Kann und wird aber nicht die Ursache sein denke ich. Lief ja bis gestern Einwandfrei.
Würde die Installation gerne wieder zum laufen bringen, ein aktuelles Backup ziehen und dann neu installieren, deshlab wäre es schön wenn jemand noch ne Idee hätte.
-
Das Jessie "tot" ist weiß ich. Kann und wird aber nicht die Ursache sein denke ich. Lief ja bis gestern Einwandfrei.
Würde die Installation gerne wieder zum laufen bringen, ein aktuelles Backup ziehen und dann neu installieren, deshlab wäre es schön wenn jemand noch ne Idee hätte.
@wendy2702 Raspi sauber runter gefahren oder einfach stromlos gemacht? Könnte auch defektes Filesystem oder Sd-Karte sein.
Gruß, Jürgen
-
@wendy2702 Raspi sauber runter gefahren oder einfach stromlos gemacht? Könnte auch defektes Filesystem oder Sd-Karte sein.
Gruß, Jürgen
-
@Wildbill Also der Raspi war aus als ich vorhin in der Garage war.
Warum, wieso kann ich nicht sagen. Ob es in irgendeinem Zusammenhang mit dem defekten Switch steht weiß ich nicht.
-
@Thomas-Braun sagte in Iobroker slave startet nicht mehr:
dmesg
pi@iobroker-garage-gross:/opt/iobroker $ ls -la /usr/bin/iobroker lrwxrwxrwx 1 root root 22 Apr 21 2020 /usr/bin/iobroker -> /opt/iobroker/iobroker pi@iobroker-garage-gross:/opt/iobroker $ ls -la /opt/iobroker/iobroker -rwxrwxrwx+ 1 iobroker iobroker 303 Apr 21 2020 /opt/iobroker/iobroker pi@iobroker-garage-gross:/opt/iobroker $ -
@Thomas-Braun sagte in Iobroker slave startet nicht mehr:
dmesg
pi@iobroker-garage-gross:/opt/iobroker $ ls -la /usr/bin/iobroker lrwxrwxrwx 1 root root 22 Apr 21 2020 /usr/bin/iobroker -> /opt/iobroker/iobroker pi@iobroker-garage-gross:/opt/iobroker $ ls -la /opt/iobroker/iobroker -rwxrwxrwx+ 1 iobroker iobroker 303 Apr 21 2020 /opt/iobroker/iobroker pi@iobroker-garage-gross:/opt/iobroker $@wendy2702
Das sieht soweit unauffällig aus.node sauber?
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs -
@Thomas-Braun sagte in Iobroker slave startet nicht mehr:
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
pi@iobroker-garage-gross:/opt/iobroker $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v10.23.0 /usr/bin/node v10.23.0 /usr/bin/npm 6.14.9 E: Ungültige Operation policy pi@iobroker-garage-gross:/opt/iobroker $ -
@Thomas-Braun sagte in Iobroker slave startet nicht mehr:
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
pi@iobroker-garage-gross:/opt/iobroker $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v10.23.0 /usr/bin/node v10.23.0 /usr/bin/npm 6.14.9 E: Ungültige Operation policy pi@iobroker-garage-gross:/opt/iobroker $ -
@wendy2702 Aber hoffentlich nicht mehr auf dem toten Pferd Jessie
-
@wendy2702 Aber hoffentlich nicht mehr auf dem toten Pferd Jessie
Natürlich nicht:

Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
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