Hi, i'm using cloudlinux with mysqlgovernor and tried to upgrade mariadb from 103 to 105.
As always i used the instructions from CloudLinux OS Shared components
When i entered the
/usr/share/lve/dbgovernor/mysqlgovernor.py --mysql-version=mariadb104
i got the message that cpanel does not support 104 and run the
/usr/share/lve/dbgovernor/mysqlgovernor.py --mysql-version=mariadb105
After a while the new packages were installed but in the last steps that the script upgrades dbs etc, i got an error :
sys.x$schema_tables_with_full_table_scans OK
sys.x$session OK
sys.x$statement_analysis OK
sys.x$statements_with_errors_or_warnings OK
sys.x$statements_with_full_table_scans OK
sys.x$statements_with_runtimes_in_95th_percentile OK
sys.x$statements_with_sorting OK
sys.x$statements_with_temp_tables OK
sys.x$user_summary OK
sys.x$user_summary_by_file_io OK
sys.x$user_summary_by_file_io_type OK
sys.x$user_summary_by_stages OK
sys.x$user_summary_by_statement_latency OK
sys.x$user_summary_by_statement_type OK
sys.x$wait_classes_global_by_avg_latency OK
sys.x$wait_classes_global_by_latency OK
sys.x$waits_by_host_by_latency OK
sys.x$waits_by_user_by_latency OK
sys.x$waits_global_by_latency OK
Phase 4/7: Running 'mysql_fix_privilege_tables'
ERROR 2013 (HY000) at line 448: Lost connection to MySQL server during query
ERROR 2006 (HY000) at line 458: MySQL server has gone away
FATAL ERROR: Upgrade failed
The installation of MySQL for db_governor completed
---
metadata:
command: configureservice
reason: Enabled monitoring for mysql.
result: 1
version: 1
Give mysql service time to start before service checking(15 sec)
Installation of mysql for db_governor completed
The mariadb105 (and the websites that use databases) is working for some days now but it seems that it didnt complete all the steps.
One thing i noticed is that no mariadb105 repo is in /etc/yum.repos.d
One other that after mariadb upgrade, cpanel is installing a new my.cnf, that didnt happened after my upgrade.
I'm worrying that the mariadb105 is running, but some stuff may be unfinished.
I opened a ticket to cloudlinux and the reply was :
-------------------------------------------------------------------------------------------
I've checked your server and can't find any DB Governor-related issues. Please note, that we can provide support to DB Governor-related issues only, and we aren't MySQL experts.
I've run the following command on the server:
mysql_upgrade
And no issues reported:
Phase 7/7: Running 'FLUSH PRIVILEGES'
OK
I would recommend you contact the MySQL database experts in order to update your databases correctly.
---------------------------------------------------------------------------------------------
and
---------------------------------------------------------------------------------------------
In this situation, I can only recommend remove DB Governor, open the ticket with cPanel in order to upgrade MariaDB from 10.3 to 10.5 safely, and then install DB Governor back.
---------------------------------------------------------------------------------------------
If i uninstall at that time (after the upgrade) mysqlgovernor, the version will be on 105. Is there a way to reinstall cpanel's mariadb105 with all the meta-installation scripts running to be sure that the upgrade will be completed and then reinstall mysqlgovernor?
best,
As always i used the instructions from CloudLinux OS Shared components
When i entered the
/usr/share/lve/dbgovernor/mysqlgovernor.py --mysql-version=mariadb104
i got the message that cpanel does not support 104 and run the
/usr/share/lve/dbgovernor/mysqlgovernor.py --mysql-version=mariadb105
After a while the new packages were installed but in the last steps that the script upgrades dbs etc, i got an error :
sys.x$schema_tables_with_full_table_scans OK
sys.x$session OK
sys.x$statement_analysis OK
sys.x$statements_with_errors_or_warnings OK
sys.x$statements_with_full_table_scans OK
sys.x$statements_with_runtimes_in_95th_percentile OK
sys.x$statements_with_sorting OK
sys.x$statements_with_temp_tables OK
sys.x$user_summary OK
sys.x$user_summary_by_file_io OK
sys.x$user_summary_by_file_io_type OK
sys.x$user_summary_by_stages OK
sys.x$user_summary_by_statement_latency OK
sys.x$user_summary_by_statement_type OK
sys.x$wait_classes_global_by_avg_latency OK
sys.x$wait_classes_global_by_latency OK
sys.x$waits_by_host_by_latency OK
sys.x$waits_by_user_by_latency OK
sys.x$waits_global_by_latency OK
Phase 4/7: Running 'mysql_fix_privilege_tables'
ERROR 2013 (HY000) at line 448: Lost connection to MySQL server during query
ERROR 2006 (HY000) at line 458: MySQL server has gone away
FATAL ERROR: Upgrade failed
The installation of MySQL for db_governor completed
---
metadata:
command: configureservice
reason: Enabled monitoring for mysql.
result: 1
version: 1
Give mysql service time to start before service checking(15 sec)
Installation of mysql for db_governor completed
The mariadb105 (and the websites that use databases) is working for some days now but it seems that it didnt complete all the steps.
One thing i noticed is that no mariadb105 repo is in /etc/yum.repos.d
One other that after mariadb upgrade, cpanel is installing a new my.cnf, that didnt happened after my upgrade.
I'm worrying that the mariadb105 is running, but some stuff may be unfinished.
I opened a ticket to cloudlinux and the reply was :
-------------------------------------------------------------------------------------------
I've checked your server and can't find any DB Governor-related issues. Please note, that we can provide support to DB Governor-related issues only, and we aren't MySQL experts.
I've run the following command on the server:
mysql_upgrade
And no issues reported:
Phase 7/7: Running 'FLUSH PRIVILEGES'
OK
I would recommend you contact the MySQL database experts in order to update your databases correctly.
---------------------------------------------------------------------------------------------
and
---------------------------------------------------------------------------------------------
In this situation, I can only recommend remove DB Governor, open the ticket with cPanel in order to upgrade MariaDB from 10.3 to 10.5 safely, and then install DB Governor back.
---------------------------------------------------------------------------------------------
If i uninstall at that time (after the upgrade) mysqlgovernor, the version will be on 105. Is there a way to reinstall cpanel's mariadb105 with all the meta-installation scripts running to be sure that the upgrade will be completed and then reinstall mysqlgovernor?
best,
Last edited by a moderator: