Since we deployed the latest update of webmin-virtual-server:amd64 4.16.gpl, backups are reported as failed. Checking the status mails, I assume this is due to missing Apache log files:
Backup is partially complete. Final size was 354.89 MB. Total backup time was 08 minutes, 59 seconds.
Virtual servers that failed :
Creating backup for virtual server example.com ..
Copying virtual server configuration ..
Backing up Cron jobs ..
.. none defined.
Saving mail aliases ..
Saving mail and FTP users ..
Backing up mail and FTP user Cron jobs ..
.. none to backup
Backing up Dovecot control files ..
Copying Apache virtual host configuration ..
Copying Apache log files ..
No such file or directory
Copying SSL Apache virtual host configuration and certificate ..
Dumping MySQL database example_typo3 ..
Dumping MySQL database example_wordpress ..
Copying Procmail and SpamAssassin configuration files ..
Creating incremental TAR file of home directory ..
.. completed in 1 minutes, 2 seconds
We are using Apache's CustomLog and ErrorLog for writing log files, so I assume, virtualmin is unable to detect the files:
CustomLog "|/usr/sbin/rotatelogs /home/example/www/log/access_log.%Y%m%d 86400" combined
ErrorLog "|/usr/sbin/rotatelogs /home/example/www/log/error_log.%Y%m%d 86400"
Any suggestion what we could do to configure virtualmin to ignore the standard location and file name of log files (and as a consequence do not report the backups as failed)?
Maybe item "Fixed a few backup-related bugs triggered when a user is out of quota" (see ChangeLog of version 4.16) causes this issue?