• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk Repo is OUT OF DATE!

A

ArcAiN6

Guest
several if not all of the CentOS 5.3 repo's have been removed. as the new officially supported version of CentOS is 5.4 (and has been for quite some time)

After trying to update to plesk panel 9.3.x from 9.2.x today, i noticed that the plesk installer from the website, as well as the currently installed 9.2.3 both are attempted to use the centos 5.3 repo.. As this repo no longer exists, there are 404 errors.

parallels_installer_v3.5.0_build090817.16_os_CentOS_5_i386 <--- autoinstaller from site download list
ERROR MESSAGE FROM LATEST INSTALLER:
Code:
Downloading the file repodata/repomd.xml: ERROR: Failed to download the package http://mirror.centos.org/centos/5.3/os/i386/repodata/repomd.xml:
The requested URL returned error: 404
Not all packages were installed.
Please try installing packages again later.
Please, resolve the above problem and try installing the packages again.
If you cannot resolve the problem on your own, contact product technical support for assistance.

ERROR MESSAGE FROM PLESK PANNEL UPDATE PAGE:
Code:
Error: Error: Failed to download the package http://mirror.centos.org/centos/5.3/os/i386/repodata/repomd.xml:
The requested URL returned error: 404
Not all packages were installed.
Please try installing packages again later.
Please, resolve the above problem and try installing the packages again.
If you cannot resolve the problem on your own, contact product technical support for assistance.

Purposed Solution:

Parallels needs to update thier installer(s) for the 5.4+ repo's
 
Try to add additional source with
~# echo `ADDITIONAL_SOURCE="repodata,100,http://<REPO_URL/,none,none"` > /root/.autoinstallerrc
 
ok... that's srot of along the correct lines... except i still recieve this error:


Code:
Error: Installation could not be started: Failed to download the package http://mirror.centos.org/centos/5.4/os/i386/repodata/repodata/repomd.xml:
The requested URL returned error: 404
Not all packages were installed.
Please try installing packages again later.
Please, resolve the above problem and try installing the packages again.
If you cannot resolve the problem on your own, contact product technical support for assistance.

for some reason it's looking for /repodata/repodata/
actual structure is:
[ceode]http://mirror.centos.org/centos/5.4/os/i386/repodata/repomd.xml[/code]
 
I received the following error:

[root@ns1 yum.repos.d]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.leaseweb.com
* atomic: www4.atomicorp.com
* base: mirror.leaseweb.com
* extras: mirror.leaseweb.com
* updates: mirror.leaseweb.com
http://www4.atomicorp.com/channels/plesk/9.0/centos/5/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: plesk. Please verify its path and try again


What can I do to solve this problem? I would like to upgrade plesk from 9.2.2 to 9.3+

Best Regards,
J.J.
 
Useful hint for other people encountering this error: check if you have a /root/.autoinstallerc file and delete it. Installation will work fine after that!
 
you'll run into this issue when updating plesk / plesk componants as well.. the easiest solution for us CentOS users is to edit the autoinstallerrc file from SSH terminal / shell

if you installed plesk from the root home then you will need to edit:
Code:
nano /root/.autoinstallerrc
you could also use pico, or vi if that's your preferred editor

for me, i had to change the 5.4 to 5.5 in the url like thus:

Before:
Code:
ADDITIONAL_SOURCE="repomd, 100, http://mirror.centos.org/centos/5.4/os/i386/"
ADDITIONAL_SOURCE="repomd, 101, http://mirror.centos.org/centos/5.4/updates/i386/"
ADDITIONAL_SOURCE="repomd, 102, http://mirror.centos.org/centos/5.4/centosplus/i386/"
ADDITIONAL_SOURCE="repomd, 103, http://mirror.centos.org/centos/5.4/addons/i386/"
ADDITIONAL_SOURCE="repomd, 104, http://mirror.centos.org/centos/5.4/extras/i386/" 
ADDITIONAL_SOURCE="repomd, 105, http://mirror.centos.org/centos/5.4/contrib/i386/"

After:
Code:
ADDITIONAL_SOURCE="repomd, 100, http://mirror.centos.org/centos/5.5/os/i386/"
ADDITIONAL_SOURCE="repomd, 101, http://mirror.centos.org/centos/5.5/updates/i386/"
ADDITIONAL_SOURCE="repomd, 102, http://mirror.centos.org/centos/5.5/centosplus/i386/"
ADDITIONAL_SOURCE="repomd, 103, http://mirror.centos.org/centos/5.5/addons/i386/"
ADDITIONAL_SOURCE="repomd, 104, http://mirror.centos.org/centos/5.5/extras/i386/" 
ADDITIONAL_SOURCE="repomd, 105, http://mirror.centos.org/centos/5.5/contrib/i386/"

Hope this is helpful to others..
 
Back
Top