Migration error: failed to create auxiliary user on target panel

Created:

2016-11-16 12:57:23 UTC

Modified:

2017-08-16 17:32:43 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration error: failed to create auxiliary user on target panel

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.5 for Windows

Symptoms

The following error occurs during migration:

|- Auxiliary user 'user@example.com'

| |
| `- error: Failed to create auxiliary user on target panel. After migration customer won't be able to login with 'user@example.com' login to the panel.
| Command execution failed on the local server with non-zero exit code.
| command: /opt/psa/bin/user --create user@example.com -cname user@example.com -role 'Mail User' -passwd '***hidden***' -company '' -phone '' -fax '' -address '' -city '' -state '' -zip '' -country '' -im '' -im-type '' -comment '' -status enabled -email user@example.com -owner admin -external-email true
| exit code: 1
| stdout:
| stderr: Option -passwd requires parameters

or

Failed to perform operation on 1 auxiliary user(s): 'user@example.com' owned by customer 'None'

Cause

Password for a mail or system user is empty.

Resolution

  1. Find all mail users with empty passwords:

    #mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

    > select mail_name as mailbox_name,domains.name,accounts.type,accounts.password from mail left join accounts on accounts.id=mail.account_id left join domains on mail.dom_id=domains.id where password='' or password=NULL;
  2. Reset users' passwords on the source server at Subscriptions - example.com - Users and restart the migration.

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