[CPANEL-20644] Backup failure - SQLITE_ERROR (no such table: backup_paths)
I started getting backup errors a week or two ago, which may have coincided with an update, but I am not 100% sure on that. Could anyone please point me in the right direction as to where the problem may be? This error seems to happen every day and on a different database .db file each day. Thanks:
Cpanel::Exception::Database::Error/(XID 2jezx2) The system received an error from the "SQLite" database "/nas/backup/.meta/dbame.db": SQLITE_ERROR (no such table: backup_paths)
at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336.
Cpanel::Exception::create("Database::Error", ARRAY(0x34d6be0)) called at /usr/local/cpanel/Cpanel/DBI.pm line 200
Cpanel::DBI::_create_exception(Cpanel::DBI::SQLite::db=HASH(0x352a718), "DBD::SQLite::db selectall_arrayref failed: no such table: bac"..., undef) called at /usr/local/cpanel/Cpanel/DBI.pm line 188
Cpanel::DBI::_error_handler("DBD::SQLite::db selectall_arrayref failed: no such table: bac"..., Cpanel::DBI::SQLite::db=HASH(0x352a718), undef) called at /usr/local/cpanel/Cpanel/Backup/Metadata.pm line 1485
Cpanel::Backup::Metadata::remove_metadata_for_missing_backups() called at /usr/local/cpanel/bin/backup line 340
bin::backup::run("bin::backup") called at /usr/local/cpanel/bin/backup line 120
[2018-05-25 00:00:01 +0100] info [backup] Final state is Backup::Failure (0)-
i must delete .meta Directory then run /usr/local/cpanel/bin/backup again ~ But One or more may still happen ~ 0 -
Hello, Internal case CPANEL-20644 is open to address an issue where backups can fail on higher latency disks (e.g. NAS, NFS) with an error message like this: The system received an error from the "SQLite" database "/nas/backup/.meta/dbame.db": SQLITE_ERROR (no such table: backup_paths) at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336.
I'll monitor this case and update this thread with more information as it becomes available. In the meantime, you can temporarily disable the use of metadata files for backups by running the following command as "root":whmapi1 backup_config_set disable_metadata=yes
Note when metadata creation is disabled, the following actions occur:- WHM disables the File and Directory Restoration interface (Home >> cPanel >> Files >> File and Directory Restoration) from the cPanel Home interface.
0 -
i'm sorry. i have same problem Cpanel::Exception::Database::Error/(XID yut8ur) The system received an error from the "SQLite" database "/backup/.meta/database.db": SQLITE_ERROR (no such table: backup_paths) at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336.0 -
Hello, Internal case CPANEL-20644 is open to address an issue where backups can fail on higher latency disks (e.g. NAS, NFS) with an error message like this:
The system received an error from the "SQLite" database "/nas/backup/.meta/dbame.db": SQLITE_ERROR (no such table: backup_paths) at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336.
I'll monitor this case and update this thread with more information as it becomes available. In the meantime, you can temporarily disable the use of metadata files for backups by running the following command as "root":whmapi1 backup_config_set disable_metadata=yes
Note when metadata creation is disabled, the following actions occur:- WHM disables the File and Directory Restoration interface (Home >> cPanel >> Files >> File and Directory Restoration) from the cPanel Home interface.
MY BACKUP HDD USE Micron Crucial MX500 1TB SSD, This hdd is higher latency disks ??0 -
MY BACKUP HDD USE Micron Crucial MX500 1TB SSD, This hdd is higher latency disks ??
Hello @savinna, High latency disks make it more likely to encounter this issue, but it's also possible this can happen on standard disks. I'll continue to monitor this case and update this thread with more information as it becomes available. Thank you.0 -
I seem to have the same problem, but I would like to confirm. During one test backup, for 5 of 17 accounts, I get two rounds of error messages in the backup log. Below are examples for one account "magmanet": [2018-08-04 08:26:16 -0400] info [backup] Pruning metadata for backup at /backup/2018-08-04 warn [backup] There was an error pruning the backup dir '/backup/2018-08-04/accounts' for user 'magmanet': Cpanel::Exception::Database::Error/(XID huw528) The system received an error from the "SQLite" database "/backup/.meta/magmanet.db": SQLITE_ERROR (no such table: backup_paths) at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336. [snipped]0 -
I seem to have the same problem, but I would like to confirm. During one test backup, for 5 of 17 accounts, I get two rounds of error messages in the backup log. Below are examples for one account "magmanet":
Hello @Matthew Swift, Yes, the error message you provided suggests the issue is related to internal case CPANEL-20644. Note that cPanel & WHM version 74 is tentatively planned for publication to the RELEASE build tier this week and includes a solution to this issue: Fixed case CPANEL-20644: Improve error handling when pruning missing backups. Thank you.0 -
I do not understand why cPanel switched Roundcube from MySQL to SQLite....it obviously causes problems at times when waiting on disk is huge. Now I have this problem too, all of a sudden, I can't update my cpanel. 0 -
I do not understand why cPanel switched Roundcube from MySQL to SQLite....it obviously causes problems at times when waiting on disk is huge. Now I have this problem too, all of a sudden, I can't update my cpanel.
Hi @lukapaunovic, Can you provide some more details about the specific issue you are facing? What error message do you see when attempting to update cPanel & WHM? Thank you.0
Please sign in to leave a comment.
Comments
13 comments