Frustratingly, I continue to get random back-up errors on a regular basis.
Last week's error after successfully running through a bunch of domains under a single account:
... snip ...
Creating backup for virtual server EXAMPLE.org ..
Copying virtual server configuration ..
Failed to open /home/USER/domains/EXAMPLE.org/.backup/EXAMPLE.org_virtualmin_scripts for writing : No such file or directory at /usr/libexec/webmin/web-lib-funcs.pl line 1465.
This week's (today's) error right at the beginning of the back-up:
Backup failed! See the progress output above for the reason why. Total backup time was 00 minutes, 02 seconds.
Sent by Virtualmin at: https://cp.EXAMPLE.net:10000
Creating backup for virtual server EXAMPLE.com ..
Copying virtual server configuration ..
.. done
Copying records in DNS domain ..
Failed to open /home/USER/domains/EXAMPLE.com/.backup/EXAMPLE.com_dns_dnssec_keyinfo for writing : No such file or directory at /usr/libexec/webmin/web-lib-funcs.pl line 1465, <readout3> line 1.
As you can see, both errors refer to the same line in the same script.
In a response to a related issue on 12 February Jamie stated that he "found a bug in the code whereby multiple concurrent backups for the same domain could collide in a way that triggers this error. It will be fixed in the next Virtualmin release though." I'm on 6.02 Pro; I can't seem to find a release timeline for Virtualmin, so I don't know if it has been updated since early February.
Are we waiting for this "next release" or does this bug still exist?
Thanks.
Craig
Comments
Submitted by craigh on Sat, 03/31/2018 - 20:41 Pro Licensee Comment #1
I noticed after posting that in my early February post the line number of the problem area of web-lib-funcs.pl was 1445, and the current errors point to line 1465, so maybe the script has been updated and the bug still exists.
Submitted by JamieCameron on Sun, 04/01/2018 - 17:17 Comment #2
Yes, we haven't released the fix for this yet, sorry. I hope to get it out this week though.
Submitted by craigh on Mon, 04/02/2018 - 02:18 Pro Licensee Comment #3
Thanks Jamie.