• 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

Resolved Unable to update Plesk - without error

Andreas Bangemann

New Pleskian
Hi,
i've got a server with Ubuntu 16.04.4 LTS and Plesk Onyx Version 17.8.11 Update #11.

If I try to update Plesk, I get the following output:

Code:
Installation wird nicht fortgesetzt

Die Ausführung von apg-get ist mit folgender Meldung fehlgeschlagen:
Reading package lists...
Building dependency tree...
Reading state information...

I tried:
  • apt-get udate
  • apt-get upgrade
  • apt-get upgrade -f
  • apt-get clean && apt-get autoclean && apt-get autoremove
  • apt-get -f install
All without success.

Someone an idea to solve the problem?

Andreas.
 
That's weird error, something blocks the connection or the installation files are corrupted I'm not sure.

1- Try apt update without (get)
2- plesk repair all -n (see if there is any errors with plesk)
3- check your firewall with your hosting provider
 
perhaps can you check if there are any ERROR messages in /var/log/plesk/systemupdatestool.log and post it here
 
That's weird error, something blocks the connection or the installation files are corrupted I'm not sure.

1- Try apt update without (get)
2- plesk repair all -n (see if there is any errors with plesk)
3- check your firewall with your hosting provider

The results:

1- apt update
OK:1 http://autoinstall.plesk.com/ubuntu/PMM_0.1.10 xenial InRelease
OK:3 ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial InRelease
OK:4 ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial-updates InRelease
OK:5 ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial-security InRelease
OK:6 ftp://ftp.stratoserver.net/pub/plesk/ubuntu/PSA_17.8.11 xenial InRelease
Paketlisten werden gelesen... Fertig
E: Der Treiber für Methode /usr/lib/apt/methods/https konnte nicht gefunden werden.
N: Ist das Paket apt-transport-https installiert?

2- plesk repair all -n (see if there is any errors with plesk)

Checking the Plesk database using the native database server tools .. [OK]

Checking the structure of the Plesk database ........................ [OK]

Checking the consistency of the Plesk database ...................... [OK]

Checking system users

The system user 'xxxxx' is orphaned in Plesk .............. [WARNING]

Checking Linux system files

There are incorrect permissions on some items: /etc ............... [ERROR]
To see more details, run the command in the verbose mode: plesk repair fs -verbose

There are incorrect permissions on some items:
/etc/psa-webmail/horde/.horde.shadow .............................. [ERROR]
To see more details, run the command in the verbose mode: plesk repair fs -verbose

Checking virtual hosts' file system

There is incorrect ownership on some items in the WWW root directory
of the domain 'xxxxx.com' ..................................... [ERROR]
To see more details, run the command in the verbose mode: plesk repair fs -verbose

There are files or directories with suspicious permissions in the
root directory of the domain 'xxxxx.com' ...................... [WARNING]
To see more details, run the command in the verbose mode: plesk repair fs -verbose

Checking the configuration of Apache modules ........................ [OK]

Repairing web server configuration .................................. [OK]

Checking the usage of PHP handlers .................................. [OK]

Repairing the mail server configuration ............................. [OK]

Checking the DNS configuration file

The NS configuration file '/var/named/run-root/etc/named.conf' is
absent ............................................................ [ERROR]

Restoring DNS server configuration .................................. [OK]

Checking MySQL database servers ..................................... [OK]

Repair databases on available servers ............................... [OK]

Repair database users on available servers .......................... [OK]

Error messages: 4; Warnings: 2; Errors resolved: 0

exit status 1


 
OK, i've corrected the warnings/errors, so I get the following output:

Code:
# plesk repair fs -verbose
Checking Linux system files ......................................... [OK]
Checking virtual hosts' file system ................................. [OK]
Error messages: 0; Warnings: 0; Errors resolved: 0

But if I run the Plesk-Update, I still get:

Code:
Installation wird nicht fortgesetzt
Die Ausführung von apg-get ist mit folgender Meldung fehlgeschlagen:
Reading package lists...
Building dependency tree...
Reading state information...
 
perhaps can you check if there are any ERROR messages in /var/log/plesk/systemupdatestool.log and post it here

Code:
2018-04-26 00:10:11 ERROR: Update operation was locked by another update process (Plesk installer or pum).
2018-04-26 00:10:11 ERROR: Exited with returncode 100.

