• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue cant install updates since 18.0.81.4

JensVi

New Pleskian
Server operating system version
Ubuntu 20.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.81 Update 4
Hello

Unfortunately, my previous post was deleted. So here’s my request again:

Since updating to version 18.0.81.4, I haven’t been able to install any Plesk updates. When I try to install updates via the web interface, the connection times out with a “Server not reachable” error.

When I try to install the latest version via SSH using “plesk installer update,” I get the following error. (Log truncated)

Code:
ERROR: Not found source for system packages (release 20.04) in APT software sources configuration:
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://autoinstall.plesk.com/pool/WPB_18.0.69_88 all/all all Packages
     release o=Plesk,a=all,n=all,l=WPB 18.0.69 packages,c=all,b=all
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP85_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.5 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP84_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.4 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP83_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.3 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP82_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.2 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP81_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.1 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP80_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.0 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP74_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 7.4 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/pool/PHP_7.3.33_248 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 7.3 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/pool/PHP_7.2.34_151 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 7.2 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/pool/PHP_7.1.33_98 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 7.1 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP70_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 7.0 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 https://autoinstall.plesk.com/grafana_12/deb stable/main amd64 Packages
     release o=Plesk,a=stable,n=stable,l=grafana,c=main,b=amd64
     origin autoinstall.plesk.com
 500 https://mirror.mariadb.org/repo/10.11/debian buster/main ppc64el Packages
     release o=MariaDB,a=buster,n=buster,l=MariaDB,c=main,b=ppc64el
     origin mirror.mariadb.org
 500 https://mirror.mariadb.org/repo/10.11/debian buster/main arm64 Packages
     release o=MariaDB,a=buster,n=buster,l=MariaDB,c=main,b=arm64
     origin mirror.mariadb.org
 500 https://mirror.mariadb.org/repo/10.11/debian buster/main amd64 Packages
     release o=MariaDB,a=buster,n=buster,l=MariaDB,c=main,b=amd64
     origin mirror.mariadb.org
 500 https://mirror.mariadb.org/repo/10.11/ubuntu focal/main ppc64el Packages
     release o=MariaDB,a=focal,n=focal,l=MariaDB,c=main,b=ppc64el
     origin mirror.mariadb.org
 500 https://mirror.mariadb.org/repo/10.11/ubuntu focal/main arm64 Packages
     release o=MariaDB,a=focal,n=focal,l=MariaDB,c=main,b=arm64
     origin mirror.mariadb.org
 500 https://mirror.mariadb.org/repo/10.11/ubuntu focal/main amd64 Packages
     release o=MariaDB,a=focal,n=focal,l=MariaDB,c=main,b=amd64
     origin mirror.mariadb.org
 500 https://repo.imunify360.cloudlinux.com/imunify360/ubuntu/20.04 focal/main amd64 Packages
     release o=imunify360.com,n=focal,l=imunify360.com,c=main,b=amd64
     origin repo.imunify360.cloudlinux.com
 500 http://autoinstall.plesk.com/pool/PSA_18.0.81_20371 focal/extras amd64 Packages
     release o=Plesk,a=focal,n=focal,l=Plesk 18.0.81 packages,c=extras,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/pool/PSA_18.0.81_20371 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=Plesk 18.0.81 packages,c=all,b=amd64
     origin autoinstall.plesk.com
Pinned packages:
     grafana -> 12.4.3 with priority 990


exit status 1

thank you for help
Jens
 
@JensVi

First of all, when using SSH, please run the command : plesk sbin autoinstaller (and not the command that you used).

It seems to be the case that there is something complete wrong with apt / apt-get .

Do you perhaps use Ubuntu Landscape? Or any other self-hosted repository? (please note that if you do not, then your server provider can still do that).

That could explain the issue to some extent.

So, try to run the apt-get update command first, in order to get a clear idea of the error messages.

If you do not get any change after multiple (!!!) attempts with apt-get, then you can apply this rough workaround here:


This is ONLY to test whether the setting SKIP_REPOSITORIES_CHECK=yes can resolve your issue (and not intended to maintain in a production environment!!)

Kind regards.....

PS As a general rule of thumb, always use the command line commands (and do not use the Web UI - this is a "blind" process that does not give you any insight in the progress of and/or errors during updates and installations. One needs this insight to prevent common mistakes like restarting the installation process in the case a process is already running but stuck).
 
Hello trialotto,

