NEWS
[gelöst] Backupit - keine iobroker Backups möglich
-
-
kannst du hier etwas herauslesen? ich sehe weder einen großen schwund noch Dateien mit 0...
insgesamt 90M -rw-rwxr--+ 1 iobroker iobroker 257K Jul 30 11:55 2021-07-30_11-55_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 30 12:05 2021-07-30_12-05_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 30 13:55 2021-07-30_13-55_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 30 14:05 2021-07-30_14-05_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 258K Jul 30 15:55 2021-07-30_15-55_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 30 16:09 2021-07-30_16-09_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 30 17:55 2021-07-30_17-55_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 30 18:10 2021-07-30_18-10_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 30 19:55 2021-07-30_19-55_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 30 20:10 2021-07-30_20-10_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 256K Jul 30 21:55 2021-07-30_21-55_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 30 22:12 2021-07-30_22-12_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 256K Jul 30 23:56 2021-07-30_23-56_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 00:15 2021-07-31_00-15_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 31 01:56 2021-07-31_01-56_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 02:01 2021-07-31_02-01_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 31 02:01 2021-07-31_02-01_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 258K Jul 31 04:01 2021-07-31_04-01_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 04:05 2021-07-31_04-05_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 258K Jul 31 06:01 2021-07-31_06-01_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 06:05 2021-07-31_06-05_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 07:25 2021-07-31_07-25_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 258K Jul 31 07:26 2021-07-31_07-26_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 07:40 2021-07-31_07-40_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 258K Jul 31 07:41 2021-07-31_07-41_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 08:04 2021-07-31_08-04_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 31 08:05 2021-07-31_08-05_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 09:51 2021-07-31_09-51_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 31 09:52 2021-07-31_09-52_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 09:59 2021-07-31_09-59_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 258K Jul 31 09:59 2021-07-31_09-59_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 11:59 2021-07-31_11-59_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 31 12:00 2021-07-31_12-00_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 13:59 2021-07-31_13-59_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 258K Jul 31 14:00 2021-07-31_14-00_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 15:33 2021-07-31_15-33_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 258K Jul 31 15:33 2021-07-31_15-33_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 15:37 2021-07-31_15-37_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 259K Jul 31 15:38 2021-07-31_15-38_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 15:46 2021-07-31_15-46_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 259K Jul 31 15:47 2021-07-31_15-47_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 15:52 2021-07-31_15-52_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 31 15:53 2021-07-31_15-53_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 16:00 2021-07-31_16-00_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 31 16:01 2021-07-31_16-01_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 2,1M Jul 31 17:00 2021-07-31_17-00_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 258K Jul 31 17:00 2021-07-31_17-00_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Jul 31 17:42 2021-07-31_17-42_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 260K Jul 31 17:42 2021-07-31_17-42_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Jul 31 18:10 2021-07-31_18-10_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 31 18:11 2021-07-31_18-11_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Jul 31 18:27 2021-07-31_18-27_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Jul 31 18:27 2021-07-31_18-27_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Jul 31 20:27 2021-07-31_20-27_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 255K Jul 31 20:28 2021-07-31_20-28_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Jul 31 21:00 2021-07-31_21-00_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 254K Jul 31 21:00 2021-07-31_21-00_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Jul 31 21:05 2021-07-31_21-05_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 255K Jul 31 21:05 2021-07-31_21-05_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Jul 31 21:12 2021-07-31_21-12_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 256K Jul 31 21:12 2021-07-31_21-12_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Jul 31 21:19 2021-07-31_21-19_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 256K Jul 31 21:20 2021-07-31_21-20_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Jul 31 23:20 2021-07-31_23-20_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 255K Jul 31 23:20 2021-07-31_23-20_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Aug 1 01:20 2021-08-01_01-20_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 01:20 2021-08-01_01-20_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Aug 1 02:33 2021-08-01_02-33_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 256K Aug 1 02:34 2021-08-01_02-34_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Aug 1 04:33 2021-08-01_04-33_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 04:34 2021-08-01_04-34_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Aug 1 06:33 2021-08-01_06-33_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 258K Aug 1 06:34 2021-08-01_06-34_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Aug 1 08:33 2021-08-01_08-33_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 08:34 2021-08-01_08-34_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 1,8M Aug 1 08:52 2021-08-01_08-52_objects.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 08:52 2021-08-01_08-52_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 10:36 2021-08-01_10-36_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 10:42 2021-08-01_10-42_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 10:43 2021-08-01_10-43_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 10:44 2021-08-01_10-44_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 10:45 2021-08-01_10-45_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 10:47 2021-08-01_10-47_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 10:48 2021-08-01_10-48_states.json.gz -rw-rwxr--+ 1 iobroker iobroker 257K Aug 1 10:50 2021-08-01_10-50_states.json.gz -rw-rw-r--+ 1 iobroker iobroker 257K Aug 1 10:53 2021-08-01_10-53_states.json.gz -rw-rw-r--+ 1 iobroker iobroker 257K Aug 1 10:54 2021-08-01_10-54_states.json.gz -rw-rw-r--+ 1 iobroker iobroker 257K Aug 1 11:00 2021-08-01_11-00_states.json.gz -rw-rw-r--+ 1 iobroker iobroker 257K Aug 1 11:02 2021-08-01_11-02_states.json.gz -rw-rw-r--+ 1 iobroker iobroker 1,8M Aug 1 11:04 2021-08-01_11-04_objects.json.gz -rw-rw-r--+ 1 iobroker iobroker 257K Aug 1 11:04 2021-08-01_11-04_states.json.gz -rw-rw-r--+ 1 iobroker iobroker 257K Aug 1 11:05 2021-08-01_11-05_states.json.gz -rw-rw-r--+ 1 iobroker iobroker 1,8M Aug 1 11:11 2021-08-01_11-11_objects.json.gz -rw-rw-r--+ 1 iobroker iobroker 258K Aug 1 11:12 2021-08-01_11-12_states.json.gz
-
Höchstens den Sprung von 2.1 auf 1.8 MB
-
hier habe ich auch das Mini-HowTo gemacht, hat aber nichts gebracht... was ich gesehen habe ist, das scheinbar der iobroker start oder stop scheinbar nicht richtig ausgeführt wird. soll heißen hier spuckt es die Selben Fehler aus wie nach dem iobroker stop vom Backupit Adapter.
ich habe es soeben nochmal zu Fuß probiert, wobei folgendes rauskam:
(vielleicht hilft das ja weiter)pi@iobrokerSSD062021master:~ $ cd /opt/iobroker pi@iobrokerSSD062021master:/opt/iobroker $ sudo iobroker stop pi@iobrokerSSD062021master:/opt/iobroker $ sudo iobroker backup host.iobrokerSSD062021master 6274 states saved host.iobrokerSSD062021master 7631 objects saved internal/buffer.js:950 class FastBuffer extends Uint8Array {} ^ RangeError: Array buffer allocation failed at new ArrayBuffer (<anonymous>) at new Uint8Array (<anonymous>) at new FastBuffer (internal/buffer.js:950:1) at createUnsafeBuffer (buffer.js:149:12) at allocate (buffer.js:419:10) at Function.allocUnsafe (buffer.js:384:10) at Function.encodeBufBulk (/opt/iobroker/node_modules/respjs/index.js:46:27) at RedisHandler.sendBufBulk (/opt/iobroker/node_modules/@iobroker/db-base/lib/redisHandler.js:259:44) at RedisHandler.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-file/lib/objects/objectsInMemServerRedis.js:452:29) at RedisHandler.emit (events.js:314:20)
-
Nicht mit sudo da rumfummeln!
iobroker stop
Dann mit
ps aux | grep io.
schauen ob da noch irgendwas von iobroker läuft.
Die Prozesse dann abschießen, z.B. mitsudo kill -9 PROZESSNAME
Dann
iobroker fix
-
ohne sudo das Gleiche:
pi@iobrokerSSD062021master:~ $ cd /opt/iobroker pi@iobrokerSSD062021master:/opt/iobroker $ iobroker stop pi@iobrokerSSD062021master:/opt/iobroker $ iobroker backup host.iobrokerSSD062021master 6274 states saved host.iobrokerSSD062021master 7631 objects saved internal/buffer.js:950 class FastBuffer extends Uint8Array {} ^ RangeError: Array buffer allocation failed at new ArrayBuffer (<anonymous>) at new Uint8Array (<anonymous>) at new FastBuffer (internal/buffer.js:950:1) at createUnsafeBuffer (buffer.js:149:12) at allocate (buffer.js:419:10) at Function.allocUnsafe (buffer.js:384:10) at Function.encodeBufBulk (/opt/iobroker/node_modules/respjs/index.js:46:27) at RedisHandler.sendBufBulk (/opt/iobroker/node_modules/@iobroker/db-base/lib/redisHandler.js:259:44) at RedisHandler.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-file/lib/objects/objectsInMemServerRedis.js:452:29) at RedisHandler.emit (events.js:314:20)
-
Siehe mein Edit oben.
iobroker status
liefert?
Ich würde ja sagen dass dir der Arbeitsspeicher ausgeht.
free -ht
-
das liefert er
pi@iobrokerSSD062021master:~ $ iobroker stop pi@iobrokerSSD062021master:~ $ ps aux | grep io. root 13 0.0 0.0 0 0 ? S 13:23 0:00 [migration/0] root 16 0.0 0.0 0 0 ? S 13:23 0:00 [migration/1] root 21 0.0 0.0 0 0 ? S 13:23 0:00 [migration/2] root 26 0.0 0.0 0 0 ? S 13:23 0:00 [migration/3] root 58 0.0 0.0 0 0 ? I< 13:23 0:00 [blkcg_punt_bio] root 62 0.0 0.0 0 0 ? I< 13:23 0:00 [rpciod] root 64 0.0 0.0 0 0 ? I< 13:23 0:00 [xprtiod] root 66 0.0 0.0 0 0 ? I< 13:23 0:00 [nfsiod] root 72 0.0 0.0 0 0 ? I< 13:23 0:00 [DWC Notificatio] avahi 346 0.1 0.0 5900 2564 ? Ss 13:23 0:01 avahi-daemon: running [iobrokerSSD062021master.local] message+ 348 0.0 0.0 6548 3072 ? Ss 13:23 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only root 1832 0.0 0.0 0 0 ? I< 13:26 0:00 [cifsiod] pi 2529 0.0 0.0 7360 576 pts/0 S+ 13:36 0:00 grep --color=auto io. pi@iobrokerSSD062021master:~ $ iobroker status iobroker is not running on this host. Objects type: file States type: file
-
Und:
pi@iobrokerSSD062021master:~ $ free -ht total used free shared buff/cache available Mem: 3,7Gi 64Mi 2,9Gi 8,0Mi 756Mi 3,5Gi Swap: 99Mi 0B 99Mi Total: 3,8Gi 64Mi 3,0Gi pi@iobrokerSSD062021master:~ $ iobroker start pi@iobrokerSSD062021master:~ $ free -ht total used free shared buff/cache available Mem: 3,7Gi 1,3Gi 1,7Gi 8,0Mi 759Mi 2,6Gi Swap: 99Mi 0B 99Mi Total: 3,8Gi 1,3Gi 1,8Gi pi@iobrokerSSD062021master:~ $
-
@heisenberg0709 Das sieht schon mal gut aus.
free -ht iobroker fix
-
@heisenberg0709 sagte in Backupit - keine iobroker Backups möglich:
pi@iobrokerSSD062021master:~ $ iobroker start
vorher noch ein iobroker stop
-
iobroker stop kam vorher
pi@iobrokerSSD062021master:~ $ iobroker status iobroker is not running on this host. Objects type: file States type: file pi@iobrokerSSD062021master:~ $ iobroker fix library: loaded Library version=2021-04-07 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2021-04-07 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== OK:1 http://archive.raspberrypi.org/debian buster InRelease OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:3 https://deb.nodesource.com/node_12.x buster InRelease Paketlisten werden gelesen... Fertig Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ==========================================================================
nachdem dann alle Instanzen im iobroker wieder liefen dann:
pi@iobrokerSSD062021master:~ $ free -ht total used free shared buff/cache available Mem: 3,7Gi 1,3Gi 1,7Gi 8,0Mi 759Mi 2,6Gi Swap: 99Mi 0B 99Mi Total: 3,8Gi 1,3Gi 1,8Gi
-
@heisenberg0709
Und wenn du jetzt das Backup nochmal manuell antrittst? -
backup wird leider auch nicht angelegt...
pi@iobrokerSSD062021master:~ $ iobroker stop pi@iobrokerSSD062021master:~ $ cd /opt/iobroker pi@iobrokerSSD062021master:/opt/iobroker $ iobroker backup host.iobrokerSSD062021master 6281 states saved host.iobrokerSSD062021master 7631 objects saved internal/buffer.js:950 class FastBuffer extends Uint8Array {} ^ RangeError: Array buffer allocation failed at new ArrayBuffer (<anonymous>) at new Uint8Array (<anonymous>) at new FastBuffer (internal/buffer.js:950:1) at createUnsafeBuffer (buffer.js:149:12) at allocate (buffer.js:419:10) at Function.allocUnsafe (buffer.js:384:10) at Function.encodeBufBulk (/opt/iobroker/node_modules/respjs/index.js:46:27) at RedisHandler.sendBufBulk (/opt/iobroker/node_modules/@iobroker/db-base/lib/redisHandler.js:259:44) at RedisHandler.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-file/lib/objects/objectsInMemServerRedis.js:452:29) at RedisHandler.emit (events.js:314:20)
-
Keine Ahnung warum es dir da den Speicher fetzt.
-
ok ok, trotzdem euch einen Riesen Dank schon einmal bis hier her für euren Support.
Kennt ihr eine Alternative zum neu aufsetzen. Wenn ich hier jetzt ohne Backup komplett bei 0 anfange sitze ich hier wieder wochenlang dran bis wieder alles so ist, wie es mal war…
Was mir dann irgendwie auch nicht nach der Lösung scheint -
@heisenberg0709
Du kannst probieren den js-controller nochmal reinzubügeln:iobroker stop cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller iobroker restart
Nutzt dir aber auch nur was wenn es keine Fehlkonfiguration in irgendeinem Adapter ist.
Standardfrage:
NodeJS ist aber sauber installiert? -
@heisenberg0709 sagte in Backupit - keine iobroker Backups möglich:
Wenn ich hier jetzt ohne Backup komplett bei 0 anfange
hast du denn mal ein einfaches
iobroker backup
über die Konsole abgesetzt? -
inwiefern? ich habe es sowohl in der konsole via mac als auch via backupit probiert
-
@heisenberg0709 sagte in Backupit - keine iobroker Backups möglich:
ich habe es sowohl in der konsole via mac als auch via backupit probiert
nicht dass dir der mac in die Suppe spuckt und das tar. entpackt
@heisenberg0709 sagte in Backupit - keine iobroker Backups möglich:
inwiefern?
- ob dann auch alles zusammenbricht
- ob dann ein Backup unter /opt/iobroker/backups liegt
hast du per Konsole vorher iobroker stop gemacht?