Symptoms
-
Unable to move the domain example.com to the existing subscription example2.com by using example.com > Move domain because the target subscription is not listed
-
Unable to move the example.com domain via CLI with the next message:
# plesk bin subscription –merge example.com -webspace-name example2.com
The target path /var/www/vhosts/example2.com/example.com already exists.
exit status 1
Cause
The /var/www/vhosts/example2.com/example.com
directory already exists at the target subscription
Resolution
-
Connect to the server via SSH
-
Rename the directory:
# mv /var/www/vhosts/example2.com/example.com{,_bak}
Note: The directory can be removed if it is no needed at all.
-
Move the example.com to the existing subscription example2.com by following the instructions from this article.