• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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