NEWS
Backup funktioniert nicht mehr
-
@thomas-braun said in Backup funktioniert nicht mehr:
Kein swap? Warum hast du das ganz ausgeknipst? Was hast du sonst noch am System rumgeschraubt?
Das Swapping hab ich ausgeschaltet, um die SD-Karte zu schonen.....
Deshalb ja gestern meine Frage, ob es sinnvoll ist, ds swapping zu aktivieren zum Backup -
@norman sagte in Backup funktioniert nicht mehr:
Das Swapping hab ich ausgeschaltet, um die SD-Karte zu schonen.....
Dann hast du aber ein Problem an anderer Stelle, wenn swap dauerhaft benutzt wird. Das ganze ist als Notüberlauf konzipiert. Im Idealfall wird das nicht benutzt, sollte aber halt vorhanden sein.
-
@thomas-braun said in Backup funktioniert nicht mehr:
@norman sagte in Backup funktioniert nicht mehr:
Das Swapping hab ich ausgeschaltet, um die SD-Karte zu schonen.....
Dann hast du aber ein Problem an anderer Stelle, wenn swap dauerhaft benutzt wird. Das ganze ist der Notüberlauf konzipiert. Im Idealfall wird das nicht benutzt, sollte aber halt vorhanden sein.
Hab es gerade mit Swapping probiert, keine Änderung
-
@homoran said in Backup funktioniert nicht mehr:
@norman sagte in Backup funktioniert nicht mehr:
so wie es ausschaut, der JS-Controller:
und warum sortierst du nicht nach MEM?
Macht ja keinen Unterschied, bleibt trotzdem der JS-Controller:
1 [||||||||||| 10.8%] Tasks: 49, 227 thr; 4 running 2 [|||||||| 7.3%] Load average: 3.36 1.23 0.64 3 [||||||||||||||||||| 19.2%] Uptime: 1 day, 21:27:21 4 [|||||| 5.0%] Mem[||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||1.76G/1.82G] Swp[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||99.9M/100.0M] PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 14878 iobroker 20 0 1285M 1085M 6452 S 0.0 58.1 0:00.00 iobroker.js-controller 14879 iobroker 20 0 1285M 1085M 6452 S 0.0 58.1 0:03.30 iobroker.js-controller 14880 iobroker 20 0 1285M 1085M 6452 S 0.0 58.1 0:03.90 iobroker.js-controller 14881 iobroker 20 0 1285M 1085M 6452 S 0.0 58.1 0:03.55 iobroker.js-controller 14882 iobroker 20 0 1285M 1085M 6452 S 0.0 58.1 0:03.63 iobroker.js-controller 14871 iobroker 20 0 1285M 1085M 6452 R 12.9 58.1 7:27.81 iobroker.js-controller 14873 iobroker 20 0 1285M 1085M 6452 S 0.0 58.1 0:00.00 iobroker.js-controller 14874 iobroker 20 0 1285M 1085M 6452 S 1.1 58.1 0:46.98 iobroker.js-controller 14875 iobroker 20 0 1285M 1085M 6452 S 0.6 58.1 0:46.89 iobroker.js-controller 14876 iobroker 20 0 1285M 1085M 6452 S 1.7 58.1 0:46.78 iobroker.js-controller 14877 iobroker 20 0 1285M 1085M 6452 S 0.0 58.1 0:46.99 iobroker.js-controller 14922 iobroker 20 0 216M 101M 6716 S 1.7 5.4 1:37.05 io.javascript.0 14923 iobroker 20 0 216M 101M 6716 S 0.0 5.4 0:00.00 io.javascript.0 14924 iobroker 20 0 216M 101M 6716 S 0.0 5.4 0:01.63 io.javascript.0 14925 iobroker 20 0 216M 101M 6716 S 0.0 5.4 0:01.42 io.javascript.0 14926 iobroker 20 0 216M 101M 6716 S 0.0 5.4 0:01.65 io.javascript.0 14927 iobroker 20 0 216M 101M 6716 S 0.0 5.4 0:01.84 io.javascript.0 14928 iobroker 20 0 216M 101M 6716 S 0.0 5.4 0:00.00 io.javascript.0 14946 iobroker 20 0 216M 101M 6716 S 0.0 5.4 0:00.04 io.javascript.0 14947 iobroker 20 0 216M 101M 6716 S 0.0 5.4 0:00.04 io.javascript.0 14948 iobroker 20 0 216M 101M 6716 S 0.0 5.4 0:00.04 io.javascript.0 14949 iobroker 20 0 216M 101M 6716 S 0.0 5.4 0:00.04 io.javascript.0 15666 iobroker 20 0 159M 50940 9700 S 0.0 2.7 0:00.00 io.ring.0 15668 iobroker 20 0 159M 50940 9700 S 0.0 2.7 0:03.73 io.ring.0 15667 iobroker 20 0 159M 50940 9700 S 0.0 2.7 0:04.18 io.ring.0 15669 iobroker 20 0 159M 50940 9700 S 0.0 2.7 0:03.83 io.ring.0 15670 iobroker 20 0 159M 50940 9700 S 0.0 2.7 0:04.27 io.ring.0 15671 iobroker 20 0 159M 50940 9700 S 0.0 2.7 0:00.00 io.ring.0 15733 iobroker 20 0 159M 50940 9700 S 0.0 2.7 0:03.30 io.ring.0 15734 iobroker 20 0 159M 50900 9700 S 0.0 2.7 0:03.39 io.ring.0 15736 iobroker 20 0 159M 50884 9700 S 0.0 2.7 0:03.32 io.ring.0 15735 iobroker 20 0 159M 50884 9700 S 0.0 2.7 0:03.44 io.ring.0 15665 iobroker 20 0 159M 50884 9700 S 1.1 2.7 3:04.63 io.ring.0 14908 iobroker 20 0 161M 48272 5248 S 0.0 2.5 0:00.00 io.admin.0 14909 iobroker 20 0 161M 48272 5248 S 0.0 2.5 0:01.65 io.admin.0 14910 iobroker 20 0 161M 48272 5248 S 0.0 2.5 0:01.69 io.admin.0 14911 iobroker 20 0 161M 48272 5248 S 0.0 2.5 0:01.81 io.admin.0 14912 iobroker 20 0 161M 48272 5248 S 0.0 2.5 0:01.76 io.admin.0 14913 iobroker 20 0 161M 48272 5248 S 0.0 2.5 0:00.00 io.admin.0 14914 iobroker 20 0 161M 48272 5248 S 0.0 2.5 0:00.23 io.admin.0 14915 iobroker 20 0 161M 48272 5248 S 0.0 2.5 0:00.12 io.admin.0 14916 iobroker 20 0 161M 48272 5248 S 0.0 2.5 0:00.28 io.admin.0 14917 iobroker 20 0 161M 48272 5248 S 0.0 2.5 0:00.17 io.admin.0 14907 iobroker 20 0 161M 48272 5248 S 0.6 2.5 0:53.57 io.admin.0 15065 iobroker 20 0 166M 45812 712 S 0.0 2.4 0:00.00 io.zigbee.0 15066 iobroker 20 0 166M 45812 712 S 0.0 2.4 0:00.94 io.zigbee.0 15067 iobroker 20 0 166M 45812 712 S 0.0 2.4 0:00.91 io.zigbee.0 15068 iobroker 20 0 166M 45812 712 S 0.0 2.4 0:00.78 io.zigbee.0 15069 iobroker 20 0 166M 45812 712 S 0.0 2.4 0:00.78 io.zigbee.0 15070 iobroker 20 0 166M 45812 712 S 0.0 2.4 0:00.00 io.zigbee.0 15086 iobroker 20 0 166M 45812 712 S 0.0 2.4 0:00.06 io.zigbee.0 15087 iobroker 20 0 166M 45812 712 S 0.0 2.4 0:00.06 io.zigbee.0 15088 iobroker 20 0 166M 45812 712 S 0.0 2.4 0:00.06 io.zigbee.0 15089 iobroker 20 0 166M 45812 712 S 0.0 2.4 0:00.05 io.zigbee.0 F1Help F2Setup F3SearchF4FilterF5Tree F6SortByF7Nice -F8Nice +F9Kill F10Quit
-
@norman said in Backup funktioniert nicht mehr:
@thomas-braun said in Backup funktioniert nicht mehr:
Was hast du sonst noch am System rumgeschraubt?
Sonst nix, ehrlich nicht. Der Raspi kam so out of the Box, hab nur IObroker installiert und die Homebridge, wobei ich die nicht mehr nutze.
-
@norman Mein Rat … nimm ein neues Raspi minimal Image. Flashe eine Karte installiere iobroker nach Anleitung aus der offiziellen Doku und führe mit dem letzten funktionieren Backup einen Restore durch.
Dein System hat definitiv ein Problem.
Ist auch kein großes Ding … dauert ne halbe Stunde und dann noch mal ein Stündchen warten, bis alle Adapter laufen
-
@simatec said in Backup funktioniert nicht mehr:
@norman Mein Rat … nimm ein neues Raspi minimal Image. Flashe eine Karte installiere iobroker nach Anleitung aus der offiziellen Doku und führe mit dem letzten funktionieren Backup einen Restore durch.
Dein System hat definitiv ein Problem.
Ist auch kein großes Ding … dauert ne halbe Stunde und dann noch mal ein Stündchen warten, bis alle Adapter laufen
Ja, ich weiß, hab vor einem Jahr schonmal ein Backup eingespielt, das ging echt super.
Dachte nur, man könne es vermeiden weil mittlerweile 3 Adapter mehr da sind sowie VIS und Scripte.
Die Vis und die Scripte kann ich ja separat sichern, reicht es aus, wenn ich im Vis-Editor das Projekt exportiere und anschliessend wieder importiere? -
@norman Wann hast du denn dein letztes Backup gemacht?
-
@simatec said in Backup funktioniert nicht mehr:
@norman Wann hast du denn dein letztes Backup gemacht?
vor 4 Wochen. Aber in den letzten 4 Wochen habe ich noch eine Ring installiert sowie das Wallpanel für die Vis und die Vis neu aufgesetzt.
Wallpanel, MQTT und Ring sind jetzt nicht das große Problem, die hab ich schnell nochmal drauf, eher die Vis, da stecken jetzt 3 Wochen Arbeit drinne.
Deshalb wollte ich jetzt ja nochmal sichern und da fiel mir erst auf, dass Backitup nicht mehr geht. -
@norman Wenn ich Ring lese läuten bei mir alle Alarmglocken.
Wo liegen deine gespeicherten Videos und Snapshots? Mit großer Wahrscheinlichkeit in iobroker dir. Dann ist klar, warum iobroker bzw. dein System beim Backup in die Knie geht -
@simatec said in Backup funktioniert nicht mehr:
@norman Wenn ich Ring lese läuten bei mir alle Alarmglocken.
Wo liegen deine gespeicherten Videos und Snapshots? Mit großer Wahrscheinlichkeit in iobroker dir. Dann ist klar, warum iobroker bzw. dein System beim Backup in die Knie gehtNö, die hab ich alle deaktiviert weil das mit dem Adapter eh nicht richtig funktioniert.
Ausserdem hab ich in weiser Voraussicht auch schon den Ordner händisch geleert.... -
@norman
Was passiert denn, wenn du das Backup über die Konsole ausführst? -
@simatec said in Backup funktioniert nicht mehr:
@norman
Was passiert denn, wenn du das Backup über die Konsole ausführst?Genau das gleiche, blos das ich dann noch diese Fehlermeldungen im Log sehe:
-
@norman
Stoppe mal den iobroker und alle andere laufenden Prozesse auf deinem PI und führe danach das Backup durch -
@simatec said in Backup funktioniert nicht mehr:
@norman
Stoppe mal den iobroker und alle andere laufenden Prozesse auf deinem PI und führe danach das Backup durcher scheint dann zwar durchzulaufen ohne hängen zu bleiben
pi@raspberrypi:/home $ iobroker backup host.raspberrypi 3001 states saved host.raspberrypi 3582 objects saved /usr/bin/iobroker: Zeile 8: 1589 Get▒tet sudo -H -u iobroker no de /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
aber im Verzeichnis /opt/iobroker/backups wird nichts abgelegt
-
@norman sagte in Backup funktioniert nicht mehr:
sudo -H -u iobroker whoami
Auch mal die node-Installation geprüft?
sudo ln -s /usr/bin/node /usr/bin/nodejs which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
-
@thomas-braun said in Backup funktioniert nicht mehr:
@norman sagte in Backup funktioniert nicht mehr:
sudo -H -u iobroker whoami
Auch mal die node-Installation geprüft?
sudo ln -s /usr/bin/node /usr/bin/nodejs which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
Zu spät, bin gerade dabei neu aufzusetzen bzw. hab IObroker neu aufgesetzt.
Aber das Backup spielt gerade schon ewig ein, über 1,5 Stunden.
Ich weiß, das dauert lang, aber irgendwie hab ich das Gefühl da hängt was.
Der Admin ist auch nicht erreichbar, ist das normal?
Gibt es irgendwo eine Art LOG-Datei oder so um zu sehen, was er gerade am machen ist? -
@norman sagte in Backup funktioniert nicht mehr:
Gibt es irgendwo eine Art LOG-Datei oder so um zu sehen, was er gerade am machen ist?
iobroker logs --watch
-
@homoran said in Backup funktioniert nicht mehr:
iobroker logs --watch
2021-12-10 15:19:28.407 - error: host.raspberrypi No connection to databases po ssible, restart 2021-12-10 15:19:28.420 - info: host.raspberrypi iobroker _restart 2021-12-10 15:19:29.205 - info: host.raspberrypi iobroker Starting node restart .js 2021-12-10 15:19:30.879 - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting 2021-12-10 15:19:30.886 - info: host.raspberrypi Copyright (c) 2014-2021 bluefo x, 2014 hobbyquaker 2021-12-10 15:19:30.887 - info: host.raspberrypi hostname: raspberrypi, node: v 14.18.2 2021-12-10 15:19:30.887 - info: host.raspberrypi ip addresses: 192.168.178.60 2 003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8 2021-12-10 15:20:00.908 - error: host.raspberrypi No connection to databases possible, restart 2021-12-10 15:20:00.932 - info: host.raspberrypi iobroker _restart 2021-12-10 15:20:00.908 - error: host.raspberrypi No connection to databases possible, restart 2021-12-10 15:20:00.932 - info: host.raspberrypi iobroker _restart 2021-12-10 15:20:01.726 - info: host.raspberrypi iobroker Starting node restart.js 2021-12-10 15:20:01.726 - info: host.raspberrypi iobroker Starting node restart.js 2021-12-10 15:20:03.371 - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting 2021-12-10 15:20:03.378 - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-12-10 15:20:03.379 - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2 2021-12-10 15:20:03.380 - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8 2021-12-10 15:20:03.371 - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting 2021-12-10 15:20:03.378 - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-12-10 15:20:03.379 - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2 2021-12-10 15:20:03.380 - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8 2021-12-10 15:20:33.401 - error: host.raspberrypi No connection to databases possible, restart 2021-12-10 15:20:33.416 - info: host.raspberrypi iobroker _restart 2021-12-10 15:20:33.401 - error: host.raspberrypi No connection to databases possible, restart 2021-12-10 15:20:33.416 - info: host.raspberrypi iobroker _restart 2021-12-10 15:20:34.204 - info: host.raspberrypi iobroker Starting node restart.js 2021-12-10 15:20:34.204 - info: host.raspberrypi iobroker Starting node restart.js 2021-12-10 15:20:35.874 - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting 2021-12-10 15:20:35.881 - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-12-10 15:20:35.882 - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2 2021-12-10 15:20:35.883 - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8 2021-12-10 15:20:35.874 - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting 2021-12-10 15:20:35.881 - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-12-10 15:20:35.882 - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2 2021-12-10 15:20:35.883 - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8 2021-12-10 15:21:05.905 - error: host.raspberrypi No connection to databases possible, restart 2021-12-10 15:21:05.918 - info: host.raspberrypi iobroker _restart 2021-12-10 15:21:05.905 - error: host.raspberrypi No connection to databases possible, restart 2021-12-10 15:21:05.918 - info: host.raspberrypi iobroker _restart 2021-12-10 15:21:06.706 - info: host.raspberrypi iobroker Starting node restart.js 2021-12-10 15:21:06.706 - info: host.raspberrypi iobroker Starting node restart.js 2021-12-10 15:21:08.366 - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting 2021-12-10 15:21:08.373 - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-12-10 15:21:08.374 - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2 2021-12-10 15:21:08.374 - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8 2021-12-10 15:21:08.366 - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting 2021-12-10 15:21:08.373 - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-12-10 15:21:08.374 - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2 2021-12-10 15:21:08.374 - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8
Das schaut irgendwie nicht gut aus, oder??
-
pi@raspberrypi:~ $ iobroker status No connection to states 127.0.0.1:6379[redis] pi@raspberrypi:~ $
irgendwas is hier verhagelt