Thank you very much for your reply. I don't use Ubuntu Landscape. Since the server runs on a VM provided by Hosteurope, there might be a custom repository set up there.

Using the option `SKIP_REPOSITORIES_CHECK=yes` and the command `plesk sbin autoinstaller`, I was able to update to the latest version, Plesk Obsidian 18.0.82 Update 2.

I’ll keep an eye on how it performs in the future.

Thanks,
Jens
 
Hello,

Ive testet again to install updates via "plesk sbin autoinstaller" without the "SKIP_REPOSITORIES_CHECK=yes" option.

Ive get the same error message like bevor. What can I do to disable the error message.
What I wonder is, that for example Ive get error for PHP_7.x packages. But I have only installed PHP > 8.1


Code:
Datei wird heruntergeladen products.inf3: 100% fertig.
...
Datei wird heruntergeladen pool/PSA_18.0.73_17971/release.inf3: 100% fertig.
Datei wird heruntergeladen pool/PSA_18.0.72_17583/release.inf3: 100% fertig.
Datei wird heruntergeladen pool/PSA_18.0.71_17351/release.inf3: 100% fertig.
Datei wird heruntergeladen plesk.inf3: 100% fertig.
Datei wird heruntergeladen pool/WPB_18.0.82_89/release.inf3: 100% fertig.
Datei wird heruntergeladen PHP85_17/release.inf3: 100% fertig.
Datei wird heruntergeladen pool/WPB_18.0.69_88/release.inf3: 100% fertig.
Datei wird heruntergeladen PHP84_17/release.inf3: 100% fertig.
Datei wird heruntergeladen pool/WPB_18.0.59_78/release.inf3: 100% fertig.
Datei wird heruntergeladen PHP83_17/release.inf3: 100% fertig.
Datei wird heruntergeladen php83.inf3: 100% fertig.
Datei wird heruntergeladen pool/WPB_18.0.55_74/release.inf3: 100% fertig.
Datei wird heruntergeladen PHP82_17/release.inf3: 100% fertig.
Datei wird heruntergeladen php82.inf3: 100% fertig.
Datei wird heruntergeladen PHP81_17/release.inf3: 100% fertig.
Datei wird heruntergeladen php81.inf3: 100% fertig.
Datei wird heruntergeladen PHP80_17/release.inf3: 100% fertig.
Datei wird heruntergeladen php80.inf3: 100% fertig.
Datei wird heruntergeladen php72.inf3: 100% fertig.
Datei wird heruntergeladen PHP74_17/release.inf3: 100% fertig.
Datei wird heruntergeladen php74.inf3: 100% fertig.
Datei wird heruntergeladen php73.inf3: 100% fertig.
Datei wird heruntergeladen php71.inf3: 100% fertig.
Datei wird heruntergeladen pp-sitebuilder.inf3: 100% fertig.
Datei wird heruntergeladen mysql.inf3: 100% fertig.
Datei wird heruntergeladen apache.inf3: 100% fertig.
Datei wird heruntergeladen nginx.inf3: 100% fertig.
Datei wird heruntergeladen php70.inf3: 100% fertig.
Datei wird heruntergeladen php56.inf3: 100% fertig.
Datei wird heruntergeladen php55.inf3: 100% fertig.
Datei wird heruntergeladen php54.inf3: 100% fertig.
Datei wird heruntergeladen php53.inf3: 100% fertig.
Datei wird heruntergeladen php52.inf3: 100% fertig.
Datei wird heruntergeladen pmm.inf3: 100% fertig.
Datei wird heruntergeladen pool/PSA_18.0.82_20369/plesk-18.0.82-ubt20.04-x86_64.inf3: 100% fertig.
Feed des Erweiterungskatalogs wird heruntergeladen...
Datei wird heruntergeladen https://ext.plesk.com/api/v4/packages?platform=unix&version=18.0.82&ai-compatible: 0%
Datei wird heruntergeladen PHP70_17/php70-ubt20.04-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen pool/PHP_7.1.33_98/php71-ubt20.04-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen pool/PHP_7.2.34_151/php72-ubt20.04-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen pool/PHP_7.3.33_248/php73-ubt20.04-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen PHP74_17/php74-ubt20.04-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen PHP80_17/php80-ubt20.04-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen PHP81_17/php81-ubt20.04-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen PHP82_17/php82-ubt20.04-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen PHP83_17/php83-ubt20.04-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen PHP84_17/php84-ubt20.04-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen PHP85_17/php85-ubt20.04-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen pool/WPB_18.0.82_89/sitebuilder-18.0.82-deball-all.inf3: 100% fertig.
Die Synchronisierung Debian APT-Paket-Indexdateien...
Hit:1 http://autoinstall.plesk.com/pool/PSA_18.0.82_20369 focal InRelease
Hit:2 http://autoinstall.plesk.com/PHP70_17 focal InRelease
Hit:3 http://autoinstall.plesk.com/pool/PHP_7.1.33_98 focal InRelease
Hit:4 http://autoinstall.plesk.com/pool/PHP_7.2.34_151 focal InRelease
Hit:5 http://autoinstall.plesk.com/pool/PHP_7.3.33_248 focal InRelease
Hit:7 http://autoinstall.plesk.com/PHP74_17 focal InRelease
Hit:11 http://autoinstall.plesk.com/PHP80_17 focal InRelease
Hit:13 https://mirror.mariadb.org/repo/10.11/ubuntu focal InRelease
Hit:16 http://autoinstall.plesk.com/PHP81_17 focal InRelease
Hit:17 https://mirror.mariadb.org/repo/10.11/debian buster InRelease
Hit:19 http://autoinstall.plesk.com/PHP82_17 focal InRelease
Hit:22 http://autoinstall.plesk.com/PHP83_17 focal InRelease
Hit:24 https://autoinstall.plesk.com/grafana_12/deb stable InRelease
Hit:25 http://autoinstall.plesk.com/PHP84_17 focal InRelease
Hit:28 http://autoinstall.plesk.com/PHP85_17 focal InRelease
Hit:6 https://rollout.imunify360.com/ubuntu/20.04/slot-1 focal InRelease
Hit:8 https://rollout.imunify360.com/ubuntu/20.04/slot-2 focal InRelease
Hit:29 http://autoinstall.plesk.com/pool/WPB_18.0.82_89 all InRelease
Hit:9 https://rollout.imunify360.com/ubuntu/20.04/slot-3 focal InRelease
Hit:12 https://rollout.imunify360.com/ubuntu/20.04/slot-4 focal InRelease
Hit:14 https://rollout.imunify360.com/ubuntu/20.04/slot-5 focal InRelease
Hit:15 https://rollout.imunify360.com/ubuntu/20.04/slot-6 focal InRelease
Hit:18 https://rollout.imunify360.com/ubuntu/20.04/slot-7 focal InRelease
Hit:20 https://rollout.imunify360.com/ubuntu/20.04/slot-8 focal InRelease
Hit:21 https://rollout.imunify360.com/ubuntu/20.04/slot-9 focal InRelease
Hit:23 https://rollout.imunify360.com/ubuntu/20.04/slot-10 focal InRelease
Hit:26 https://rollout.imunify360.com/ubuntu/20.04/slot-11 focal InRelease
Hit:27 https://rollout.imunify360.com/ubuntu/20.04/slot-12 focal InRelease
Hit:10 https://repo.imunify360.cloudlinux.com/imunify360/ubuntu/20.04 focal InRelease
Reading package lists...

