Plesk

Error installing Grafana on Plesk: Not using downloaded plesk-ext-grafana/repomd.xml because it is older than what we have

Symptoms

Cannot install Grafana over Plesk WebUI or CLI:

ERROR:root:Unable to create repository configuration: yum failed to perform makecache.
Not using downloaded plesk-ext-grafana/repomd.xml because it is older than what we have: Current : Tue Oct 4 19:07:38 2022 Downloaded: Mon Feb 21 13:26:55 2022 https://autoinstall.plesk.com/grafana/rpm/repodata/5e73550d6dd34cf9cc2bc6bddb6a451df10fa71af639b7f18ace6507c85a6f80-filelists.sqlite.bz2:
[Errno 14] HTTPS Error 404 - Not Found Trying other mirror. 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/. https://autoinstall.plesk.com/grafana/rpm/repodata/476392e6c5f1f392cddc9ac601eaa98abc3a88c1472766102f40742212155316-other.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. https://autoinstall.plesk.com/grafana/rpm/repodata

Cause

Corrupted repository cache.

Resolution

  1. Connect to Plesk over SSH
  2. Back up extension cache directory:

    # tar cvfz plesk-ext-grafana.tarz /var/cache/yum/x86_64/7/plesk-ext-grafana/

  3. Uninstall Grafana:

    # plesk bin extension --uninstall grafana
    The extension was successfully removed.

  4. Remove repository cache:

    # rm -rf  /var/cache/yum/x86_64/7/plesk-ext-grafana/

  5. Install Grafana:

    # plesk bin extension --install grafana
    The extension was successfully installed.

Exit mobile version