Migration failed: user already exists on target server

Created:

2016-11-16 13:16:31 UTC

Modified:

2017-08-08 13:21:37 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration failed: user already exists on target server

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Migration failed as subscription could not be created on the destination server:

An error occurred during domain creation: An error occurred during changing of hosting settings: The user USERNAME already exists.

The following error is displayed in migration GUI:

- error: Failed to deploy subscription 'example.com'
Migration for that subscription is considered completely failed. No further actions are performed for it.
Migration tools tried to perform operation in 2 attempts.
----------------------------------------------------------------------------
Attempt #1 failed with the following error:
Unable to create subscription 'example.com'
----------------------------------------------------------------------------
Attempt #2 failed with the following error:
Subscription already exists on target server: most probably it was created at the previous attempt,
but migration tools are not sure if it was created correctly.
It is recommended to:
1) Resolve the original issue that caused subscription creation to fail,
delete subscription, and then run migration again.
OR
2) Ensure that created subscription is fine, or the original issue is minor,
then simply run migration for that subscription again.

The following error is displayed in debug.log :

ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/mailmng-outgoing' '--add-subscription' '--main-domain-name=example.com' '--out-limit=100'] with exit code [1] 
Error occured while sending feedback. HTTP code returned: 502
An error occurred during domain creation: mailmng-outgoing failed: ERROR:outgoing:column name is not unique

Cause

The user with the same username already exists in Plesk due to previous failed migration attempt.

Resolution

Delete the subscription containing the user from Plesk GUI and restart migration

Capture.JPG

Have more questions? Submit a request
Please sign in to leave a comment.