Articles in this section

CentOS 7 to AlmaLinux 8 conversion via Plesk centos2alma script fails: TuxCare is enabled

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • CentOS 7 to AlmaLinux 8 conversion via Plesk centos2alma script refuses to start while producing the following output:

    CONFIG_TEXT: Doing preparation checks...
    Required pre-conversion condition 'checking if all packages are up to date' not met:
    There are packages which are not up to date. Call `yum update -y && reboot to update the packages.
    Conversion can't be performed due to the problems noted above

  • Running the yum update command manually reveals errors that are similar to the following:

    CONFIG_TEXT: CentOS 7 ELS - Gradual Rollout Slot 1 107 B/s | 153 B 00:01
    Errors during downloading metadata for repository 'centos7els-rollout-1':
    - Status code: 404 for https://els-rollout.tuxcare.com/slot-1/el/8/x86_64/ELS_FOR_CENTOS7-SERVER-SYGIpeUfshVvpmv/repodata/repomd.xml (IP: 203.0.113.2)
    Error: Failed to download metadata for repo 'centos7els-rollout-1': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

    CONFIG_TEXT: base | 3.6 kB 00:00:00
    https://repo.tuxcare.com/centos7-els/ELS_FOR_CENTOS7-SERVER-h821P11adgfh0bXCq/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
    Trying other mirror.

  • The conversion process may fail later during the leapp userspace preparation stage with errors similar to the following appearing in /var/log/leapp/leapp-report.txt:

    CONFIG_TEXT: Risk Factor: high (error) Title: Unable to import GPG certificates to install RHEL 8 userspace packages. error: /etc/leapp/files/vendors.d/rpm-gpg/mariadb-Server-GPG-KEY: key 1 import failed. 

Cause

The configured TuxCare repositories are preventing the conversion from proceeding normally.

Resolution

1. Log into the server via SSH

2. Run the following command in order to disable the TuxCare extension:

# plesk ext tuxcare-els --disable

3. Run the yum update command again and make sure that it finishes successfully

Once this is done, restart the CentOS 7 to AlmaLinux 8 conversion.

Note: After you've made sure the conversion to AlmaLinux is successful, you may enable the TuxCare Extended Lifecycle Support extension once again.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.