Articles in this section

Plesk Update fails: NOKEY Importing GPG key 0xC74CD1D8

Plesk for Linux kb: technical

Symptoms

  • Plesk update failed and the following error can be seen on the log file /var/log/plesk/install/autoinstaller3.log with the error below:

    INFO: pum is called with arguments: ['--update', '--json', '--', 'MariaDB-client', 'MariaDB-common', 'MariaDB-compat', 'MariaDB-server', 'MariaDB-shared', 'galera-4']
    INFO: updating packages: MariaDB-compat MariaDB-client MariaDB-shared galera-4 MariaDB-server MariaDB-common 
    warning: /var/cache/yum/x86_64/7/mariadb/packages/MariaDB-compat-10.5.19-1.el7.centos.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID c74cd1d8: NOKEY 
    Importing GPG key 0xC74CD1D8: 
    Userid : "MariaDB Signing Key signing-key@mariadb.org" 
    Fingerprint: 177f 4010 fe56 ca33 3630 0305 f165 6f24 c74c d1d8 
    From : https://yum.mariadb.org/RPM-GPG-KEY-MariaDB 
    ERROR: Didn't install any keys 
    ERROR: Exited with returncode 1.

  • The server is running with RedHat-based OS.

Cause

MariaDB updated GPG key on February 2023: https://mariadb.org/new-gpg-release-key-rpms/. So they should be updated on RedHat-based OSes (CentOS, Cloudlinux, Amalinux, etc.) manually.

Item for improvement with ID PPPM-13906 was created to handle this situation from the Plesk side.

Resolution

  1. Connect to the server via SSH.
  2. Execute the command below to update key:

    # rpm --import https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY

  3. Re-run Plesk Update.
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.