Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: jeffshead on March 23, 2020, 12:56:01 PM

Title: Backup error since last update
Post by: jeffshead on March 23, 2020, 12:56:01 PM
Daily, I'm getting an email with the following data:

Email subject:
Code: [Select]
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:
Code: [Select]
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:

Code: [Select]
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;
Where do I begin troubleshooting this?
Title: Re: Backup error since last update
Post by: ejsolutions on March 23, 2020, 01:47:13 PM
You are not alone.
Glad I also use my custom backup, that has no such issues. ;)
Title: Re: Backup error since last update
Post by: jeffshead on March 24, 2020, 12:17:40 PM
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?