ERROR: Not found source for system packages (release 20.04) in APT software sources configuration:
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://autoinstall.plesk.com/pool/WPB_18.0.82_89 all/all all Packages
     release o=Plesk,a=all,n=all,l=WPB 18.0.82 packages,c=all,b=all
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP85_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.5 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP84_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.4 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP83_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.3 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP82_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.2 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP81_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.1 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP80_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 8.0 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP74_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 7.4 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/pool/PHP_7.3.33_248 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 7.3 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/pool/PHP_7.2.34_151 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 7.2 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/pool/PHP_7.1.33_98 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 7.1 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/PHP70_17 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=PHP v 7.0 packages,c=all,b=amd64
     origin autoinstall.plesk.com
 500 https://autoinstall.plesk.com/grafana_12/deb stable/main amd64 Packages
     release o=Plesk,a=stable,n=stable,l=grafana,c=main,b=amd64
     origin autoinstall.plesk.com
 500 https://mirror.mariadb.org/repo/10.11/debian buster/main ppc64el Packages
     release o=MariaDB,a=buster,n=buster,l=MariaDB,c=main,b=ppc64el
     origin mirror.mariadb.org
 500 https://mirror.mariadb.org/repo/10.11/debian buster/main arm64 Packages
     release o=MariaDB,a=buster,n=buster,l=MariaDB,c=main,b=arm64
     origin mirror.mariadb.org
 500 https://mirror.mariadb.org/repo/10.11/debian buster/main amd64 Packages
     release o=MariaDB,a=buster,n=buster,l=MariaDB,c=main,b=amd64
     origin mirror.mariadb.org
 500 https://mirror.mariadb.org/repo/10.11/ubuntu focal/main ppc64el Packages
     release o=MariaDB,a=focal,n=focal,l=MariaDB,c=main,b=ppc64el
     origin mirror.mariadb.org
 500 https://mirror.mariadb.org/repo/10.11/ubuntu focal/main arm64 Packages
     release o=MariaDB,a=focal,n=focal,l=MariaDB,c=main,b=arm64
     origin mirror.mariadb.org
 500 https://mirror.mariadb.org/repo/10.11/ubuntu focal/main amd64 Packages
     release o=MariaDB,a=focal,n=focal,l=MariaDB,c=main,b=amd64
     origin mirror.mariadb.org
 500 https://repo.imunify360.cloudlinux.com/imunify360/ubuntu/20.04 focal/main amd64 Packages
     release o=imunify360.com,n=focal,l=imunify360.com,c=main,b=amd64
     origin repo.imunify360.cloudlinux.com
 500 http://autoinstall.plesk.com/pool/PSA_18.0.82_20369 focal/extras amd64 Packages
     release o=Plesk,a=focal,n=focal,l=Plesk 18.0.82 packages,c=extras,b=amd64
     origin autoinstall.plesk.com
 500 http://autoinstall.plesk.com/pool/PSA_18.0.82_20369 focal/all amd64 Packages
     release o=Plesk,a=focal,n=focal,l=Plesk 18.0.82 packages,c=all,b=amd64
     origin autoinstall.plesk.com