2018-05-31 00:05:06 ERROR: E:The method driver /usr/lib/apt/methods/https could not be found., W:Is the package apt-transport-https installed?, W:GPG error: http://software.open-xchange.com/products/appsuite/stable/appsuiteui/DebianJessie  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD1A5E9CEED949F0, W:The repository 'http://software.open-xchange.com/products/appsuite/stable/appsuiteui/DebianJessie  Release' is not signed., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://software.open-xchange.com/products/appsuite/stable/backend/DebianJessie  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD1A5E9CEED949F0, W:The repository 'http://software.open-xchange.com/products/appsuite/stable/backend/DebianJessie  Release' is not signed.
2018-05-31 00:05:06 ERROR: Exited with returncode 1.
2018-05-31 00:05:06 INFO: pum is called with arguments: ['--list', '--repo-info', '--json']
2018-05-31 00:05:11 ERROR: E:The method driver /usr/lib/apt/methods/https could not be found., W:Is the package apt-transport-https installed?, W:GPG error: http://software.open-xchange.com/products/appsuite/stable/appsuiteui/DebianJessie  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD1A5E9CEED949F0, W:The repository 'http://software.open-xchange.com/products/appsuite/stable/appsuiteui/DebianJessie  Release' is not signed., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://software.open-xchange.com/products/appsuite/stable/backend/DebianJessie  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD1A5E9CEED949F0, W:The repository 'http://software.open-xchange.com/products/appsuite/stable/backend/DebianJessie  Release' is not signed.
2018-05-31 00:05:11 ERROR: Exited with returncode 1.
2018-06-01 00:41:16 INFO: pum is called with arguments: ['--check']
2018-06-01 00:41:22 ERROR: E:The method driver /usr/lib/apt/methods/https could not be found., W:Is the package apt-transport-https installed?, W:GPG error: http://software.open-xchange.com/products/appsuite/stable/appsuiteui/DebianJessie  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD1A5E9CEED949F0, W:The repository 'http://software.open-xchange.com/products/appsuite/stable/appsuiteui/DebianJessie  Release' is not signed., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://software.open-xchange.com/products/appsuite/stable/backend/DebianJessie  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD1A5E9CEED949F0, W:The repository 'http://software.open-xchange.com/products/appsuite/stable/backend/DebianJessie  Release' is not signed.
2018-06-01 00:41:22 ERROR: Exited with returncode 1.
...
...
...

Notice: A few weeks ago, I tried to install OpenXchange, but it didn' t work!
 
Try sudo apt-get install apt-transport-https and then try your update again.
 
Notice: A few weeks ago, I tried to install OpenXchange, but it didn' t work!
Bad idea to install any serious third-party software on the same server with Plesk.
I'd suggest you remove all OpenXchange packages first and then run

# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
 
It is usual Linux administrative task with OS package manager, apt-get in your case.
If you are not familiar with it - try to hire experienced Linux admin.
 
OK, I
  • removed all open-xchange packages
  • startet # plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
  • rebootet the server
  • started the plesk-update at plesk-webinterface
... same issue:

Code:
Installation wird nicht fortgesetzt

Die Ausführung von apg-get ist mit folgender Meldung fehlgeschlagen:
Reading package lists...
Building dependency tree...
Reading state information...
 
Check your /etc/apt/sources.list for any references to the open-xchange repository and remove those lines. You have an issue with your apt setup, so I'd start looking there.
Also check everything else in /etc/apt for any references to open-xchange.
 
have an issue with your apt setup

My sources.list:
Code:
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial main restricted universe

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial-updates main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial-updates main restricted universe

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial-security main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu xenial-security main restricted universe

My etc/apt folder:
2018-06-19_115309.jpg


My etc/apt/sources.d folder:
2018-06-19_115349.jpg
 
So I suggest you focus on troubleshooting your apt issues, before trying to update Plesk.

* Check apt configuration:
sudo apt-config dump | grep open-xchange
sudo apt-config dump | grep sources

=> check output again for any references to open-xchange

* Clean apt cache:
sudo apt-get clean

* Update your system packages
sudo apt update
sudo apt upgrade

=> Check for errors and google them how to resolve them
 
You are my hero!!!!

I think the last problem was to clean the cache and update apt.
Now the Plesk-Update finished without any error! Thanks a lot!!!
 
Can you tell me how you fixed this issue?:

The NS configuration file '/var/named/run-root/etc/named.conf' is
absent ............................................................ [ERROR]

I am getting the same set of errors. I upgraded Plesk Onyx successfully yesterday, then went home, and when the system updates ran overnight something happened... I came back this morning and NONE of the websites are accessible, I think this might be the issue. I also don't know much about server admin, I'm hoping someone can point me in the right direction...
 
Back
Top