Migration error: "An error occurred while updating a user account"

Created:

2016-11-16 13:13:02 UTC

Modified:

2017-08-16 17:40:04 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration error: "An error occurred while updating a user account"

Applicable to:

  • Plesk 11.x for Linux

Symptoms

Migrating of domain %domain.tld% failed with following error:

Warning:       client "%client%"

Execution of /usr/local/psa/admin/plib/api-cli/client.php --update %client% ... failed with return code 1.
Stderr is
An error occurred while updating a user account: %client% does not exist

Cause

According to migration log the client migrated domain %domain.tld% . On the destination server the domain is assigned to Administrator account:

~# /usr/local/psa/bin/domain --info %domain.tld%
General
=============================
Domain name: %domain.tld%
Owner's contact name: Admin Name (%admin%)

~# /usr/local/psa/bin/client --info %admin%
General
=============================
Parallels Panel version: psa v11.5.30_build115130819.13 os_CentOS 6
Status: OK On
Company name:
Personal name: Admin Name
Username: %admin%
Provider's personal name: Administrator
Provider's username: admin

Further Plesk Migration Manager tried to update client with name %client% :

[2014-01-13 13:10:11.995|33288] INFO: Deployment of domain '%domain.tld%' is complete
[2014-01-13 13:10:11.995|33288] INFO: ++ %domain.tld% domain
[2014-01-13 13:10:11.995|33288] INFO: Request is ready for: PLESK_RESTORE_MODE=1 PLESK_DISABLE_PROVISIONING= LANG=en_US.UTF-8 ALLOW_WEAK_PASSWORDS= /usr/local/psa/admin/plib/api-cli/role.php '--update' 'Application User' '-owner' ‘%client%’ '-ignore-nonexistent-options'
<stderr>Error occurred during the role update: Panel account %client% does not exist

The operation failed because the client was missing:

~# /usr/local/psa/bin/client --info %client%
An error occurred while retrieving customer information: %client% does not exist

Resolution

Remove domain %domain.tld% from the destination server and migrate Plesk client %client% with its domains via Migration Manager anew.

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