Symptoms
- Plesk update failed and there is a following error in
/var/log/plesk/install/autoinstaller3.log
:
Error unpacking rpm package psa-18.0.35-2.centos.7+p18.0.35.1+t210430.1108.x86_64
psa-18.0.35-2.centos.7+p18.0.35.0+t210414.1515.x86_64 was supposed to be removed but is not!
Exception: Scriptlet or other non-fatal errors occurred during transaction.
error: unpacking of archive failed on file /var/lib/psa/dumps: cpio: chown failed - Permission denied
Verify: 1/2: psa.x86_64 0:18.0.35-2.centos.7+p18.0.35.1+t210430.1108 - u
Verify: 2/2: psa.x86_64 0:18.0.35-2.centos.7+p18.0.35.0+t210414.1515 - ud
-
/var/lib/psa/dumps
is a SSHFS mount.
Cause
Incorrect permissions on /var/lib/psa/dumps
directory:
# ls -ld /var/lib/psa/dumps
drwxr-xr-x. 1 jdoe psacln 155648 May 10 08:43 /var/lib/psa/dumps
Resolution
- Connect to a Plesk server via SSH.
- Unmount the directory and set the correct permissions psaadm:psaadm on it on the remote server.
- Mount the directory again.
- Re-run the upgrade:
# plesk installer --select-release-latest --upgrade-installed-components