That message appears to based on the result from Config.canBackup, which has a few conditions that can cause it to return False. Maybe putting some logging from within that can show which of those is causing it or why. Derek On Sunday, August 18th, 2024 at 4:33 AM, c.buhtz@posteo.jp <c.buhtz@posteo.jp> wrote:
Hi,
this is the first time I try to configure and run BIT (v1.5.2 from git repo) on a headless server.
I get the errors like that in the debug output:
DEBUG: [common/snapshots.py:851 backup] Cannot start snapshot yet: target directory not accessible. Waiting 1s. INFO: [common/snapshots.py:861 Snapshots.backup] Waited 29 seconds for target directory to be available WARNING: [common/snapshots.py:866 Snapshots.backup] Can't find snapshots folder!
I am assuming that my BIT config is correct, but I am not sure. I am assuming that my permissions are not correct. But they do look OK for me and I can create files and folders in it.
backup@OLAF:/mnt$ ls -ld /mnt/Nerys drwxrwxr-x 4 admin backup 4096 18. Aug 13:26 /mnt/Nerys
backup@OLAF:/mnt$ ls -l /mnt/Nerys insgesamt 20 drwx------ 2 root root 16384 17. Aug 17:23 lost+found
backup@OLAF:/mnt$ touch /mnt/Nerys/foo backup@OLAF:/mnt$ mkdir /mnt/Nerys/bar
backup@OLAF:/mnt$ ls -l /mnt/Nerys insgesamt 20 drwxr-xr-x 2 backup backup 4096 18. Aug 13:26 bar -rw-r--r-- 1 backup backup 0 18. Aug 13:32 foo drwx------ 2 root root 16384 17. Aug 17:23 lost+found
Any ideas?
Best Christian _______________________________________________ Bit-dev mailing list -- bit-dev@python.org To unsubscribe send an email to bit-dev-leave@python.org https://mail.python.org/mailman3/lists/bit-dev.python.org/ Member address: derek.veit@protonmail.com