Hello,
I'm trying to transfer 40 cPanel accounts (or more), from a server working with Cloudlinux 7.9 to Cloudlinux 8.7.
I'm using MySQL 5.7 on both servers, but I keep getting this error with all the websites:
--------------------------------------
Cpanel::Exception::Database::Error/(XID gacbcw) The system received an error from the “MySQL” database “bbb_db1”: ER_PARSE_ERROR (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''{\\"id\\":290,\\"asset_id\\":\\"685\\",\\"title\\":\\"\\\\u0628\\\\u064a\\\\u0627\\\\u0646\\\\u062' at line 1)\x0A at /usr/local/cpanel/Cpanel/DBI.pm line 200, <$rfh> line 6667.\x0A\x09Cpanel::DBI::_create_exception(Cpanel::DBI::Mysql::db=HASH(0x128a950), "DBD::mysql::db do failed: You have an error in your SQL synta"..., undef) called at /usr/local/cpanel/Cpanel/DBI.pm line 188\x0A\x09Cpanel::DBI::_error_handler("DBD::mysql::db do failed: You have an error in your SQL synta"..., Cpanel::DBI::Mysql::db=HASH(0x128a950), undef) called at /usr/local/cpanel/Cpanel/Mysql/Restore/Client.pm line 451\x0A\x09Cpanel::Mysql::Restore::Client::_handle_one_delimited_mysql_statement(Cpanel::Mysql::Restore::Client=HASH(0xfc3898), SCALAR(0xd0df38), Cpanel::DBI::Mysql::db=HASH(0x128a950)) called at /usr/local/cpanel/Cpanel/Mysql/Restore/Client.pm line 231\x0A\x09Cpanel::Mysql::Restore::Client::__ANON__() called at /usr/local/cpanel/Cpanel/Mysql/Restore/Client.pm line 280\x0A\x09Cpanel::Mysql::Restore::Client::run("output_obj", Cpanel::Output::Callback=HASH(0xfa3da8), "sql_fh", GLOB(0xf882a0), "new_dbname", "bbb_db1", "mysql_host", "/var/lib/mysql/mysql.sock", ...) called at bin/restore_mysql_for_account_restore.pl line 106\x0A\x09bin::restore_mysql_for_account_restore::__ANON__() called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 100\x0A\x09eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 91\x0A\x09Try::Tiny::try(CODE(0xf98a90), Try::Tiny::Catch=REF(0xce01b8)) called at bin/restore_mysql_for_account_restore.pl line 119\x0A\x09bin::restore_mysql_for_account_restore::run(bin::restore_mysql_for_account_restore=HASH(0xf9ab40)) called at bin/restore_mysql_for_account_restore.pl line 62\x0A at bin/restore_mysql_for_account_restore.pl line 118, <$rfh> line 6667.
Connecting to SQL server (/var/lib/mysql/mysql.sock) as “bbb” in order to restore “bbb_db1” …
Disabling InnoDB strict mode for database restore for “bbb_db1” …
Restoring database data for “bbb_db1” …
Processing SQL statements …
The database restoration subprocess for “bbb_db1” has ended.
The MySQL restore process exited with the error “255”.
Removed empty DB for failed restore of “bbb_db1”.
The system has saved the database archive data in the directory “/home/bbb/cpmove_failed_mysql_dbs.1678500219”. You may use this directory’s contents to restore your data manually.
The system failed to restore the “bbb_db1” database because of an error: The system encountered an unknown error while restoring MySQL statements: The subprocess reported error number 255 when it ended.
------------------------------------------------
Any advice on this?
I'm trying to transfer 40 cPanel accounts (or more), from a server working with Cloudlinux 7.9 to Cloudlinux 8.7.
I'm using MySQL 5.7 on both servers, but I keep getting this error with all the websites:
--------------------------------------
Cpanel::Exception::Database::Error/(XID gacbcw) The system received an error from the “MySQL” database “bbb_db1”: ER_PARSE_ERROR (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''{\\"id\\":290,\\"asset_id\\":\\"685\\",\\"title\\":\\"\\\\u0628\\\\u064a\\\\u0627\\\\u0646\\\\u062' at line 1)\x0A at /usr/local/cpanel/Cpanel/DBI.pm line 200, <$rfh> line 6667.\x0A\x09Cpanel::DBI::_create_exception(Cpanel::DBI::Mysql::db=HASH(0x128a950), "DBD::mysql::db do failed: You have an error in your SQL synta"..., undef) called at /usr/local/cpanel/Cpanel/DBI.pm line 188\x0A\x09Cpanel::DBI::_error_handler("DBD::mysql::db do failed: You have an error in your SQL synta"..., Cpanel::DBI::Mysql::db=HASH(0x128a950), undef) called at /usr/local/cpanel/Cpanel/Mysql/Restore/Client.pm line 451\x0A\x09Cpanel::Mysql::Restore::Client::_handle_one_delimited_mysql_statement(Cpanel::Mysql::Restore::Client=HASH(0xfc3898), SCALAR(0xd0df38), Cpanel::DBI::Mysql::db=HASH(0x128a950)) called at /usr/local/cpanel/Cpanel/Mysql/Restore/Client.pm line 231\x0A\x09Cpanel::Mysql::Restore::Client::__ANON__() called at /usr/local/cpanel/Cpanel/Mysql/Restore/Client.pm line 280\x0A\x09Cpanel::Mysql::Restore::Client::run("output_obj", Cpanel::Output::Callback=HASH(0xfa3da8), "sql_fh", GLOB(0xf882a0), "new_dbname", "bbb_db1", "mysql_host", "/var/lib/mysql/mysql.sock", ...) called at bin/restore_mysql_for_account_restore.pl line 106\x0A\x09bin::restore_mysql_for_account_restore::__ANON__() called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 100\x0A\x09eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 91\x0A\x09Try::Tiny::try(CODE(0xf98a90), Try::Tiny::Catch=REF(0xce01b8)) called at bin/restore_mysql_for_account_restore.pl line 119\x0A\x09bin::restore_mysql_for_account_restore::run(bin::restore_mysql_for_account_restore=HASH(0xf9ab40)) called at bin/restore_mysql_for_account_restore.pl line 62\x0A at bin/restore_mysql_for_account_restore.pl line 118, <$rfh> line 6667.
Connecting to SQL server (/var/lib/mysql/mysql.sock) as “bbb” in order to restore “bbb_db1” …
Disabling InnoDB strict mode for database restore for “bbb_db1” …
Restoring database data for “bbb_db1” …
Processing SQL statements …
The database restoration subprocess for “bbb_db1” has ended.
The MySQL restore process exited with the error “255”.
Removed empty DB for failed restore of “bbb_db1”.
The system has saved the database archive data in the directory “/home/bbb/cpmove_failed_mysql_dbs.1678500219”. You may use this directory’s contents to restore your data manually.
The system failed to restore the “bbb_db1” database because of an error: The system encountered an unknown error while restoring MySQL statements: The subprocess reported error number 255 when it ended.
------------------------------------------------
Any advice on this?