NEWS
BackItUp macht Probleme
-
Hi,
ich möchte mit BackItUp mein IoB und die CCU sichern, aber irgendwas passt da nicht.
hier die Ausgaben :Started iobroker ... [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.1.9:/home/norbert/DATA/iob-backup/ /opt/iobroker/backups" [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] - host.iobroker 4363 states saved [DEBUG] [iobroker] - host.iobroker 5576 objects saved [ERROR] [iobroker] - host.iobroker Cannot pack directory /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup: EACCES: permission denied, open '/opt/iobroker/backups/iobroker_2022_09_19-21_14_14_backupiobroker.tar.gz' [DEBUG] [iobroker] - done [DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" cannot created ... Error: EACCES: permission denied, mkdir '/opt/iobroker/backups/tmpScripts' [ERROR] [javascripts] - script.json cannot be written: Error: ENOENT: no such file or directory, open '/opt/iobroker/backups/tmpScripts/script.json' [DEBUG] [javascripts] - found Script: Ventilator_Buero [DEBUG] [javascripts] - javascript Backup not created [DEBUG] [javascripts] - done [DEBUG] [cifs] - used copy path: /home/norbert/DATA/iob-backup/ [DEBUG] [cifs] - done [DEBUG] [clean] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [DEBUG] [umount] - mount activ, umount is started ... [DEBUG] [umount] - umount successfully completed [DEBUG] [umount] - done [EXIT] 9
und
Started ccu ... [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.1.9:/home/norbert/DATA/iob-backup/ /opt/iobroker/backups" [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [ccu] - CCU-Backup started ... [DEBUG] [ccu] - CCU Version: 3.65.8.20220831 [DEBUG] [ccu] - Requesting backup from CCU --Ab hier gehts nicht mehr weiter
Das NFS Volume mountet er mir, das passt.
Aber irgendwas scheint hier mit den Benutzerrechten nicht zu stimmen.Ich möchte da ungern mit chown und chmod ran, da ich nicht weis wie
die IoB Software darauf reagiert.
Daher habe ich noch nichts unternommen. -
@norp2k22
Leg auf dem NFS Server ein eigenes Home für den iobroker an und schau das dessen uid und gid mit dem des Users 'iobroker' auf dem iob-System übereinstimmt.