Hi Plesk Community,
I’ve been trying to install the site-import extension on a server running Ubuntu Jammy (22.04) with Plesk Obsidian, and I’m encountering persistent issues with GPG key verification. Despite following various troubleshooting steps, the installation fails due to a missing GPG key (BD11A6AA914BDF7E). Below is a detailed explanation of the issue and the steps I’ve tried.
Error Summary
Whenever I attempt to install the site-import extension, the installation fails during the post-install.php execution with the following errors:
W: GPG error:
Index of /PMM_1.0.0 jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
E: Failed to fetch
http://autoinstall.plesk.com/PMM_1.0.0/dists/jammy/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
The post-install.php script appears to fail during the "Bootstrapping dependencies" step, unable to fetch the required repository packages due to this key issue.
What I've Tried
Here’s what I’ve done so far to try to resolve the problem:
- Added the Plesk GPG Key
- Downloaded the Plesk GPG key and added it using various methods:
wget -qO - http://autoinstall.plesk.com/plesk.gpg | gpg --dearmor -o /usr/share/keyrings/plesk.gpg
Ensured permissions are correct:
sudo chmod 644 /usr/share/keyrings/plesk.gpg
Updated Repository Configuration
- Modified /etc/apt/sources.list.d/plesk.list to use the signed-by attribute:
deb [signed-by=/usr/share/keyrings/plesk.gpg] Index of /PSA_18.0.67 jammy all
deb [signed-by=/usr/share/keyrings/plesk.gpg] Index of /PMM_1.0.0 jammy all
- Attempted a Bypass with trusted=yes
- As a workaround, I modified the repository to bypass signature verification:
deb [trusted=yes] Index of /PSA_18.0.67 jammy all
deb [trusted=yes] Index of /PMM_1.0.0 jammy all
Unfortunately, this did not resolve the issue either.
- Manually Installed the Extension
- Downloaded the extension ZIP file and tried installing it manually:
plesk bin extension --install ./site-import-1.8.13-2255.zip
This also fails with the same error during the execution of post-install.php.
- Cleared and Refreshed Package Cache
- Cleaned the apt cache and manually removed old keys:
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
sudo apt-key del BD11A6AA914BDF7E
- Reviewed the post-install.php Script
- Examined /opt/psa/admin/plib/modules/site-import/scripts/post-install.php but could not identify a clear way to skip or bypass the dependency step without breaking the extension.
Environment Details
- OS: Ubuntu 22.04 (Jammy)
- Plesk Version: Obsidian 18.0.67
- Extension: site-import version 1.8.13-2255
- Repository URLs:
Request for Assistance
I’m looking for guidance on the following:
- Why the Plesk GPG key (BD11A6AA914BDF7E) is not being recognized despite being added to /usr/share/keyrings.
- How to successfully bypass or resolve the repository signature verification during the post-install.php step.
- Any manual workaround to install the required dependencies and complete the extension installation.
If anyone has encountered this issue or has a proven fix, your help would be greatly appreciated!
Thanks in advance for your assistance!