- Plesk for Linux
example2.comshows the following error message after moving it to another subscription (example.com) in Domains > example2.com > Move Domain:
CONFIG_TEXT: 403 Forbidden
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:
CONFIG_TEXT: [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
CONFIG_TEXT: 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: There is psaserv expected instead of psacln.
Plesk bug with ID PPPM-12251 that will be fixed in future Plesk updates.
As a workaround until the bug is fixed, repair permissions:
Connect to the server via SSH
Execute the following command for the affected domain:
# plesk repair fs example2.com -y