Backup error since last update

Started by jeffshead, March 23, 2020, 12:56:01 PM

Previous topic - Next topic

jeffshead

Daily, I'm getting an email with the following data:

Email subject:
Cron <root@cwp> /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php

Body of the email:
PHP Warning:  SQLite3::exec(): database is locked in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php on line 0

I haven't attempted to schedule any backup jobs because I backup the whole VM with Veeam. When I visit CWP Settings->NEW Backup (beta) tab and click on Log Monitor, I see the following:

Log Monitor

2020-03-23 00:15:01 Backup Initiated
2020-03-23 00:15:01 ["account1","account2","account3","account4"]
2020-03-23 00:15:01 Starting compression
2020-03-23 00:15:01
2020-03-23 00:15:04 UPDATE backups SET LASTEXEC = "2020-03-23 00:15:04", STRUN ="0" WHERE ID="1"

tail -f /var/log/cwp/cron_backup.log


So I guess there are two issues;

  • Why is a backup attempted when I never scheduled it?
  • What is causing it to error out?
Where do I begin troubleshooting this?

ejsolutions

You are not alone.
Glad I also use my custom backup, that has no such issues. ;)

jeffshead

#2
I never created a scheduled backup so it shouldn't even attempt a backup.

Does anyone know how to disable?

UPDATE: I deleted the cron job. That should stop it, right?