Articles in this section

Plesk Update fails on CentOS/RHEL: "Operation not permitted" or "Permission denied"

Plesk for Linux kb: technical ABT: Group B

Applicable to:

  • Plesk for Linux

Symptoms

  • Plesk Update fails with one of the following error messages:

    CONFIG_TEXT: error: unpacking of archive failed on file /usr/local/psa/admin/sbin/deployer: cpio: rename failed - Operation not permitted


    CONFIG_TEXT: 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

  1. Connect to the Plesk server via SSH.

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

  3. Rerun Plesk Update:

    # plesk installer update

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.