• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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 Plesk 17.0.17 from update 3 running on CentOS 7.3

Vincent Bourgonje

New Pleskian
When auto updating the following error appeared in the log file:

Code:
Running Transaction Check
Error unpacking rpm package plesk-service-node-utilities-17.0.17-cos7.build1700161028.14.x86_64
plesk-service-node-utilities-17.0.17-cos7.build1700161005.19.x86_64 was supposed to be removed but is not!
Exception: Scriptlet or other non-fatal errors occurred during transaction.
Updating: plesk-service-node-utilities-17.0.17-cos7.build1700161028.14.x86_64 [1/4]
error: unpacking of archive failed on file /usr/local/psa/admin/sbin/deployer: cpio: rename failed - Permission denied
error: plesk-service-node-utilities-17.0.17-cos7.build1700161028.14.x86_64: install failed
chsh: Shell not changed.
Changing shell for popuser.
chsh: Shell not changed.
Changing shell for mhandlers-user.
Updating: psa-mail-driver-common-17.0.17-cos7.build1700170131.16.x86_64 [2/4]
Cleanup: psa-mail-driver-common [3/4]

I wasn't able to fix this error. Not with Plesk repair installation or with other recommendations found in this forum and the Plesk knowledge base.

I have the same problem on 2 VPS servers both on CentOS 7.3 - another one running on CentOS 7.2 did upgrade without any problems.

I tried to remove "plesk-service-node-utilities-17.0.17-cos7.build1700161005.19.x86_64 was supposed to be removed but is not!" but was not successful. Any help would be appreciated.

CentOS Linux 7.3.1611 (Core)‬
Product Plesk Onyx
Version 17.0.17 Update #3, last updated on Oct 21, 2016 01:34 PM
 
It seems the selinux forbid rpm to unpack the packages. Please either disable it (at least for upgrade time) by executing setenforce 0 or make sure that Plesk policy is loaded - semodule -l | grep plesk
 
Great both servers have been updated succesfully now! Thanks for your help.

I used the following steps to solve the problem:

- logged in at the cli as root user
- deleted /var/lock/parallels-panel-upgrade-failure.flag
- setenforce 0
- run the update through the admin GUI (Tools & Settings > Plesk > Updates & Upgrades)
- setenforce 1
- exit!
 
Hi,

I was wondering if this is just a stopgap fix and SELinux needs to be disabled and re-enabled every time I wish to update the server, or that the server update process is pretty much 'fixed' after doing it once. I ask because in my case, plesk did seem to be in the policies but it failed anyway, and I had to do what other Vincent posted.
 
Since I have updated with disabling SELinux (setenforce 0) and reenabling it after the update I never had any problems anymore with updating. So you can switch it on after fixing the failing update and leave it on.
 
Back
Top