• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Error updating from 18.0.44 to 18.0.51 on ubuntu 20

MrSpock

New Pleskian
Server operating system version
Ubuntu 20
Plesk version and microupdate number
18.0.44
When trying to update from version 18.0.44 to 18.0.51 an error occurs. I also tried to update via the console, but the same error occurs also there. What can I do to successfully upgrade? The error log is attached.
 

Attachments

  • plesk-installation-log.pdf
    23.9 KB · Views: 13
I tried to manually update my ubuntu server and see that the initial messages after:
apt-get update
is
OK:1 Index of /ubuntu focal InRelease
Ign:2 http://autoinstall.plesk.com/PSA_18.0.44 focal InRelease
OK:3 Index of /pool/PHP_7.1.33_96 focal InRelease
Holen:4 https://packages.grafana.com/oss/deb stable InRelease [5.984 B]
OK:5 Index of /ubuntu focal-updates InRelease
OK:6 Index of /pool/PHP_7.2.34_150 focal InRelease
OK:7 Index of /PHP73_17 focal InRelease
Holen:8 Index of /ubuntu focal-security InRelease [114 kB]
OK:9 Index of /PHP74_17 focal InRelease
OK:10 Index of /PHP80_17 focal InRelease
OK:11 Index of /PMM_0.1.11 focal InRelease
OK:12 Index of /NODE_0.0.2 all InRelease
OK:13 Index of /RUBY_0.0.2 focal InRelease
Fehl:14 http://autoinstall.plesk.com/PSA_18.0.44 focal Release
I checked the autoinstall.plesk.com and in fact there is no PSA_18.0.44 folder, but it starts only with PSA_18.0.45. That might be the reason, for my plesk upgrade from 18.0.44 to 18.0.51 cannot find important files and fails. What can I do about that?
 
The old Plesk repositories are stored in https://autoinstall-archives.plesk.com/

Try to switch to the alternative archive repository with:
Code:
# plesk installer --source autoinstall-archives.plesk.com
 
I started the installer with the above shown command. The installer then tried to install plesk 18.0.44, which is already installed. I want to upgrade to 18.0.51. So I followed the instruction on Plesk documentation: Upgrade von Plesk für Linux mithilfe der Installationskonsole

There it says to download the installer, make it executable and than start the installer.
The first errors that occur are for php installation due to no pubkey:

Hit:7 Index of /PHP80_17 focal InRelease
Err:1 Index of /pool/PHP_7.1.33_96 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Hit:8 Index of /PMM_0.1.11 focal InRelease
after that several errors occur due to the same reason:

Err:2 https://packages.grafana.com/oss/deb stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6
Hit:11 Index of /ubuntu focal InRelease
Err:3 Index of /pool/PHP_7.2.34_150 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Get:12 Index of /ubuntu focal-updates InRelease [114 kB]
Err:4 Index of /PSA_18.0.44/ focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:5 Index of /PHP73_17 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:6 Index of /PHP74_17 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:7 Index of /PHP80_17 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:8 Index of /PMM_0.1.11 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:9 Index of /NODE_0.0.2 all InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Get:13 Index of /ubuntu focal-security InRelease [114 kB]
Err:10 Index of /RUBY_0.0.2 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
after that the system complains that ftp is not supported:

E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
 
