Migration Failed: Error during user creation: Role Owner 1 does not exist

Created:

2016-11-16 13:21:10 UTC

Modified:

2017-08-08 13:21:28 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration Failed: Error during user creation: Role Owner 1 does not exist

Applicable to:

  • Plesk 12.0 for Windows

Symptoms

Migration finishes with warning

Warning: client "LoremIpsum"
Execution of "C:\\Program Files (x86)\\Parallels\\Plesk\\bin\\user.exe" --create user@domain.tld -owner certibei -guid 64bb5bd9-4c37-9d47-0c77-4a278d7ab47e -cname "Administrator domain.tld" -passwd "" -passwd_type sym -status enabled -domain-admin false -email user@domain.tld -role "Owner 1" -country PT -subscription-name domain.tld -ignore-nonexistent-options failed with return code 1.
Stderr is
Error during user creation: Role Owner 1 does not exist

Cause

Invalid role name

Resolution

mysql> select login, email, contactName, roleId from smb_users where login='user@domain.tld';
+----------------------+--------------------------+---------------------------+--------+
| login | email | contactName | roleId |
+----------------------+--------------------------+---------------------------+--------+
| user@domain.tld | user@domain.tld | Administrador domain.tld | 976 |
+----------------------+--------------------------+---------------------------+--------+

mysql> select * from smb_roles where id=976;
+-----+---------+-----------+---------+
| id | name | isBuiltIn | ownerId |
+-----+---------+-----------+---------+
| 976 | Owner 1 | 1 | 238 |
+-----+---------+-----------+---------+

mysql> begin;
mysql> update smb_roles set name='Owner' where id=976;
mysql> commit;
Have more questions? Submit a request
Please sign in to leave a comment.