Pinned packages:
     grafana -> 12.4.3 with priority 990


exit status 1

thank you
Jens
 
Hey @JensVi ,

looking at your output, I think I see the cause: there is no Ubuntu source in your APT config at all. The "Package files" list only has Plesk, MariaDB, Grafana and Imunify360, and the apt update in your last post only hits those four as well. No focal main/updates/security, no provider mirror. The autoinstaller looks for exactly that source for the system packages (release 20.04) and aborts with "Not found source for system packages". That's also why SKIP_REPOSITORIES_CHECK=yes "fixes" it: it only turns the check off, the server still gets no Ubuntu updates. So I don't think Landscape or a custom repo is the problem here, a custom mirror would show up in the list. The PHP 7.x entries are probably just the installer listing all PHP versions, not the cause.

To check:
Code:
grep -rEv "^\s*(#|$)" /etc/apt/sources.list /etc/apt/sources.list.d/
apt-cache policy | grep -i -E "ubuntu|focal-(updates|security)"

If that shows no Ubuntu lines, restore the standard focal entries (or the ones your provider uses; Hosteurope may have its own mirror) and back up the files first. Then run "apt-get update" and "plesk sbin autoinstaller" again without the skip option.

Side notes: the MariaDB entry "debian buster" on an Ubuntu box looks wrong, and Ubuntu 20.04 is out of standard support, so a plan to upgrade would be good.

I haven't tried this on a server, it's based only on the two outputs you posted.

Regards
Tessa
 
Hello trialotto,

Thank you very much for your reply. I don't use Ubuntu Landscape. Since the server runs on a VM provided by Hosteurope, there might be a custom repository set up there.

Using the option `SKIP_REPOSITORIES_CHECK=yes` and the command `plesk sbin autoinstaller`, I was able to update to the latest version, Plesk Obsidian 18.0.82 Update 2.

I’ll keep an eye on how it performs in the future.

Thanks,
Jens
@JensVi

Hosteurope does have its own "mirror" and it is known to be problematic (in all kinds of ways) from time to time.

In the past, it - often - was best to wait a couple of days, since mirror related issues at Hosteurope were resolved mostly in those couple of days.


The intention of my previous instructions was - actually - to get apt / apt-get working properly first, before running any update command .....

......... and if one is sure that Plesk will update fine, also to use "plesk sbin autoinstaller".


At this moment, you have

1 - updated to Plesk 18.0.82 MU2 ........ which also appears to be a "not so good" Plesk version.

2 - some issues again with apt-get / apt

and you should really check apt sources files first, before proceeding and/or before running any other command.


