Migration failed with error: "Error during user creation: User account already exists."

Created:

2016-11-16 13:15:06 UTC

Modified:

2017-08-22 06:05:46 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration failed with error: "Error during user creation: User account already exists."

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Migration failed with the warning message:

--------------------------------------------------------------------------------------
Warning: client "<OWNER_NAME>"

Execution of /usr/local/psa/admin/plib/api-cli/user.php --create <LOGIN_NAME> -owner <OWNER_NAME> -guid 4a90b7e5-e06b-48a6-8546-e75572c0293e -cname <CONTACT_NAME> -passwd '' -passwd_type sym -status enabled -domain-admin true -email '' -external-email true -role <CONTACT_NAME> -country CH -legacy-user false -subscription-name <SUBSCRIPTION_NAME> -ignore-nonexistent-options failed with return code 1.

Stderr is
Error during user creation: User account already exists.

Warning: domain "<DOMAIN_NAME>"

Execution of /usr/local/psa/admin/bin/backup_restore_helper --restore-legacy-dlu <DOMAIN_NAME> -dlu-info /usr/local/psa/PMM/tmp/deployer_legacy_dluwrmZWg -ignore-nonexistent-options failed with return code 1.
Stderr is
Unable to allow domain administrator's access to Plesk on the domain <DOMAIN_NAME>: this username is already in use.
--------------------------------------------------------------------------------------

Cause

Most likely login name, owner name and domain name on the source server are the same. That situation prevents creation of user name on the destination server because of conflict with similar names.

Resolution

To avoid scenario with conflict of similar names during creation of user on the destination server during migration procedure make sure that Subscriber name, Login name and System user name are not the similar.

After migration they can be reverted back if it is needed.

Subscriber name , Login name and System user name can be changed via Plesk Panel as follows:

  1. Owner/Subscriber name

    Go Home > Customers > then click Edit Contact Info tab and change name in Contact name field.

  2. Login name

    Go Home > Customers > then click Change Login Info tab and change name in Username field.

  3. System user name

    Go Home > Subscriptions > > General then click Change hosting settings and change name in Username field.

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