Migration from Plesk 10.4 fails with error: PHP Fatal error: Call to a member function getGuid

Refers to:

  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 13:25:24 UTC

Modified:

2016-12-21 20:40:53 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration from Plesk 10.4 fails with error: PHP Fatal error: Call to a member function getGuid

Symptoms

Migration from Plesk 10.4 to 11.09 fails with error:

<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="error" log-location="/usr/local/psa/PMM/rsessions/20140409130438686/migration.result">
<object name="vps3883" type="reseller">
<message id="96f6fef1-bc0c-4129-8ecb-76bd48691709" severity="error" code="fatal">
<description>Unable to create dump</description>
</message>
  1. From psadump.log:
    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

    Error::subs::run_clauses('HASH(0x3b53198)', 'Cannot dump client \\'test_reseller\\' of type \\'reseller\\', parent \\...', undef, 'ARRAY(0x3b52f58)') called at /usr/local/psa/PMM/agents/shared/Error.pm line 416

Cause

Inconsistence in psa database:

Resolution

  1. Create backup of psa database .

  2. Check users in psa.client table:

    mysql> select id,parent_id,vendor_id,type,account_id,login from clients;
    +----+-----------+-----------+----------+------------+-----------------+
    | id | parent_id | vendor_id | type | account_id | login |
    +----+-----------+-----------+----------+------------+-----------------+
    | 1 | NULL | NULL | admin | 0 | admin |
    | 2 | 1 | 1 | reseller | 1 | reseller1 |
    | 3 | 2 | 2 | reseller | 2 | test_reseller |
  3. As you can see from example, reseller test_reseller belongs to reseller with name reseller1 (see 'parent_id'). That is not correct, resellers should be owned by admin.

  4. Correct database as below:

    mysql> update clients set parent_id=1,vendor_id=1 where id=3.
Have more questions? Submit a request
Please sign in to leave a comment.