- Plesk for Linux
Unable to move a domain to another subscription in Plesk > Domains > example.com > Move Domain:
PLESK_ERROR: site-copy failed: chdir() failed: Permission denied
There are leftover symlinks in the vhost directory after previous domain migration from Plesk versions above 11, which are not part of the current default Plesk structure and using Plesk system locations:
# ls -la /var/www/vhosts/example.com | grep '->'
lrwxrwxrwx. 1 root root 51 Nov 28 2019 conf -> /var/www/vhosts/system/example.com/conf
lrwxrwxrwx. 1 root root 51 Nov 28 2019 statistics -> /var/www/vhosts/system/example.com/statistics
This behavior is considered a bug #PPPM-12916.
Connect to the server via SSH
Remove the symlinks from the vhost directory for example:
# rm -f /var/www/vhosts/example.com/statistics
Move the domain once again