Is this a "critical" production server? Or can you play around a bit without any issue when a bit of data gets lost and/or hosting stops a bit?

These questions might be relevant if the below is not possible for you.


In general, I recommend to routinely "refresh" Plesk instances : order a new server, install a clean Plesk instance and migrate data from the old server to the new server (and check whether hosting data is not botched on the new server) and migrate DNS to point to the new server (if all checks are good).

In your case, you might benefit from a new server with Ubuntu 24 LTS and Plesk 18.0.81 MU7 (and wait a bit with Plesk 18.0.82), as opposed to doing in-place OS upgrades (since you have an issue with apt / apt-get !!)

It might take sime time and money, but it really seems to be the best way forward.

The OS upgrade is, at least in your case, inevitable and also problematic (due to the apt related issues) : you really will benefit from a clean install.

Otherwise, you will first have to repair or make sure that apt / apt-get is working properly ......... that can be easy or a true pain-in-the-***.


Kind regards....
 
Hey @JensVi ,

looking at your output, I think I see the cause: there is no Ubuntu source in your APT config at all. The "Package files" list only has Plesk, MariaDB, Grafana and Imunify360, and the apt update in your last post only hits those four as well. No focal main/updates/security, no provider mirror. The autoinstaller looks for exactly that source for the system packages (release 20.04) and aborts with "Not found source for system packages". That's also why SKIP_REPOSITORIES_CHECK=yes "fixes" it: it only turns the check off, the server still gets no Ubuntu updates. So I don't think Landscape or a custom repo is the problem here, a custom mirror would show up in the list. The PHP 7.x entries are probably just the installer listing all PHP versions, not the cause.

To check:
Code:
grep -rEv "^\s*(#|$)" /etc/apt/sources.list /etc/apt/sources.list.d/
apt-cache policy | grep -i -E "ubuntu|focal-(updates|security)"

If that shows no Ubuntu lines, restore the standard focal entries (or the ones your provider uses; Hosteurope may have its own mirror) and back up the files first. Then run "apt-get update" and "plesk sbin autoinstaller" again without the skip option.

Side notes: the MariaDB entry "debian buster" on an Ubuntu box looks wrong, and Ubuntu 20.04 is out of standard support, so a plan to upgrade would be good.

I haven't tried this on a server, it's based only on the two outputs you posted.

Regards
Tessa

Hello Tessa,

thanks for your help. Here ist teh result of you command:

Code:
/etc/apt/sources.list.d/mariadb.list:deb [arch=amd64,arm64,ppc64el] https://mirror.mariadb.org/repo/10.11/ubuntu/ focal main
/etc/apt/sources.list.d/mariadb.list:deb [arch=amd64,arm64,ppc64el] https://mirror.mariadb.org/repo/10.11/debian buster main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-1/ focal main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-2/ focal main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-3/ focal main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-4/ focal main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-5/ focal main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-6/ focal main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-7/ focal main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-8/ focal main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-9/ focal main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-10/ focal main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-11/ focal main
/etc/apt/sources.list.d/imunify-rollout.list:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-12/ focal main
/etc/apt/sources.list.d/plesk-ext-grafana.list:deb [signed-by=/etc/apt/keyrings/plesk-ext-grafana.gpg] https://autoinstall.plesk.com/grafana_12/deb stable main
/etc/apt/sources.list.d/plesk.list:deb [signed-by=/etc/apt/keyrings/plesk.gpg] http://autoinstall.plesk.com/pool/PSA_18.0.82_20369/  focal extras
/etc/apt/sources.list.d/plesk.list:deb [signed-by=/etc/apt/keyrings/plesk.gpg] http://autoinstall.plesk.com/PHP82_17/  focal all
/etc/apt/sources.list.d/plesk.list:deb [signed-by=/etc/apt/keyrings/plesk.gpg] http://autoinstall.plesk.com/PHP83_17/  focal all
/etc/apt/sources.list.d/plesk.list:deb [signed-by=/etc/apt/keyrings/plesk.gpg] http://autoinstall.plesk.com/PHP85_17/  focal all
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-1-bypass/ focal main
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-2-bypass/ focal main
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-3-bypass/ focal main
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-4-bypass/ focal main
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-5-bypass/ focal main
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-6-bypass/ focal main
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-7-bypass/ focal main
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-8-bypass/ focal main
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-9-bypass/ focal main
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-10-bypass/ focal main
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-11-bypass/ focal main
/etc/apt/sources.list.d/imunify-rollout-bypass.list.disabled:deb [arch=amd64] https://rollout.imunify360.com/ubuntu/20.04/slot-12-bypass/ focal main
/etc/apt/sources.list.d/imunify360.list:deb [arch=amd64] https://repo.imunify360.cloudlinux.com/imunify360/ubuntu/20.04/ focal main
 
