• 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

Forwarded to devs The GPG keys listed for the "grafana extension repository" repository are already installed but they are not correct for this package.

danami

Silver Pleskian
Username:

TITLE

The GPG keys listed for the "grafana extension repository" repository are already installed but they are not correct for this package.

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Product version: Plesk Obsidian 18.0.51.0
OS version: CentOS 7.9.2009 x86_64
Build date: 2023/03/10 09:00
Revision: 7de3d6afacb31f7ca7bdc07684f3b689cb7b0ef6

PROBLEM DESCRIPTION

When running yum update:

Code:
Dependencies Resolved

================================================================================================================================================================================================================================================================
 Package                                                      Arch                                                   Version                                                            Repository                                                         Size
================================================================================================================================================================================================================================================================
Updating:
 grafana                                                      x86_64                                                 8.5.21-1                                                           plesk-ext-grafana                                                  75 M
 nss                                                          x86_64                                                 3.79.0-5.el7_9                                                     updates                                                           895 k
 nss-sysinit                                                  x86_64                                                 3.79.0-5.el7_9                                                     updates                                                            66 k
 nss-tools                                                    x86_64                                                 3.79.0-5.el7_9                                                     updates                                                           555 k
 openssl                                                      x86_64                                                 1:1.0.2k-26.el7_9                                                  updates                                                           494 k
 openssl-libs                                                 x86_64                                                 1:1.0.2k-26.el7_9                                                  updates                                                           1.2 M

Transaction Summary
================================================================================================================================================================================================================================================================
Upgrade  6 Packages

Total download size: 78 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for updates
No Presto metadata available for plesk-ext-grafana
(1/6): nss-sysinit-3.79.0-5.el7_9.x86_64.rpm                                                                                                                                                                                             |  66 kB  00:00:00     
(2/6): nss-tools-3.79.0-5.el7_9.x86_64.rpm                                                                                                                                                                                               | 555 kB  00:00:00     
(3/6): nss-3.79.0-5.el7_9.x86_64.rpm                                                                                                                                                                                                     | 895 kB  00:00:00     
(4/6): openssl-1.0.2k-26.el7_9.x86_64.rpm                                                                                                                                                                                                | 494 kB  00:00:00     
(5/6): openssl-libs-1.0.2k-26.el7_9.x86_64.rpm                                                                                                                                                                                           | 1.2 MB  00:00:00     
warning: /var/cache/yum/x86_64/7/plesk-ext-grafana/packages/grafana-8.5.21-1.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 2cf3c0c6: NOKEY======================================================                         ]  27 MB/s |  59 MB  00:00:00 ETA
Public key for grafana-8.5.21-1.x86_64.rpm is not installed
(6/6): grafana-8.5.21-1.x86_64.rpm                                                                                                                                                                                                       |  75 MB  00:00:01     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                            46 MB/s |  78 MB  00:00:01     
Retrieving key from https://autoinstall.plesk.com/grafana/rpm/gpg.key


The GPG keys listed for the "grafana extension repository" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.


 Failing package is: grafana-8.5.21-1.x86_64
 GPG Keys are configured as: https://autoinstall.plesk.com/grafana/rpm/gpg.key

STEPS TO REPRODUCE

Run "yum update" on a system with the Grafana extension installed.

ACTUAL RESULT

GPG keys fail.

EXPECTED RESULT

GPG Keys should not fail.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
From developers:

Reproduced on CentOS and AlmaLinux on initial installation of Grafana. Confirming bug EXTPLESK-4461.

As a workaround:

Install/update Grafana via CLI:
plesk bin extension --install grafana

Further steps were found in https://support.plesk.com/hc/en-us/articles/9905780437650 due to the stat /var/lib/grafana/plugins: no such file or directory error found after installing Grafana and might not be necessary in case of updating.

1. Manually create plugins directory:

mkdir /var/lib/grafana/plugins

2. Go to Plesk > Monitoring and see the following error:

The plesk-json-backend-datasource plugin is not installed

click the Fix installation button to install the plugin.

3. Reload the Monitoring extension.

Please let us know if the workaround should not work.
 
According to developers this was a temporary issue with Grafana due to a Grafana repository update. Currently it cannot be reproduced. @danami could you please verify at your end that it now works correctly?
 
I got the sane error on a Plesk Obsidian CentOS 7.9 server. The second time I tried after I read this thread I got a warning message, but if I responded with "y" the updates installed. Here is the warning I got (I changed the keys to xxx):
Code:
Downloading packages:
warning: /var/cache/yum/x86_64/7/plesk-ext-grafana/packages/grafana-8.5.21-1.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 2cf3c0c6: NOKEY
Retrieving key from [URL]https://autoinstall.plesk.com/grafana/rpm/gpg.key[/URL]
Importing GPG key xxx:
 Userid     : "Grafana Labs <[EMAIL][email protected][/EMAIL]>"
 Fingerprint: xxx
 From       : [URL]https://autoinstall.plesk.com/grafana/rpm/gpg.key[/URL]
Is this ok [y/N]: y
 
@jola In that case maybe
# yum clean all
before the update can help. However, just to make sure that there is no product-related issue I have forwarded your input to developers again for further analysis.
 
@danami Thank you for your feedback. This is now handled as a product issue and further investigated. Issue ID is [EXTPLESK-4461].
 
Back
Top