continued:
after several additional warnings and another ftp disabled error, the installation fails due to:
Reading state information...
E: Unable to locate package pp18.0.51-bootstrapper:amd64
E: Couldn't find any package by glob 'pp18.0.51-bootstrapper'
E: Couldn't find any package by regex 'pp18.0.51-bootstrapper'
E: Unable to locate package sw-engine-cli-4.51:amd64
E: Couldn't find any package by glob 'sw-engine-cli-4.51'
E: Couldn't find any package by regex 'sw-engine-cli-4.51'
E: Version '14081815-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'libapache2-mod-aclr2-psa' was not found
E: Version '0.2-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'libapache2-mod-sysenv-psa' was not found
E: Version '1.0.12-ubuntu.20.04.230222.0826' for 'libaps' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'libpam-plesk' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-backup-utilities' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-completion' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-control-panel' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-core' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-core-utilities' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-engine' was not found
E: Version '3.0.8-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-libmaodbc' was not found
E: Version '2.0.3-ubuntu.20.04.230222.0826' for 'plesk-librdbmspp' was not found
E: Version '0.2.6-ubuntu.20.04.230222.0826' for 'plesk-lmlib' was not found
E: Version '0.9.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-phpenv' was not found
E: Version '1.0.3-ubuntu.20.04.230222.0826' for 'plesk-platform-runtime' was not found
E: Version '18.0.51.1-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-release' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-repair-kit' was not found
E: Version '1.8.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-rrd' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-service-node-utilities' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-task-manager' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-ui-library' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-web-hosting' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-web-socket' was not found
E: Version '18.0.51-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa' was not found
E: Version '3.51.0-ubuntu.20.04.230330.1157' for 'psa-autoinstaller' was not found
E: Version '2.9.12-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-libxml-proxy' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-locale-base-en-us' was not found
E: Version '3.20.1-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-logrotate' was not found
E: Version '5.2.1-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-phpmyadmin' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-updates' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-vhost' was not found
E: Version '5.11.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'sw-collectd' was not found
E: Version '2.9.1-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'sw-cp-server' was not found
E: Version '4.51.0-ubuntu.20.04.230222.0826' for 'sw-engine' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-l10n' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-git-http' was not found
E: Version '5.2.23-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-horde' was not found
E: Version '6.2.27-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-imp' was not found
E: Version '3.2.16-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-ingo' was not found
E: Version '4.2.29-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-kronolith' was not found
E: Version '4.2.14-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-mnemo' was not found
E: Version '5.0.7-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-passwd' was not found
E: Version '4.2.29-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-turba' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-mail-pc-driver' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-mail-driver-common' was not found
E: Version '2.3.19.1-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-dovecot' was not found
E: Version '2.3.19.1-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-dovecot-core' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-dovecot-imap-driver' was not found
E: Version '0.5.19-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'plesk-dovecot-pigeonhole' was not found
E: Version '1.3.7e-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-proftpd' was not found
E: Version '2.3.9.5-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'libapache2-mod-fcgid-psa' was not found
E: Version '1.8.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-php-configurator' was not found
E: Version '18.0-v.ubuntu.20.04+p18.0.51.1+t230404.1037' for 'psa-firewall' was not found

Installation will not continue

ERROR: The 'apt' utility failed to install the required packages.
Not all packages were installed.
Visit https://support.plesk.com/ to search for a solution.

The last two error message quotes are identical to those I receive when I try to install th version through the admin panel. I have attached the full error log in the first post of this topic.
What can I dur to get the installation done?
 
in the log file or the error file that I showed above is no keyserver mentioned so I tried:
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BD11A6AA914BDF7
Executing: /tmp/apt-key-gpghome.SkW3Kt0nIW/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys BD11A6AA914BDF7
gpg: "BD11A6AA914BDF7" ist keine Schlüssel-ID: überspringe

# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BD11A6AA914BDF7E
Executing: /tmp/apt-key-gpghome.j5NH5HNfTM/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys BD11A6AA914BDF7E
gpg: Empfangen vom Schlüsselserver fehlgeschlagen: Keine Daten
do I have to use another keyserver?
 
Hello Peter,

I tried the sequence:

First error is still the same:

Err:1 Index of /pool/PHP_7.1.33_96 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Hit:8 Index of /NODE_0.0.2 all InRelease
Get:9 https://packages.grafana.com/oss/deb stable InRelease [5984 B]
Hit:10 Index of /RUBY_0.0.2 focal InRelease
Err:2 Index of /pool/PHP_7.2.34_150 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Hit:11 Index of /ubuntu focal InRelease
Hit:12 Index of /ubuntu focal-updates InRelease
Err:3 Index of /PSA_18.0.44/ focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:4 Index of /PHP73_17 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Hit:13 Index of /ubuntu focal-security InRelease
Err:5 Index of /PHP74_17 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:6 Index of /PHP80_17 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:7 Index of /PMM_0.1.11 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:8 Index of /NODE_0.0.2 all InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:9 https://packages.grafana.com/oss/deb stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6
Err:10 Index of /RUBY_0.0.2 focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
 
Can you post the errors between CODE tags, as explained on this page?


That way, the URLs are not replaced, which makes it a bit easier to read.
 
Sorry, I didn't see this explanation:

