• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved Issue updating Plesk

Karima

New Pleskian
Hi,
When I want to update my Plesk Obsidan 18.0.32 I have this bug:

Bash:
http://autoinstall.plesk.com/PHP56_17/dist-rpm-CentOS-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://autoinstall.plesk.com/PHP56_17/dist-rpm-CentOS-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds')
Essai d'un autre miroir.

So if i check my /etc/resolv.conf
Bash:
# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 213.186.33.99
nameserver 185.93.2.10
nameserver 185.93.1.5
search ovh.net

and my /etc/hosts :
Bash:
185.93.1.5 autoinstall.plesk.com
195.214.233.81 ka.plesk.com

I tried reinstalling my plesk so when I run this:
Bash:
# wget https://autoinstall.plesk.com/plesk-installer
--2021-12-10 18:30:12--  https://autoinstall.plesk.com/plesk-installer
Résolution de autoinstall.plesk.com (autoinstall.plesk.com)... 185.93.1.5
Connexion vers autoinstall.plesk.com (autoinstall.plesk.com)|185.93.1.5|:443...échec: Connexion terminée par expiration du délai d'attente.
Nouvel essai.

--2021-12-10 18:32:22--  (essai: 2)  https://autoinstall.plesk.com/plesk-installer
Connexion vers autoinstall.plesk.com (autoinstall.plesk.com)|185.93.1.5|:443...échec: Connexion terminée par expiration du délai d'attente.
Nouvel essai.

I don't understand what the problem is. Can you help me please? Thanks in advance!
 
and my /etc/hosts :
Bash:
185.93.1.5 autoinstall.plesk.com
195.214.233.81 ka.plesk.com

I don't think it's a good idea to have autoinstall.plesk.com and ka.plesk.com defined in your /etc/hosts file. Try to commend those lines out in your /etc/hosts file and to run the update process again.
 
So i have this message error :
Bash:
http://autoinstall.plesk.com/pool/PSA_18.0.32_4963/extras-rpm-CentOS-7-x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Essai d'un autre miroir.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.



 One of the configured repositories failed (PLESK_18_0_32 extras),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=PLESK_18_0_32-extras ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable PLESK_18_0_32-extras
        or
            subscription-manager repos --disable=PLESK_18_0_32-extras

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=PLESK_18_0_32-extras.skip_if_unavailable=true

failure: repodata/repomd.xml from PLESK_18_0_32-extras: [Errno 256] No more mirrors to try.
http://autoinstall.plesk.com/pool/PSA_18.0.32_4963/extras-rpm-CentOS-7-x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Thanks for helping!
 
I wonder why your system is trying to select an outdated Plesk version for the update. The PSA_18.0.32* files simply do not exist on the Plesk repository anymore. Something might be wrong with the Yum repo. What is the content and date of /etc/yum.repos.d/plesk.repo? Here it is December 15, 2021 (today) and the content is:
Code:
## Persistent repositories for Plesk Products.

[PLESK_18_0_40-extras]
name=PLESK_18_0_40 extras
baseurl=http://autoinstall.plesk.com/pool/PSA_18.0.40_7765/extras-rpm-CentOS-7-x86_64/
enabled=1
gpgcheck=1

...

The IP address that you have been using for autoinstall.plesk.com is wrong. As @Rasp said before, you need to remove these entries.

Have you set your update source to the official Plesk servers?
 
Back
Top