Plesk

How to make an in-place upgrade of a Plesk server from CentOS 7 to AlmaLinux 8?

Question

CentOS 7 reaches end-of-life on June 30, 2024. Does Plesk support an in-place upgrade from Centos 7 to AlmaLinux 8?
How such a conversion can be done?

Answer

We prepared a CLI script that in-place converts a Plesk server with CentOS 7 to AlmaLinux 8.

Warning: Plesk services, hosted websites, and emails will be unavailable during the conversion process for about 30 to 60 minutes. 

Warning: The conversion is a complex and potentially dangerous task. Make sure to create a server-wide backup in Plesk and/or server snapshot in advance. Check the Requirements and Limitations and Preparation and Timing sections before proceeding.

Requirements and Limitations

  • Plesk Obsidian 18.0.43 or later.

  • CentOS 7.9 or later.

    Note: The script was not tested on other Red Hat Enterprise Linux 7-based distributions. The conversion process may have unexpected results if started on a server running with OSes other than CentOS 7.9.

  • grub package must be installed.

  • At least 5GB of free disk space.

  • At least 1 GB of free RAM.

  • PHP 7.1 and earlier are not supported in AlmaLinux 8, and will not receive any updates after the conversion. These PHP versions are deprecated and may have security vulnerabilities. So we force to remove these versions before the conversion. Domains using PHP 7.1 and earlier should be switched to an up-to-date PHP version.

  • Conversion inside containers (Virtuozzo containers, Docker Containers, etc.) is not…

Exit mobile version