NEWS
iobroker startet nicht mehr
-
Hallo,
ich habe gestern den Admin von5.x auf die neuestes v6 aktualisiert. lief gestern auch problemlos. Danach noch den influx Adpater installiert aber ersteinmal deaktiviert.
Nachts macht mein Pi einen reboot und dann ein Backup.
Heute morgen lief der iobroker nicht mehr.
Habe den Pi rebootet und auch einmal aus und wieder an gemacht. iobroker fix mehrmals laufen lassen. Die Fehlermeldungen haben sich geändert, das Resultat leider nicht.
Wenn ich iobroker status aufrufe bekomme ich folgenden output:pi@ioBroker-RasPi4:~ $ iob status /opt/iobroker/node_modules/graceful-fs/polyfills.js:1 SyntaxError: Invalid or unexpected token at Object.compileFunction (node:vm:360:18) at wrapSafe (node:internal/modules/cjs/loader:1055:15) at Module._compile (node:internal/modules/cjs/loader:1090:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) at Module.load (node:internal/modules/cjs/loader:1004:32) at Function.Module._load (node:internal/modules/cjs/loader:839:12) at Module.require (node:internal/modules/cjs/loader:1028:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/opt/iobroker/node_modules/graceful-fs/graceful-fs.js:2:17) at Module._compile (node:internal/modules/cjs/loader:1126:14)Dazu auch gleich meine npm/node informationen:
pi@ioBroker-RasPi4:~ $ nodejs -v && node -v && npm -v && which nodejs && which node && which npm v16.17.0 v16.17.0 8.15.0 /usr/bin/nodejs /usr/bin/node /usr/bin/npmZu den Fehlern oben konnte ich leider nichts finden.
Beim Fixer bekomme ich auch noch Warnungen:========================================================================== Installing prerequisites (1/3) ========================================================================== OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:2 https://deb.nodesource.com/node_16.x buster InRelease OK:3 http://archive.raspberrypi.org/debian buster InRelease Fehl:4 http://giteduberger.fr rpimonitor/ InRelease 500 Internal Server Error [IP: 213.186.33.17 80] Holen:5 https://packages.grafana.com/oss/deb stable InRelease [5.813 B] Paketlisten werden gelesen... Fertig E: Für das Depot »https://packages.grafana.com/oss/deb stable InRelease« wurde der »Origin«-Wert von »grafana stable« in ». stable« geändert. E: Für das Depot »https://packages.grafana.com/oss/deb stable InRelease« wurde der »Label«-Wert von »grafana stable« in ». stable« geändert. N: Sie müssen dies explizit bestätigen, bevor Aktualisierungen von diesem Depot angewendet werden können. Lesen Sie die apt-secure(8)-Handbuchseite, wenn Sie weitere Informationen benötigen. Installed gcc-c++Der Abschluss ist aber erfolgreich.
Weiss jemand Rat?
Danke
Jens@jkalver sagte in iobroker startet nicht mehr:
Nachts macht mein Pi einen reboot
Warum eigentlich? Lass die Kiste tunlichst durchlaufen.
-
@jkalver sagte in iobroker startet nicht mehr:
Nachts macht mein Pi einen reboot
Warum eigentlich? Lass die Kiste tunlichst durchlaufen.
@thomas-braun
Ich hatte früher immer wieder mal Probleme und ein reboot hat öfter mal geholfen.Mein Problem ist aber immer noch nicht weg.
Habe ich eine korrupte SD-Karte? Die Meldung beim Login ist mir neu.Last login: Sun Nov 13 13:18:18 2022 from 192.168.1.212 rfkill: cannot open /dev/rfkill: Keine Berechtigung rfkill: cannot read /dev/rfkill: Ungültiger Dateideskriptor pi@ioBroker-RasPi4:~ $ ps -ef|grep iobroker pi 1317 1230 0 13:21 pts/0 00:00:00 grep --color=auto iobroker pi@ioBroker-RasPi4:~ $ iobroker start pi@ioBroker-RasPi4:~ $ iobroker status /opt/iobroker/node_modules/graceful-fs/polyfills.js:1 SyntaxError: Invalid or unexpected token at Object.compileFunction (node:vm:360:18) at wrapSafe (node:internal/modules/cjs/loader:1084:15) at Module._compile (node:internal/modules/cjs/loader:1119:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10) at Module.load (node:internal/modules/cjs/loader:1033:32) at Function.Module._load (node:internal/modules/cjs/loader:868:12) at Module.require (node:internal/modules/cjs/loader:1057:19) at require (node:internal/modules/cjs/helpers:103:18) at Object.<anonymous> (/opt/iobroker/node_modules/graceful-fs/graceful-fs.js:2:17) at Module._compile (node:internal/modules/cjs/loader:1155:14) pi@ioBroker-RasPi4:~ $ -
@thomas-braun
Ich hatte früher immer wieder mal Probleme und ein reboot hat öfter mal geholfen.Mein Problem ist aber immer noch nicht weg.
Habe ich eine korrupte SD-Karte? Die Meldung beim Login ist mir neu.Last login: Sun Nov 13 13:18:18 2022 from 192.168.1.212 rfkill: cannot open /dev/rfkill: Keine Berechtigung rfkill: cannot read /dev/rfkill: Ungültiger Dateideskriptor pi@ioBroker-RasPi4:~ $ ps -ef|grep iobroker pi 1317 1230 0 13:21 pts/0 00:00:00 grep --color=auto iobroker pi@ioBroker-RasPi4:~ $ iobroker start pi@ioBroker-RasPi4:~ $ iobroker status /opt/iobroker/node_modules/graceful-fs/polyfills.js:1 SyntaxError: Invalid or unexpected token at Object.compileFunction (node:vm:360:18) at wrapSafe (node:internal/modules/cjs/loader:1084:15) at Module._compile (node:internal/modules/cjs/loader:1119:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10) at Module.load (node:internal/modules/cjs/loader:1033:32) at Function.Module._load (node:internal/modules/cjs/loader:868:12) at Module.require (node:internal/modules/cjs/loader:1057:19) at require (node:internal/modules/cjs/helpers:103:18) at Object.<anonymous> (/opt/iobroker/node_modules/graceful-fs/graceful-fs.js:2:17) at Module._compile (node:internal/modules/cjs/loader:1155:14) pi@ioBroker-RasPi4:~ $@jkalver sagte in iobroker startet nicht mehr:
Habe ich eine korrupte SD-Karte?
Gut möglich.
dmesg -T | grep -i ext4sagt?
-
@jkalver sagte in iobroker startet nicht mehr:
Habe ich eine korrupte SD-Karte?
Gut möglich.
dmesg -T | grep -i ext4sagt?
@thomas-braun said in iobroker startet nicht mehr:
dmesg -T | grep -i ext4
sieht ersteinmal gut aus.
pi@ioBroker-RasPi4:~ $ dmesg -T | grep -i ext4 [So Nov 13 13:18:41 2022] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:A4:BB:57 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=52e4cf4c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [So Nov 13 13:18:42 2022] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [So Nov 13 13:18:42 2022] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [So Nov 13 13:18:46 2022] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) pi@ioBroker-RasPi4:~ $NPM graceful-fs neu installieren?
-
@thomas-braun said in iobroker startet nicht mehr:
dmesg -T | grep -i ext4
sieht ersteinmal gut aus.
pi@ioBroker-RasPi4:~ $ dmesg -T | grep -i ext4 [So Nov 13 13:18:41 2022] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:A4:BB:57 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=52e4cf4c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [So Nov 13 13:18:42 2022] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [So Nov 13 13:18:42 2022] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [So Nov 13 13:18:46 2022] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) pi@ioBroker-RasPi4:~ $NPM graceful-fs neu installieren?
@jkalver sagte in iobroker startet nicht mehr:
NPM graceful-fs neu installieren?
Da bist du noch nicht...
rfkillsagt?
-
Hab jetzt zwar nicht den kompletten Beitrag gelesen aber ist da vll u.U. was krumm installiert ?
node, npm passt zusammen ? -
@jkalver sagte in iobroker startet nicht mehr:
NPM graceful-fs neu installieren?
Da bist du noch nicht...
rfkillsagt?
pi@ioBroker-RasPi4:~ $ rfkill rfkill: cannot open /dev/rfkill: Keine Berechtigung rfkill: cannot read /dev/rfkill: Ungültiger Dateideskriptor pi@ioBroker-RasPi4:~ $ -
pi@ioBroker-RasPi4:~ $ rfkill rfkill: cannot open /dev/rfkill: Keine Berechtigung rfkill: cannot read /dev/rfkill: Ungültiger Dateideskriptor pi@ioBroker-RasPi4:~ $@jkalver sagte in iobroker startet nicht mehr:
ls -l /dev/rfkill -
@jkalver sagte in iobroker startet nicht mehr:
ls -l /dev/rfkill@thomas-braun
ist dapi@ioBroker-RasPi4:~ $ ls -l /dev/rfkill crw------- 1 root root 10, 242 Nov 13 13:17 /dev/rfkill pi@ioBroker-RasPi4:~ $ich habe noch einen Eintrag dazu gefunden: https://github.com/mschlenstedt/Loxberry/issues/979
-
@thomas-braun
ist dapi@ioBroker-RasPi4:~ $ ls -l /dev/rfkill crw------- 1 root root 10, 242 Nov 13 13:17 /dev/rfkill pi@ioBroker-RasPi4:~ $ich habe noch einen Eintrag dazu gefunden: https://github.com/mschlenstedt/Loxberry/issues/979
@jkalver sagte in iobroker startet nicht mehr:
ist da
Aber mit falschen Attributen. So muss das aussehen:
echad@chet:~ $ ls -l /dev/rfkill crw-rw-r-- 1 root netdev 10, 242 Nov 13 01:24 /dev/rfkillKnall das nochmal drüber:
sudo apt install --reinstall rfkill -
@jkalver sagte in iobroker startet nicht mehr:
ist da
Aber mit falschen Attributen. So muss das aussehen:
echad@chet:~ $ ls -l /dev/rfkill crw-rw-r-- 1 root netdev 10, 242 Nov 13 01:24 /dev/rfkillKnall das nochmal drüber:
sudo apt install --reinstall rfkill@thomas-braun
Da ist echt der Wurm drinnen.pi@ioBroker-RasPi4:~ $ sudo apt install --reinstall rfkill Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig 0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 80,6 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt. Holen:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf rfkill armhf 2.33.1-0.1 [80,6 kB] Es wurden 80,6 kB in 1 s geholt (112 kB/s). debconf: Perl may be unconfigured (syntax error at /usr/lib/arm-linux-gnueabihf/perl/5.28/re.pm line 141, at EOF Missing right curly or square bracket at /usr/lib/arm-linux-gnueabihf/perl/5.28/re.pm line 141, at end of line Compilation failed in require at /usr/share/perl/5.28/Text/Wrap.pm line 58. BEGIN failed--compilation aborted at /usr/share/perl/5.28/Text/Wrap.pm line 58. Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 10. BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 10. Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8. BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8. Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7. BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7. Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10. Compilation failed in require at (eval 1) line 4. BEGIN failed--compilation aborted at (eval 1) line 4. ) -- aborting dpkg: nicht behebbarer fataler Fehler, Abbruch: »/var/lib/dpkg/updates/tmp.i« kann nicht angelegt werden: Die Struktur muss bereinigt werden E: Unterprozess dpkg --set-selections hat Fehlercode zurückgegeben (2) E: Couldn't clean the currently selected dpkg states pi@ioBroker-RasPi4:~ $ich hatte die Woche auch das Problem, dass ich keine Adapter mehr updaten konnte. Dafür hatte ich im Forum einen Befehl gefunden, der irgendwelche Dateien mit komischen Endungen entfernt. Danach ging das wieder.
-
@thomas-braun
Da ist echt der Wurm drinnen.pi@ioBroker-RasPi4:~ $ sudo apt install --reinstall rfkill Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig 0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 80,6 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt. Holen:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf rfkill armhf 2.33.1-0.1 [80,6 kB] Es wurden 80,6 kB in 1 s geholt (112 kB/s). debconf: Perl may be unconfigured (syntax error at /usr/lib/arm-linux-gnueabihf/perl/5.28/re.pm line 141, at EOF Missing right curly or square bracket at /usr/lib/arm-linux-gnueabihf/perl/5.28/re.pm line 141, at end of line Compilation failed in require at /usr/share/perl/5.28/Text/Wrap.pm line 58. BEGIN failed--compilation aborted at /usr/share/perl/5.28/Text/Wrap.pm line 58. Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 10. BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 10. Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8. BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8. Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7. BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7. Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10. Compilation failed in require at (eval 1) line 4. BEGIN failed--compilation aborted at (eval 1) line 4. ) -- aborting dpkg: nicht behebbarer fataler Fehler, Abbruch: »/var/lib/dpkg/updates/tmp.i« kann nicht angelegt werden: Die Struktur muss bereinigt werden E: Unterprozess dpkg --set-selections hat Fehlercode zurückgegeben (2) E: Couldn't clean the currently selected dpkg states pi@ioBroker-RasPi4:~ $ich hatte die Woche auch das Problem, dass ich keine Adapter mehr updaten konnte. Dafür hatte ich im Forum einen Befehl gefunden, der irgendwelche Dateien mit komischen Endungen entfernt. Danach ging das wieder.
Ich würde sagen, das Ding ist wrack.
Da wird immer wieder an irgendeiner Stelle irgendwas hochkommen.Neue SD-Karte, Neuinstallieren.
-
Ich würde sagen, das Ding ist wrack.
Da wird immer wieder an irgendeiner Stelle irgendwas hochkommen.Neue SD-Karte, Neuinstallieren.
@thomas-braun
ok, vielen Dank für Deine Zeit und Hilfe.Habe ja noch ein Backup
aus dem iobroker -
@thomas-braun
ok, vielen Dank für Deine Zeit und Hilfe.Habe ja noch ein Backup
aus dem iobrokerDann nimm jetzt kein Image mit obskuren Quellen, sondern ein 'Vanilla'-Bullseye-64bit-Lite als Grundinstallation.
-
Dann nimm jetzt kein Image mit obskuren Quellen, sondern ein 'Vanilla'-Bullseye-64bit-Lite als Grundinstallation.
@thomas-braun
Nochmals Danke für Deine Zeit und Arbeit Thomas.
System ist neu aufgesetzt, Backup eingespielt und 90% laufen wieder.
Der Rest kommt jetzt nach.Grusss´
Jens