@JensVi

Hosteurope does have its own "mirror" and it is known to be problematic (in all kinds of ways) from time to time.

In the past, it - often - was best to wait a couple of days, since mirror related issues at Hosteurope were resolved mostly in those couple of days.


The intention of my previous instructions was - actually - to get apt / apt-get working properly first, before running any update command .....

......... and if one is sure that Plesk will update fine, also to use "plesk sbin autoinstaller".


At this moment, you have

1 - updated to Plesk 18.0.82 MU2 ........ which also appears to be a "not so good" Plesk version.

2 - some issues again with apt-get / apt

and you should really check apt sources files first, before proceeding and/or before running any other command.


Is this a "critical" production server? Or can you play around a bit without any issue when a bit of data gets lost and/or hosting stops a bit?

These questions might be relevant if the below is not possible for you.


In general, I recommend to routinely "refresh" Plesk instances : order a new server, install a clean Plesk instance and migrate data from the old server to the new server (and check whether hosting data is not botched on the new server) and migrate DNS to point to the new server (if all checks are good).

In your case, you might benefit from a new server with Ubuntu 24 LTS and Plesk 18.0.81 MU7 (and wait a bit with Plesk 18.0.82), as opposed to doing in-place OS upgrades (since you have an issue with apt / apt-get !!)

It might take sime time and money, but it really seems to be the best way forward.

The OS upgrade is, at least in your case, inevitable and also problematic (due to the apt related issues) : you really will benefit from a clean install.

Otherwise, you will first have to repair or make sure that apt / apt-get is working properly ......... that can be easy or a true pain-in-the-***.


Kind regards....

Hello trialotto,

thanks for you help. I've chekced the apt-get command. I got no error when I used it.

Code:
apt-get update
OK:1 http://autoinstall.plesk.com/pool/PSA_18.0.82_20369 focal InRelease
OK:2 http://autoinstall.plesk.com/PHP82_17 focal InRelease
OK:3 http://autoinstall.plesk.com/PHP83_17 focal InRelease
OK:4 http://autoinstall.plesk.com/PHP85_17 focal InRelease
OK:5 https://autoinstall.plesk.com/grafana_12/deb stable InRelease
OK:7 https://mirror.mariadb.org/repo/10.11/ubuntu focal InRelease
OK:9 https://mirror.mariadb.org/repo/10.11/debian buster InRelease
OK:6 https://rollout.imunify360.com/ubuntu/20.04/slot-1 focal InRelease
OK:8 https://rollout.imunify360.com/ubuntu/20.04/slot-2 focal InRelease
OK:10 https://rollout.imunify360.com/ubuntu/20.04/slot-3 focal InRelease
OK:11 https://rollout.imunify360.com/ubuntu/20.04/slot-4 focal InRelease
OK:12 https://rollout.imunify360.com/ubuntu/20.04/slot-5 focal InRelease
OK:14 https://rollout.imunify360.com/ubuntu/20.04/slot-6 focal InRelease
OK:13 https://repo.imunify360.cloudlinux.com/imunify360/ubuntu/20.04 focal InRelease
OK:15 https://rollout.imunify360.com/ubuntu/20.04/slot-7 focal InRelease
OK:16 https://rollout.imunify360.com/ubuntu/20.04/slot-8 focal InRelease
OK:17 https://rollout.imunify360.com/ubuntu/20.04/slot-9 focal InRelease
OK:18 https://rollout.imunify360.com/ubuntu/20.04/slot-10 focal InRelease
OK:19 https://rollout.imunify360.com/ubuntu/20.04/slot-11 focal InRelease
OK:20 https://rollout.imunify360.com/ubuntu/20.04/slot-12 focal InRelease
Paketlisten werden gelesen... Fertig

apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

thank you
Jens
 
@JensVi

The output is fairly incomplete and this is an understatement.

I have just checked Plesk ELS (Extended Lifecycle Support) and it seems to be the case that there are no (free) updates.

I can be mistaken (and I certainly hope that I am), but if I am not, then there are 2 simple solutions to this issue :

