Applicable to:
- Plesk for Linux
Symptoms
-
The following error is shown while moving a domain
example.com
between two subscriptions either via GUI or CLI:PLESK_ERROR: site-copy failed: tar: ./logs/example.com/access_log.webstat: Cannot open: Permission denied
tar: ./logs/example.com/access_ssl_log.webstat: Cannot open: Permission denied -
The
/var/www/vhosts/example.com/logs/access_ssl_log.webstat
file has the following permissions:# ls -la /var/www/vhosts/example.com/logs/access_ssl_log.webstat
-rw------- 1 root root 0 May 25 07:01 /var/www/vhosts/example.com/logs/access_ssl_log.webstat
Cause
Product issue:
-
#PPPM-11765 "A full server backup is now created without warning messages after a domain was moved to another subscription."
Fixed in:- Plesk Obsidian 23 June 2020 (Linux)
Resolution
Workaround
If update is not possible for some reason you may try the following
-
Connect to the server via SSH
-
Fix permission on all affected files with the next command:
# find /var/www/vhosts/example.com/logs/ -type f -a -not -perm 644 -exec chmod 644 {} \;
Comments
0 comments
Please sign in to leave a comment.