Skip to main content

[CPANEL-20644] Backup failure - SQLITE_ERROR (no such table: backup_paths)

Comments

13 comments

  • cPanelMichael
    Hello Andy, It's possible this relates to an internal case we have open (CPANEL-20644). Can you open a
    0
  • savinna
    Hello Andy, It's possible this relates to an internal case we have open (CPANEL-20644). Can you open a
    0
  • savinna
    i must delete .meta Directory then run /usr/local/cpanel/bin/backup again ~ But One or more may still happen ~
    0
  • Andy Maskell
    Hello Andy, It's possible this relates to an internal case we have open (CPANEL-20644). Can you open a
    0
  • cPanelMichael
    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.
    Thank you.
    0
  • jusuf
    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
  • savinna
    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.
    Thank you.

    MY BACKUP HDD USE Micron Crucial MX500 1TB SSD, This hdd is higher latency disks ??
    0
  • cPanelMichael
    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
  • Matthew Swift
    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
  • cPanelMichael
    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
  • cPanelMichael
    Hello, To update, cPanel & WHM version 74 is now available on the RELEASE tier and includes a solution for this issue: Fixed case CPANEL-20644: Improve error handling when pruning missing backups. You can read more about version 74 at:
    0
  • lukapaunovic
    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
  • cPanelMichael
    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.