Code:
Err:1 http://autoinstall.plesk.com/pool/PHP_7.1.33_96 focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Hit:8 http://autoinstall.plesk.com/NODE_0.0.2 all InRelease
Get:9 https://packages.grafana.com/oss/deb stable InRelease [5984 B]
Hit:10 http://autoinstall.plesk.com/RUBY_0.0.2 focal InRelease
Err:2 http://autoinstall.plesk.com/pool/PHP_7.2.34_150 focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Hit:11 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:12 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Err:3 http://autoinstall-archives.plesk.com/PSA_18.0.44 focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:4 http://autoinstall.plesk.com/PHP73_17 focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Hit:13 http://archive.ubuntu.com/ubuntu focal-security InRelease
Err:5 http://autoinstall.plesk.com/PHP74_17 focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:6 http://autoinstall.plesk.com/PHP80_17 focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:7 http://autoinstall.plesk.com/PMM_0.1.11 focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:8 http://autoinstall.plesk.com/NODE_0.0.2 all InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Err:9 https://packages.grafana.com/oss/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6
Err:10 http://autoinstall.plesk.com/RUBY_0.0.2 focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
 
It seems that especially the key BD11A6AA914BDF7E cannot be found. I tried several keyservers. But I only receive the error „No Data“
Code:
apt-key adv --keyserver keys.openpgp.org --recv-keys BD11A6AA914BDF7E
Executing: /tmp/apt-key-gpghome.0cRFlEpseY/gpg.1.sh --keyserver keys.openpgp.org --recv-keys BD11A6AA914BDF7E
gpg: Empfangen vom Schlüsselserver fehlgeschlagen: Keine Daten
 
Hello - I am receiving the same:

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: Index of /PMM_0.1.11 focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
W: Failed to fetch http://autoinstall.plesk.com/PMM_0.1.11/dists/focal/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E


apt-key adv --keyserver keys.openpgp.org --recv-keys BD11A6AA914BDF7E
Executing: /tmp/apt-key-gpghome.ISBbnP6rmj/gpg.1.sh --keyserver keys.openpgp.org --recv-keys BD11A6AA914BDF7E
gpg: keyserver receive failed: No data

Product version: Plesk Obsidian 18.0.51.1
OS version: Ubuntu 20.04 x86_64
Build date: 2023/04/04 10:00
Revision: 5f28ac65ab7698d3411bcb7b25e11dabc0d59dd9

I discovered this when I tried to resolve the initial error: (I now receive this daily)

Reason: 2023-04-17 06:25:38 INFO: pum is called with arguments: ['--list', '--repo-info', '--json']
2023-04-17 06:25:42 ERROR:
2023-04-17 06:25:42 ERROR: Exited with returncode 1.
 
Hello Peter,

Unfortunately this did not solve the problem, I still have (among others) the No_Pubkey error mainly for BD11A6AA914BDF7E
 
Hi Peter,
I checked with my provider Strato. My Plesk licence is not eligible for direct plesk support and Strato cannot help to solve specific problems. I have a V-Server with Strato and it was initially used with ubuntu 16. So I used the plesk description for upgrading the operating system in 2 steps via ubuntu 18 to ubuntu 20. And I updated Plesk to Obsidian and all the way to version 18.0.44. Principally Strato cannot take any guarantee that the upgrade of the operating system even works on the V-Server, because some commonly used linux modules are not under control of the administrator of the V-Server, but are managed by Strato itself.
So the only advice they could give to me was to clean install the latest ubuntu version with the latest Plesk version and then to "migrate" the old system. I might use a new server, do the transfer and then cancel the no longer used server. If I want to be able to upgrade to operating system once in a while, I could change to a dedicated (limited resources) server, which in fact would not be much more expensive.
So I consider to do that, but prior to that I will check this forum to see, what problems might occur when trying to migrate an ubuntu 20 / plesk 18.0.44 installation to an ubuntu 22 / plesk 18.0.51 installation and how to do it with low risk and without loosing my installations (email, websites, files, databases and more).
Would you have some suggestions for the migration?
 
Since the issue could not be solved with all the advices I found here or in other places, I selected to change to a "dedicated server with limited available hardware" so that the price was only 4€ more per month compared to my V-Server. On the new dedicated server I installed ubuntu22 and the latest PLESK panel software. I used the Migrator (inspite of the few limits) and it showed me several warnings, of which most of them were easy to fix. That I started the migration of 3 domains.
The result was very good with only one exception. mySqlDump did not work. So I used phpMyAdmin to export all databases and imported them into the databases on the new server. After that the domains worked as before and all email accounts were transferred as well.
I then copied some saved data via scp command from the old to the new server and afterwards cancelled the contract with the old server.
The only downside of that change was the additional cost, that Strato asked for: they charged me over 60€ for the transfer of two domains from one Strato package to another and increased the monthly cost of the domains. When I complained, they reduced the amount to 22€ which I still consider unfair. So I will check the condition of other competitors.
Thanks to those who tried to help me solving my issue in the first place.
 
Back
Top