Issue
The MySQL Governor installation fails with the following or similar error:
Traceback (most recent call last):
File "/usr/share/lve/dbgovernor/mysqlgovernor.py", line 352, in <module>
main(sys.argv[1:])
File "/usr/share/lve/dbgovernor/mysqlgovernor.py", line 216, in main
if manager.install(opts.install_beta, opts.yes, opts.wizard):
File "/usr/share/lve/dbgovernor/modules/base.py", line 233, in install
self._save_previous_version()
File "/usr/share/lve/dbgovernor/modules/base.py", line 1114, in _save_previous_version
version = mysql_version()
File "/usr/share/lve/dbgovernor/utilities.py", line 151, in mysql_version
name, version = output.lower().split(" ")
ValueError: too many values to unpack (expected 2)
Environment
- DirectAdmin
- CloudLinux OS 8
- MySQL Governor
Solution
1. Back up the database
2. Get the list of packages with the command:
rpm -qa|grep -i "mysql\|mariadb"|grep -v alt | sort
3. Remove the redundant cl-MariaDBXXX-* packages, likely leftovers after the previous installation
4. Run the MySQL Governor installation again
Cause
Broken MariaDB packages.
Useful links
- https://docs.cloudlinux.com/cloudlinux_os_components/#backing-up-mysql
- https://docs.cloudlinux.com/cloudlinux_os_components/#installation-and-update-3
Comments
0 comments
Please sign in to leave a comment.