• 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.

Issue Plesk update problem / UI & command line / Loaded plugins

Erwan

Regular Pleskian
Hi all,
I have a problem with a plesk update (Centos 7.9).

If i use the GUI (/admin/update/products/), the page turns continuously and never stops.
With command line :
#/usr/local/psa/admin/bin/autoinstaller
...
1. ( ) Install the latest available update
2. (*) Add/Remove components
====> F
...
...
gpg-pubkey-621e9f35-58adea78 gpg(Docker Release (CE rpm) <[email protected]>)
gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <[email protected]>)
gpg-pubkey-4520afa9-50ab914c gpg(Atomicorp (Atomicorp Official Signing Key) <[email protected]>)
Loaded plugins: fastestmirror


It stays on this line: Loaded plugins: fastestmirror
One hour for the last attempt before i kill.

Nothing else.

Does anyone have an idea?

Strange, I had encountered the same problem 4 years ago for another server.
 
Do you see more information in /var/log/plesk/install/autoinstaller3.log?
 
No only my kill

...
[2021-07-21 17:03:23.026346] Checking for installed in extension catalog packages
[2021-07-21 17:03:23.026392] autoinstaller: read output of /usr/local/psa/bin/extension --list
[2021-07-21 17:03:23.106493] Detected installed extensions: 'advisor' 'composer' 'configurations-troubleshooter' 'dnssec' 'docker' 'domain-connect' 'firewall' 'git' 'grafana' 'heavy-metal-skin' 'letsencrypt' 'monitoring' 'nodejs' 'panel-migrator' 'repair-kit' 'revisium-antivirus' 'ruby' 'sectigo' 'social-login' 'sslit' 'support-access' 'watchdog' 'wp-toolkit' 'xovi'
[2021-07-21 17:03:23.169280] Loaded plugins: fastestmirror
pclose() error: Interrupted system call
 
No idea?
We have in fact two servers with this problem at this moment.

No way to have more detailed logs?
 
  • Do you see anything relevant in /var/log/messages?
  • Any hints in /var/log/plesk/panel.log?
  • What happens if you run yum update ?
 
Nothing in /var/log/messages
Nothing in /var/log/plesk/panel.log

Yum update
could not be executed because of a python update script still in progress.
I kill it.

Always the problem with /admin/update/products/.

I executed yum update.

After it, Pleks update works.
So resolved. Thank you.
 
Glad to hear.
Maybe you have the "yum-cron" package installed which might be running in the background, blocking the Plesk updater. If you don't need it you can disable it with:
# systemctl stop yum-cron
# systemctl disable yum-cron
 
Ok.
Example:
/usr/bin/python /usr/bin/yum --enablerepo=tortix-common list updates aum ipset mod_security
 
For the second server, the Yum update remained suspended:
...
Nettoyage : bind-license.noarch - 67/100
Nettoyage : python-firewall-0.6.3-12.el7.noarch - 68/100
Nettoyage : containerd.io.x86_64 - 69/100

The problem seems to come from a task is not responding (id=1938- Advanced monitoring that I wanted to install several weeks ago but without success).
I kill it.

An i stop the yum process... (i think I should not have..)

After that, when i connect to Pleks update UI, i have the message: Can't connect to backend: No such file or directory
I've solved it with: Unable to open Updates and Upgrades menu on Plesk for Linux server: Can't connect to backend: No such file or directory

After, i can access to the Plesk update UI. I've made a first update (18.0.34 updates).
All ok.

After, i want update version to 18.0.37.
And i have this message:

Plesk pre-upgrade check
ERROR: Your package system contains duplicated packages, which can lead to broken Plesk update:

bind-export-libs-9.11.4-26.P2.el7_9.3.x86_64
bind-export-libs-9.11.4-26.P2.el7_9.5.x86_64
nss-tools-3.53.1-7.el7_9.x86_64
nss-tools-3.53.1-3.el7_9.x86_64
firewalld-filesystem-0.6.3-13.el7_9.noarch
firewalld-filesystem-0.6.3-12.el7.noarch
libblkid-2.23.2-65.el7_9.1.x86_64
libblkid-2.23.2-65.el7.x86_64
grub2-common-2.02-0.87.el7.centos.6.noarch
grub2-common-2.02-0.86.el7.centos.noarch
nss-sysinit-3.53.1-7.el7_9.x86_64
nss-sysinit-3.53.1-3.el7_9.x86_64
libidn2-2.3.1-1.el7.x86_64
libidn2-2.3.0-1.el7.x86_64
...


I try to rollback with yum history but it doesn't work (errors).

How can i resolve this duplicated packages problem?

Thank you.

Erwan
 
That looks bad, you have a mix of packages on your servers.
You can try to run yum-complete-transaction (if it's not available, install it with yum install yum-utils). And if that doesn't resolve the issue I suggest you contact Plesk support as this is not really easy to resolve and just trying something may break your server.
 
Ok.
I should have done the yum-complete-transaction before updates.
I no longer had this order in mind.

Si, it detects duplicate packages and offers to delete them:

There are 2 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 31 elements left to run
..
Delete
bind-export-libs x86_64 32:9.11.4-26.P2.el7_9.3
bind-libs-lite x86_64 32:9.11.4-26.P2.el7_9.4
...

Total: 1.1G


Can I run the command securely?
 
You only need to run yum-complete-transaction if a previous yum transaction was aborted for some reason and that apparently was the case on your system.
I can't tell you if you should run it. It may break something and you may end up having an unusable system or missing packages/dependencies.

If you're feeling brave, take a snapshot of the VM, run the command and immediately check if everything is still working. Otherwise rollback the snapshot and let Plesk support or somebody else help you.
 
Back
Top