Plesk

Unable to update Plesk: EPEL repository should be enabled for PHP X.Y

Symptoms

Unable to update Plesk. The following error can be found in /var/log/plesk/install/autoinstaller3.log:

ERROR: Components and product validation detected at least one important issue:
EPEL repository should be enabled for PHP 8.1
PHP installation requires 'epel' OS repository to be enabled.
Make sure it is available and enabled, then try again.
EPEL repository should be enabled for PHP 8.0
PHP installation requires 'epel' OS repository to be enabled.
Make sure it is available and enabled, then try again.
EPEL repository should be enabled for PHP 7.4
PHP installation requires 'epel' OS repository to be enabled.
Make sure it is available and enabled, then try again.

Cause

EPEL repository is not enabled on the server.

Resolution

  1. Connect to the server via SSH
  2. Enable EPEL repository:

# yum install -q -y "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" && yum update -q -y 'epel-release'

  1. Re-run Plesk update
Exit mobile version