1 - order a new server with Ubuntu 24 LTS or Ubuntu 26 LTS, install a clean Plesk instance and migrate data to the new server

2 - try to install TuxCare extension ........ that is a workaround that is not ideal and that does not offer guarantees for the future.

In my humble opinion, just choose for option 1 and save yourself a lot of issues for the near future when updating Plesk or Ubuntu.

Personally, I could also recommend to use Ubuntu 24 LTS, since that would be a bit more recognizable for you if you are used to Ubuntu 20.

Kind regards....
 
Hello,

The error "ERROR: Not found source for system packages (release 20.04) in APT software sources configuration" means that autoinstaller doesn't find configured OS packages repositories, without that autoinstall refuses to apply updates. Usually it configured in /etc/apt/sources.list, so try to add at the end of this file following lines, and then try aplly updates again:

Code:
deb http://archive.ubuntu.com/ubuntu/ focal main restricted
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
deb http://archive.ubuntu.com/ubuntu/ focal universe
deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
deb http://archive.ubuntu.com/ubuntu/ focal multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ focal-security main restricted
deb http://security.ubuntu.com/ubuntu/ focal-security universe
deb http://security.ubuntu.com/ubuntu/ focal-security multiverse
 
@mizar

@JensVi should first check for the existence and contents of the sources.list file on his system - it should be there, with entries different than your suggestions.

If it is there and not working, then the sources.list file should be copied (to sources.bak for instance) and a new sources.list can be created.

If the file is not there, then the sources.list file could be created with your entries or another mirror.

For instance, your set of lines can be abbreviated to

deb http://ubuntu.mirror.serverloft.eu/ubuntu focal main universe multiverse restricted
deb-src http://ubuntu.mirror.serverloft.eu/ubuntu focal main universe multiverse restricted

# updates

deb http://ubuntu.mirror.serverloft.eu/ubuntu focal-updates main universe multiverse restricted
deb-src http://ubuntu.mirror.serverloft.eu/ubuntu focal-updates main universe multiverse restricted

# security updates

deb http://ubuntu.mirror.serverloft.eu/ubuntu focal-security main universe multiverse restricted
deb-src http://ubuntu.mirror.serverloft.eu/ubuntu focal-security main universe multiverse restricted

and the link / URL

http://ubuntu.mirror.serverloft.eu/ubuntu

should also work with the link / URL

https://archive.ubuntu.com/ubuntu/


In essence, at least in theory, these two mirrors are exactly the same if (and only if) serverloft mirror is the nearest - the archive.ubuntu.com is a redirector.


As a final note, @JensVi should - if the sources.list file is present - check the contents : there is something odd with the hosteurope mirror, in the sense that it can be the case that sources.list file (if present) contains either

ftp.hosteurope.de/mirror/archive.ubuntu.com/

or

ftp.hosteurope.de/mirror/releases.ubuntu.com/

in the URL / links.

In theory, both should work, but I assume here that @JensVi - again, only if the sources.list file is present - has an issue with the "releases" link.

In that case, replacing the word "releases" with "archive" could also help .....


Most of the above is not tested, for many reasons ......

.......... but it is safe to change some lines in sources.list and run a harmless apt / apt-get command ;-)

Kind regards...
 
Last edited:
Hey @JensVi,

Quick summary of where things stand and what I'd do:

The actual cause: Your APT config has no Ubuntu sources at all — only Plesk, MariaDB, Grafana and Imunify360. That's why the installer bails with "Not found source for system packages (release 20.04)". SKIP_REPOSITORIES_CHECK=yes only skipped the check, it didn't fix anything. The server still gets no OS updates!

Short term (get Plesk working again): Add the standard focal sources to /etc/apt/sources.list (the lines @mizar posted), back up the file first, then run
Code:
apt update
and
Code:
plesk sbin autoinstaller
without the skip option. That gets you past the error properly.

But be aware: Ubuntu 20.04's free standard support ended in May 2025. So even with the sources restored, you won't get new free security updates anymore. That's the real issue @trialotto is pointing at, and he's absolute right about it.

Long term: Either enable Ubuntu Pro (ESM) for 20.04 to keep security patches coming, or better. Plan a migration to Ubuntu 24.04 LTS. Given the apt mess, a clean install + migration is probably less painful than an in-place upgrade.

So: @mizar's fix gets you running today, @trialotto's advice is what keeps you safe going forward. Do both — fix now, migrate soon. ;)

Regards
Tessa
 
Back
Top