Backup restoration attempt to write a readonly database error

H.Csaba

Member
Dec 10, 2017
20
1
3
Budapest
cPanel Access Level
Root Administrator
hi
has been able to destroy the backup function again!

Backup restoration message:


Code:
(XID ggn5xw) The system received an error from the “SQLite” database “/mnt/ment/transports.db”: SQLITE_READONLY (attempt to write a readonly database) at /usr/local/cpanel/Cpanel/DBI.pm line 188.
    Cpanel::DBI::_error_handler("DBD::SQLite::db do failed: attempt to write a readonly database", Cpanel::DBI::SQLite::db=HASH(0x3d91308), undef) called at /usr/local/cpanel/Cpanel/SQLite/AutoRebuildSchemaBase.pm line 311
    Cpanel::SQLite::AutoRebuildSchemaBase::_setup_metadata("Cpanel::Backup::Transport::DB", Cpanel::DBI::SQLite::db=HASH(0x3d91308)) called at /usr/local/cpanel/Cpanel/SQLite/AutoRebuildSchemaBase.pm line 300
    Cpanel::SQLite::AutoRebuildSchemaBase::_setup_schema("Cpanel::Backup::Transport::DB", Cpanel::DBI::SQLite::db=HASH(0x3d91308)) called at /usr/local/cpanel/Cpanel/Backup/Transport/DB.pm line 64
    Cpanel::Backup::Transport::DB::dbconnect("Cpanel::Backup::Transport::DB") called at /usr/local/cpanel/Cpanel/Backup/Transport/History.pm line 58
    Cpanel::Backup::Transport::History::new("Cpanel::Backup::Transport::History") called at /usr/local/cpanel/Whostmgr/API/1/Backup.pm line 572
    Whostmgr::API::1::Backup::backup_set_list_combined() called at whostmgr/bin/whostmgr5.pl line 1262
    main::restoremenu("restoremenu") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 259
    Whostmgr::Dispatch::_do_call("restoremenu", HASH(0x38868c8), HASH(0x3886538)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 157
    Whostmgr::Dispatch::dispatch("restoremenu", 1, ARRAY(0x3888890)) called at whostmgr/bin/whostmgr5.pl line 284
remote drive mounted work and accessible!
what happens again? you release a stable product that is said to be stable and one of the most important functions! :mad:
 

H.Csaba

Member
Dec 10, 2017
20
1
3
Budapest
cPanel Access Level
Root Administrator
+ problem is before cp.v80.0.20 (cp.v80.0.18) work backup creation perfect
today backup finis mail is: The backup process completed, but 25 error occurred!
10 out of 20 account have done it today at dawn and then died
 

H.Csaba

Member
Dec 10, 2017
20
1
3
Budapest
cPanel Access Level
Root Administrator
if someone might have used the same curlftpfs and connected a remote backup drive
the working solution Mounting WebDAV
blog.hostonnet.com/mounting-webdav-on-linux-using-davfs
to the target server install Nextcloud or Owncloud
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,902
2,227
363
cPanel Access Level
DataCenter Provider
Twitter
Hello @H.Csaba,

Thank you for sharing the solution to this particular issue. For anyone else seeing this thread, additional discussion on this topic is found here.

Note that internal case CPANEL-24506 is included with cPanel & WHM version 82 to ensure backups will transport to additional destinations even if there are problems with the transfer history database:

Fixed case CPANEL-24506: Backups will transport to additional destinations even if there are problems with the transfer history database.

Let me know if you have additional questions.

Thank you.