NEWS
backitup redis ENOENT
-
@thomas-braun mit identischen Einstellungen scheitert bei mir wieder das redis backup. Inzwischen nachhaltig auch wenn ich nicht per SMB sichere.
-
@xyolyp
Mit welchen Meldungen im log file? -
Started iobroker ... [DEBUG] [iobroker] - host.iobroker 4162 states saved [DEBUG] [iobroker] - host.iobroker 5969 objects saved [ERROR] [iobroker] - host.iobroker Cannot pack directory /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup: Error: ENOENT: no such file or directory, open '/opt/iobroker/backups/iobroker_2021_04_25-15_23_36_backupiobroker.tar.gz' [DEBUG] [iobroker] - done [DEBUG] [redis] - Start Redis Backup ... [DEBUG] [redis] - redis tmp directory "/opt/iobroker/backups/redistmp" cannot created [ERROR] [redis] - Error: ENOENT: no such file or directory, open '/opt/iobroker/backups/redistmp/dump.rdb' [ERROR] [redis] - [IGNORED] Error: ENOENT: no such file or directory, open '/opt/iobroker/backups/redistmp/dump.rdb' [DEBUG] [javascripts] - javascript directory "/opt/iobroker/backups/javascript" not found [DEBUG] [javascripts] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [DEBUG] [clean] - done [DEBUG] [telegram] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [EXIT] 9
-
@xyolyp
Da muss eigentlich mehr vorab kommen.
Wird da eine Freigabe in /opt/iobroker/backups gemounted?Denn eigentlich sieht das so aus, wenn ein smb-Share eingehängt wird:
Started iobroker ... [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] - host.raspberrypi 3911 states saved [DEBUG] [iobroker] - host.raspberrypi 4751 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_04_25-15_28_21_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [redis] - Start Redis Backup ... [DEBUG] [redis] - Created redistmp directory [DEBUG] [redis] - redis-cli save started, please wait ... [DEBUG] [redis] - redis-cli save finish [DEBUG] [redis] - detected redis file: dump.rdb | file type: rdb [DEBUG] [redis] - Backup created: /opt/iobroker/backups/redis_2021_04_25-15_28_34_backupiobroker.tar.gz [DEBUG] [redis] - Try deleting the redis tmp directory: "/opt/iobroker/backups/redistmp" [DEBUG] [redis] - redis tmp directory "/opt/iobroker/backups/redistmp" successfully deleted [DEBUG] [redis] - done [DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2021_04_25-15_28_35_backupiobroker.tar.gz [DEBUG] [javascripts] - done [DEBUG] [cifs] - done [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_04_25-15_28_21_backupiobroker.tar.gz... [DEBUG] [googledrive] - Google Drive: Copy redis_2021_04_25-15_28_34_backupiobroker.tar.gz... [DEBUG] [googledrive] - Google Drive: Copy javascripts_2021_04_25-15_28_35_backupiobroker.tar.gz... [DEBUG] [googledrive] - done [DEBUG] [clean] - done [DEBUG] [whatsapp] - 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] 0
-
@thomas-braun SMB und FTP sind deaktiviert bei dem Backup Vorgang, um zu demonstrieren, dass es leider ohne entfernte Sicherung auch schon nicht mehr funktioniert
-
Kann es sein, dass die Rechte verfummelt sind?
Mit mitiobroker stop iobroker fix
versucht?
Denn bei mir wird in
/opt/iobroker/node_modules/iobroker.js-controller/tmp/
während des Backups natürlich ein Ordner backup für kurze Zeit angelegt. tmp halt. Offenbar funktioniert das ja schon nicht. -
@thomas-braun auch nach dem Fixer besteht der Fehler unverändert
-
@xyolyp
Wie sehen die Rechte dort aus:getfacl /opt/iobroker/node_modules/iobroker.js-controller/tmp/
-
@thomas-braun der Output von
getfacl
istgetfacl: Removing leading '/' from absolute path names # file: opt/iobroker/node_modules/iobroker.js-controller/tmp/ # owner: iobroker # group: iobroker user::rwx group::r-x group:iobroker:rwx mask::rwx other::r-x default:user::rwx default:group::r-x default:group:iobroker:rwx default:mask::rwx default:other::r-x
-
@xyolyp Passt.