• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Upgrading to Plesk 18.0.45

Franco

Regular Pleskian
Server operating system version
CentOS 7.9
Plesk version and microupdate number
18.0.44 #3
Hello,

I am currently running Plesk 18.0.44 #3 and the automatic upgrade to 18.0.45 failed due to the wrong or obsolete MariaDB repository. I am on CentOS 7.9 and my MariaDB version is 10.1.
I have seen a few discussions on the topic of upgrading MariaDB, but I remain confused on what to do. Shall I run this procedure https://support.plesk.com/hc/en-us/articles/213367429 or this one instead  How to upgrade MySQL 5.5 to 5.6/5.7 or MariaDB 5.5 to 10.x on Linux? (manual method for CentOS)?

My MariaDB current repo looks like this:

name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1


Can you please help?

Thanks!
 
On my personal Plesk server, I see:

Code:
# plesk version
Product version: Plesk Obsidian 18.0.45.2
     OS version: CentOS 7.9.2009 x86_64
     Build date: 2022/07/22 09:00

Code:
# mysql -V
mysql  Ver 15.1 Distrib 10.2.44-MariaDB, for Linux (x86_64) using readline 5.1

Code:
# cat /etc/yum.repos.d/MariaDB.repo
# MariaDB 10.2 CentOS repository list - created 2018-09-18 06:32 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.2/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
 

Hello Franco,​

you can try to disable obsoleted mariadb repo with `yum-config-manager --disable mariadb` and then perform upgrade of plesk.
 
This MariaDB version is no longer supported; that's why the URL points to an empty repository:
I suggest that you perform the upgrade to at least MariaDB 10.5 using the support article you mentioned. It's an easy upgrade.

At the end of the upgrade, run # plesk repair db to correct the date and time fields in the database.
 
Hi syazov, I could upgrade Plesk by disabling the repo, as per you suggestion, thanks.
Now, maartenv, which of the 2 articles I mentioned shall I follow, please? They seem radically different.

Best,

Franco
 
Hi maartenv,
I managed to run the upgrade to mariadb 10.6, successfully, by the look of it. However, I had 2 moments of "panic":

1. The upgrade would not run ("nothing to upgrade") which was due to the fact that I had to disable the mariadb in yum earlier on. After fixing that the upgrade run successfully.

2. The mariadb server would not start, but I quickly found it was due to this: https://support.plesk.com/hc/en-us/...-on-TCP-IP-port-Got-error-22-Invalid-argument

Thanks a lot!

Franco
 
Back
Top