Plesk backup completed with warning Print

  • 0

Plesk backup completed with warning: psacontentfile.FileAccessException Access to the path is denied

 

Symptoms

  • Backup completes with warnings:

    WARNING: (domain object 'example.com') [e4404190-b0b5-425e-a309-500e258cfe97]: Unable to get attributes of the file C:\Inetpub\vhosts\example.com\httpdocs\img\originais\photo.jpg: Access is denied. The file will not be archived. [:0]

  • The following error can be found in %plesk_dir%admin\conf\php_error.log:

    psacontentfile.FileAccessException: Can not open for reading file "C:/Inetpub/vhosts\example.com\httpdocs/file.jpg". Access to the path 'C:\Inetpub\vhosts\example.com\httpdocs/file.jpg' is denied. 

  • System user of a subscription does not have access to this file:

OR

  • Website prompting for credentials when the dedicated application pool is enabled in Domains > example.com > Dedicated IIS App pool for website > Switch on.
  • Failed requests tracing shows that there are Access is denied records for some domain's files:

 

Cause

Wrong permissions.

Resolution

  1. Connect to the server via RDP

    Note: If direct RDP access to the server is not possible, contact server administrator for further assistance.

  2. Open PowerShell;

  3. Repair permissions for the subscription:

    PS plesk repair --repair-webspace-security -all-filesystem-objects -webspace-name example.com

 


Was this answer helpful?

« Back