Plesk install/update fails or notifications about failed component upgrade received : [Errno 256] No more mirrors to try. https://packages.grafana.com/oss

Follow

Comments

9 comments

  • Avatar
    Scott Goddard

    This results in: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate."

    0
    Comment actions Permalink
  • Avatar
    Robin Labadie

    Works for me with CentOS 7 servers.

    Thanks for the workaround. It's been like a week though, I hope grafana will fix their servers or DNS entries soon.

    0
    Comment actions Permalink
  • Avatar
    Stefan Yakubov

    Hello Scott Goddard,

    Could you please provide the next outputs?

    # plesk -v

    and this one, without /etc/hosts modified:

    # dig +noall +answer packages.grafana.com

     

    0
    Comment actions Permalink
  • Avatar
    colin

    How do I contact the server via SSH ??

    0
    Comment actions Permalink
  • Avatar
    Stefan Yakubov

    Hi, colin

    You can follow to the next article:
    https://support.plesk.com/hc/en-us/articles/115000172834

    0
    Comment actions Permalink
  • Avatar
    colin

    After a day and half I have finally got SSH to work. Sadly it appears the script didn't work. Any ideas of what else to try?

    Here is the error part of the script

    https://packages.grafana.com/oss/rpm/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate."
    Trying other mirror.
    Failed to install {'release': '1centos.7.210707.1232', 'version': '1.0.10', 'arch': 'x86_64', 'name': 'libaps'}:
    Error while downloading packages metainfo: failure: repodata/repomd.xml from plesk-ext-grafana: [Errno 256] No more mirrors to try.
    https://packages.grafana.com/oss/rpm/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate.". Trying again.
    https://packages.grafana.com/oss/rpm/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate."
    Trying other mirror.
    Failed to install {'release': '1centos.7.210707.1232', 'version': '1.0.10', 'arch': 'x86_64', 'name': 'libaps'}:
    Error while downloading packages metainfo: failure: repodata/repomd.xml from plesk-ext-grafana: [Errno 256] No more mirrors to try.
    https://packages.grafana.com/oss/rpm/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate.". Trying again.
    https://packages.grafana.com/oss/rpm/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate."
    Trying other mirror.
    Failed to install {'release': '1centos.7.210707.1232', 'version': '1.0.10', 'arch': 'x86_64', 'name': 'libaps'}:
    Number of retries is exceeded.
    NoMoreMirrorsRepoError: failure: repodata/repomd.xml from plesk-ext-grafana: [Errno 256] No more mirrors to try.
    https://packages.grafana.com/oss/rpm/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate."
    Traceback (most recent call last):
    File "/usr/local/psa/bin/yum_install", line 286, in <module>
    main()
    File "/usr/local/psa/bin/yum_install", line 272, in main
    res = installer.resolve(to_install, to_remove, opts.tries)
    File "/usr/local/psa/bin/yum_install", line 161, in resolve
    self._iremove(to_install, to_remove)
    File "/usr/local/psa/bin/yum_install", line 125, in _iremove
    if self.install(**p):
    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4871, in install
    pkgs = self.pkgSack.searchNevra(name=nevra_dict['name'],
    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1075, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 778, in _getSacks
    self.repos.populateSack(which=repos)
    File "/usr/lib/python2.7/site-packages/yum/repos.py", line 380, in populateSack
    sack._retrieve_async(repo, data)
    File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 184, in _retrieve_async
    if self._check_db_version(repo, mydbtype):
    File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 319, in _check_db_version
    return repo._check_db_version(mdtype)
    File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1515, in _check_db_version
    repoXML = self.repoXML
    File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1701, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
    File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1697, in _getRepoXML
    self._loadRepoXML(text=self.ui_id)
    File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1688, in _loadRepoXML
    return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
    File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1662, in _groupLoadRepoXML
    if self._commonLoadRepoXML(text):
    File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1482, in _commonLoadRepoXML
    result = self._getFileRepoXML(local, text)
    File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1259, in _getFileRepoXML
    size=102400) # setting max size as 100K
    File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1042, in _getFile
    raise e
    NoMoreMirrorsRepoError: failure: repodata/repomd.xml from plesk-ext-grafana: [Errno 256] No more mirrors to try.
    https://packages.grafana.com/oss/rpm/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate."
    Execute command /usr/local/psa/admin/bin/send-error-report install --version 18.0.37
    [2021-07-29 09:19:53.829946] Warning: Failed to attach to cgroup /sys/fs/cgroup/systemd/user/root/tasks, installer might be unexpectedly killed later by the system
    [2021-07-29 09:19:53.857648] Error: The Yum utility failed to install the required packages.
    Attention! Your software might be inoperable.
    Visit https://support.plesk.com/ to search for a solution.

     

     

    0
    Comment actions Permalink
  • Avatar
    Scott Goddard

    Hi Stefan Yakubov

    Product version: Plesk Obsidian 18.0.36.0
         OS version: CentOS 7.9.2009 x86_64
         Build date: 2021/06/04 22:00
           Revision: 6d4a1b52d109da398b83c5edf9aaf4d17d4c72f3
    packages.grafana.com.	2015	IN	CNAME	dualstack.a3.shared.us-eu.fastly.net.
    dualstack.a3.shared.us-eu.fastly.net. 22 IN A	151.101.62.217

     

    0
    Comment actions Permalink
  • Avatar
    Scott Goddard

    It seems the workaround given appends the change directly onto the last line of the hosts file (without a space, thereby corrupting both the original and new entries) rather than adding it as a seperate line.

    Manually editing the hosts file to add "151.101.246.217 packages.grafana.com" as a seperate line, resolved the issue.

    0
    Comment actions Permalink
  • Avatar
    colin

    Sorry, I still haven't managed to fix the problem. This is the error that keeps being emailed to me. Saying: Please resolve them manually...

    Reason: 2021-07-30 03:40:28 INFO: pum is called with arguments: ['--list', '--repo-info', '--json']
    2021-07-30 03:40:30 ERROR: failure: repodata/repomd.xml from plesk-ext-grafana: [Errno 256] No more mirrors to try.
    https://packages.grafana.com/oss/rpm/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate."
    2021-07-30 03:40:30 ERROR: Exited with returncode 1.

    I have tried the SSH commands listed above, but still not worked. Sorry to be a pain!

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request