Upgrade fails: "ERROR while trying to backup MySQL database"

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:52:34 UTC

Modified:

2016-12-21 19:25:55 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Upgrade fails: "ERROR while trying to backup MySQL database"

Symptoms

Plesk upgrade fails with following message:

 Trying to backup MySQL database...
ERROR while trying to backup MySQL database
Check the error reason(see log file: /tmp/plesk_11.0.9_installation.log), fix and try again

Upgrade log file /tmp/plesk_11.0.9_installation.log contains:

=== Preparing upgrade
chown: changing ownership of `/storage/mysql.preupgrade.11.0.9-11.0.9.20130616-153540.dump.gz': Operation not permitted

Cause

NFS server does not allow change of ownership on files, which causes Plesk pre-upgrade operations to fail.

Workaround

Update file /etc/psa/psa.conf and change value of DUMP_D parameter to /var/lib/psa/dumps . After that, repeat upgrade attempt.

Have more questions? Submit a request
Please sign in to leave a comment.