Symptoms
Unable to install Plesk Obsidian on CentOS 7 with pre-installed MySQL server with the following error:
Package 1:mariadb-server-5.5.64-1.el7.x86_64 is obsoleted by mysql-community-server-5.7.29-1.el7.x86_64 which is already installed
Cause
Bug in Plesk with ID PPP-47540 which will be fixed in one of the future updates.
Resolution
As a workaround:
-
On a clean CentOS 7 server, install MySQL repository:
# rpm -Uvh https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
-
Edit the file
/etc/yum.repos.d/mysql-community.repo
by enabling Mysql 5.7 and disabling Mysql 8.0 -
Install Mysql server
# yum install mysql-community-server mysql-community-libs-compat
-
Start MySQL service:
# service mysqld start
-
# ./plesk-installer –select-product-id plesk –select-release-id PLESK_17_8_11 –installation-type Typical
-
Check that MySQL version is 5.7:
# mysql –version
mysql Ver 14.14 Distrib 5.7.29, for Linux (x86_64) using EditLine wrapper -
Run Plesk installer and upgrade the installation to Plesk Obsidian