• 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 Plesk PHP 7.4 repo missing data for CentOS 8 / AlmaLinux 8?

websavers

Regular Pleskian
Just started getting 404s attempting to run yum update. Error is:
PHP 7.4 763 B/s | 251 B 00:00
Errors during downloading metadata for repository 'PLESK_17_PHP74':
- Status code: 404 for http://autoinstall.plesk.com/PHP74_17/dist-rpm-CentOS-8-x86_64/repodata/repomd.xml (IP: 185.246.209.11)
Error: Failed to download metadata for repo 'PLESK_17_PHP74': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
And indeed, visiting the above URL shows the entire dist-rpm-CentOS-8-x86_64 folder missing.

This server is running AlmaLinux 8.5, not CentOS 8, and it has the latest release of Plesk: Plesk Obsidian Version 18.0.41 Update #1

This still exists: http://autoinstall.plesk.com/PHP74_17/dist-rpm-RedHat-el8-x86_64/repodata/repomd.xml

But if Plesk was going to drop support for the CentOS 8 folder (due to no more support for CentOS 8 itself), shouldn't that have been changed in the repo file many updates ago?

Seems more likely that they just accidentally removed the CentOS 8 folder from the repo...
 
I can confirm the problem on all our AlmaLinux OS 8.5 based servers. I think the Plesk people deleted the repository for CentOS 8 (which is out of support) and didn't have in mind that the same repository is used by AlmaLinux OS (and probably Rocky Linux as well).

This should be fixed immediately!
 
It should be fixed now. Please check and let me know if something is still wrong with it.
 
Unfortunately the problem reappeared. This time for PHP 8.1:

INFO: Error during transfer: Status code: 404 for http://autoinstall.plesk.com/PHP81_17/dist-rpm-CentOS-8-x86_64/repodata/repomd.xml (IP: 195.181.172.8)
ERROR: Failed to download metadata for repo 'PLESK_17_PHP81': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

And indeed, repodata/repomd.xml is missing in the repository.

Please, can you fix this as soon as possible?

Thank you!
 
This fixes it by switching PHP 7.4 -> 8.1 repo data over to using RedHat-el8 rather than CentOS-8. The binaries should be identical.

Bash:
sed -i.bak "s#_17/dist-rpm-CentOS-8#_17/dist-rpm-RedHat-el8#g" /etc/yum.repos.d/plesk.repo

And if you need to revert it you can either copy the backup file back into place or do the opposite replacement:
Bash:
cp /etc/yum.repos.d/plesk.repo.bak  /etc/yum.repos.d/plesk.repo
or
Bash:
sed -i.bak "s#_17/dist-rpm-RedHat-el8#_17/dist-rpm-CentOS-8#g" /etc/yum.repos.d/plesk.repo
 
Very annoying every Almalinux plesk server has now a different problem, some due to missing repos some due to bug at mariadb that breaks installer

Officially Plesk will fix the problem with repos? 5 May now, nothing for 20 days

Errors during downloading metadata for repository 'PLESK_17_PHP80':
- Status code: 404 for http://autoinstall.plesk.com/PHP80_17/dist-rpm-CentOS-8-x86_64/repodata/repomd.xml

Almalinux 8.5, Plesk Obsidian Version 18.0.43

Has anyone tried the above solution with changing repo to redhat?
 
@Jeroen Bl You'll need to migrate your operating system, because CentOS 8 was end of life by the end of 2021. We're now more than a year past that date. Plesk does not support operating systems that are end of life. I recommend migrating to Alma Linux.
 
Hi Peter,

Thanks for your reply.
I have migrated 2 years ago to Almalinux (currently on 8.7), but Plesk still seems to try Centos 8 repo's?
 
I am not sure why this happens. Then either indeed Plesk needs to be updated or there are CentOS 8 repositories active. Can you successfuly upgrade Plesk?
 
Back
Top