Applicable to:
- Plesk for Linux
Symptoms
-
Unable to move a domain to an existing subscription from example.com > Move domain because the subscription is not listed
-
Trying to merge the domain on the command line fails
# plesk bin subscription --merge example.com -webspace-name example2.com
The target path /var/www/vhosts/example2.com/example.com already exists. -
Moving the domain via CLI returns this error
# plesk bin site --move example.com -webspace-name example2.com
Step failed 'applyValidate'. The target path for www_root /var/www/vhosts/example2.com/example.com already exists.
Cause
The directory already exists at the target subscription
Resolution
-
Connect to the server via SSH
-
Rename (or remove if not needed) the directory from the error:
# mv /var/www/vhosts/example2.com/example.com{,.bak}
-
Move/merge the domain
Comments
2 comments
I'm not a programmer perse, I know a little but not enough to call myself a programmer. I needed a more step-by-step instructional with examples.
Hey Tarek Maaraba If you need more help, please create a ticket with us so we can show you how to do it on your specific case. We'll be happy to assist.
Please sign in to leave a comment.