Article ID: 124578, created on Feb 24, 2015, last review on Feb 24, 2015

  • Applies to:
  • Plesk 11.5 for Linux


Plesk Panel upgrade fails with the following error:

chown: changing ownership of `/var/lib/psa/dumps/mysql.preupgrade.11.5.30-': Operation not permitted
*****  problem report *****
ERROR while trying to backup MySQL database
Check the error reason(see log file: /tmp/plesk_11.5.30_installation.log), fix and try again

Backup folder is located in NFS share.


During the upgrade process Plesk creates databases (psa, horde) dumps and prior dumping database it corrects permission for files in the backup folder. If backup folder is located in NFS share then Plesk fails to change permissions there.


  1. Check dump folder location:

    # grep -i dumps /etc/psa/psa.conf
    DUMP_D /var/lib/psa/dumps
    # ll -d /var/lib/psa/dumps
    drwxrwxrwx 6 nfsnobody nfsnobody 20480 Dec 11 17:54 /var/lib/psa/dumps
    # mount | grep dump on /var/lib/psa/dumps type nfs (rw,addr=
  2. To verify the issue try to use chown utility on any file the dump directory:

    # chown psaadm:psaadm /var/lib/psa/dumps
    chown: changing ownership of `/var/lib/psa/dumps': Operation not permitted

Please make sure that user "psaadm" has full privileges for the dump directory. See example:

# ll -d /var/lib/psa/dumps
drwxr-xr-x 5 psaadm psaadm 4096 abr  1  2013 /var/lib/psa/dumps

As a workaround you can change value DUMP_D in psa.conf file and perform upgrade.

In order to complete the upgrade do the following:

  1. Back up /etc/psa/psa.conf configuration file

    # cp /etc/psa/psa.conf{,.orig}
  2. Changed the backup directory

    # grep -n DUMP /etc/psa/psa.conf
    83:DUMP_D /var/lib/psa/dumps
    84:DUMP_TMP_D /tmp
    # vi /etc/psa/psa.conf
    # grep -n DUMP /etc/psa/psa.conf
    83:DUMP_D /var/lib/psa/backup
    84:DUMP_TMP_D /tmp
  3. Run an upgrade:

    # /usr/local/psa/admin/sbin/autoinstaller
  4. When upgrade process will be finished, revert changes made in /etc/psa/psa.conf

Search Words

Operation not permitted

ERROR while trying to backup MySQL database

chown: changing ownership

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF