Symptoms
Plesk Update fails with one of the following error messages:
error: unpacking of archive failed on file /usr/local/psa/admin/sbin/deployer: cpio: rename failed - Operation not permitted
error: unpacking of archive failed on file /usr/local/psa/admin/sbin/deployer: cpio: rename failed - Permission denied
SELinux security module is in the enforcing mode:
# getenforce
Enforcing
Cause
The file mentioned in the error message has incorrect SELinux context.
Resolution
Connect to the Plesk server via SSH.
Restore SELinux context on the file from the error message. In this example, the file is
/usr/local/psa/admin/sbin/deployer:# restorecon -v -F /usr/local/psa/admin/sbin/deployer
Rerun Plesk Update:
# plesk installer update