Plesk backup task is failing. Cannot stat: Permission denied.

Refers to:

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

Created:

2016-11-16 13:10:28 UTC

Modified:

2017-01-20 16:18:00 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk backup task is failing. Cannot stat: Permission denied.

Symptoms

Plesk backup ends with following errors:

    Failed to pack files July_example.com_user-data_1307261006 in /var/lib/psa/dumps/domains/example.com [ 117520279552 bytes free of 122090221568 bytes total on mount point 0]
/bin/tar: httpdocs/components/com_virtuemart/shop_image/product/tmpForThumb_phpgt81Pc: Cannot open: Permission denied
/bin/tar: httpdocs/components/com_virtuemart/shop_image/product/tmpForThumb_phpgt81Pc: Cannot open: Permission denied
/bin/tar: httpdocs/wp/wp-content/plugins/bulletproof-security/admin/htaccess/maintenance-mode.txt: Cannot stat: Permission denied
/bin/tar: Exiting with failure status due to previous errors

Cause

Incorrect file or directory permissions.

Resolution

  1. Make sure that the latest microupdates are installed. If not, install the latest Plesk microupdates.

  2. Restore virtual hosts permissions using following the instructions for the installed Plesk version provided in Plesk Knowledge Base article: How to restore default permissions in the virtual host directory.

  3. In case the issue still persists, manually check permissions for the directories and change them accordingly. Default permissions are:

    • 0644 for files.
    • 0755 for directories.
Have more questions? Submit a request
Please sign in to leave a comment.