Article ID: 115653, created on Mar 7, 2013, last review on May 11, 2014

  • Applies to:
  • Plesk 11.x for Linux
  • Plesk 10.x for Linux


Migration is failing at restoring data stage with multiple errors:

Error: PHP Warning: XMLReader::open(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Detector/SpecificationReader.php, Line: 211

PHP Warning: XMLReader::read(): Load Data before trying to read; File: /usr/local/psa/admin/plib/backup/Conflicts/Detector/SpecificationReader.php, Line: 213

PHP Catchable Fatal Error: Argument 1 passed to PleskModel::fixAdministratorDescriptor() must be an instance of PleskObjectPositionDescriptor, null given, called in /usr/local/psa/admin/plib/backup/Conflicts/Detector/ConflictDetector.php on line 98 and defined; File: /usr/local/psa/admin/plib/backup/Conflicts/Detector/Limits/BULimitsManager.php, Line: 360

PHP Fatal error: Call to a member function getGuid() on a non-object in /usr/local/psa/admin/plib/backup/Conflicts/Detector/ConflictDetector.php on line 140


Record in smb_users table refers via roleId field to record in smb_roles which does not exist.


Perform SQL request to detect smb_users record which refers to non existent smb_roles:

mysql> SELECT id, login, ownerId, roleId FROM smb_users WHERE roleId NOT IN (SELECT id FROM smb_roles)\G
*************************** 1. row ***************************
id: 3
login: user@domain.tld
ownerId: 2
roleId: 0
1 row in set (0.00 sec)

There is no such role in smb_roles table:

mysql> SELECT * FROM smb_roles WHERE id = 0;
Empty set (0.00 sec)


1. Perform SQL request to see all roles which available for user's owner:

mysql> SELECT * FROM smb_roles WHERE ownerId = 2\G
*************************** 1. row ***************************
id: 5
name: Owner
isBuiltIn: 1
ownerId: 2
*************************** 2. row ***************************
id: 6
name: WebMaster
isBuiltIn: 0
ownerId: 2
*************************** 3. row ***************************
id: 7
name: Application User
isBuiltIn: 0
ownerId: 2
*************************** 4. row ***************************
id: 8
name: Accountant
isBuiltIn: 1
ownerId: 2
4 rows in set (0.00 sec)

2. Assign user to one of the available roles, "Application User" for example:

mysql> UPDATE smb_users SET roleId = 7 WHERE id = 3;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0

dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF