example2.comshows the following error message after moving it to another subscription (example.com) in Domains > example2.com > Move Domain:
You don't have permission to access / on this server.
Server unable to read htaccess file, denying access to be safe
The following error appears in Domains > example2.com > Logs:
[core:crit] (13)Permission denied: AH00529:/var/www/vhosts/example.com/example2.com/httpdocs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/vhosts/example.com/example2.com/httpdocs/' is executable, referer: https://example2.com/
Repairing permissions for
There is incorrect ownership on some items in the WWW root directory of the domain 'example2.com' ........................................... [ERROR]
- Incorrect group of /var/www/vhosts/example.com/example2.com/httpdocs:
expected is psaserv (1002), actual is psacln (1003)
The ownership of the
httpdocsfolder got changed after moving:
# ls -ld /var/www/vhosts/example.com/example2.com/httpdocs/
drwxr-x--- 2 user psacln 4096 Sep 2 09:16 /var/www/vhosts/example.com/example2.com/httpdocs/
Note: The psaserv group is expected instead of psacln.
#PPPM-12251 "Moving the main domain of a subscription to a different subscription now sets the correct ownership of the domainâs document root directory."
- Plesk Obsidian 18.0.31 27 October 2020 (Linux)
If update is not possible for some reason you may try the following