BackupPC not starting with permission denied at /var/lib/backuppc/log
Opened this issue · 1 comments
palmtop commented
When starting a container I get the following error:
2019-08-07 13:41:45 [182] | mkdir /var/lib/backuppc/log: Permission denied at /usr/local/BackupPC/bin/BackupPC line 1973.
It is repeated every 5 seconds.
If I chown backuppc:backuppc /var/lib/backuppc the it fixes it. (The backuppc/log directory as already there, when the error message appears.)
palmtop commented
I found the problem here as well, I was upgrading from a physical installation, and the log directory setting was taken over from the old config. Probably during initialization the location of the log directory should also be changed to /data/backuppc/log