• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk 9 backup and restore on Plesk 10.3.0

Fede Marsell

Basic Pleskian
Hello,

I'm trying to restore a backup made in Plesk 9 on a server with Plesk 10.3.0 but I have many problems.

I make the backup on Plesk 9, transfer to Plesk 10 and run the following command:

/usr/local/psa/bin/pleskrestore --restore /SOURCE/backup_clientname -level clients -filter list:clientname

Then from the control panel, attempt to restore, but I have the following error:

pmm utility 'Conflict Resolver' raised an exception. Error code is: 255
See pmmcli.log to find out detailed information on this

In the logs the following messages:

== STDERR ====================
PHP Warning: XMLReader::eek:pen(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 184

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

PHP Warning: XMLReader::eek:pen(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 1822

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

PHP Warning: array_keys() expects parameter 1 to be array, null given; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 1861

PHP Warning: XMLReader::eek:pen(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 1863

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

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/Resolver/ConflictsResolver.php on line 216 and defined; File: /usr/local/psa/admin/plib/backup/Conflicts/Detector/Limits/BULimitsManager.php, Line: 365

PHP Catchable Fatal Error: Argument 1 passed to ResolverPleskModel::setAbsentOwenrsToPleskAdmin() must be an instance of ResolverPleskObjectDescriptor, null given, called in /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ResolverPleskModel.php on line 58 and defined; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ResolverPleskModel.php, Line: 143

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

Traceback (most recent call last):
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2118, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1963, in restore
return ActionRunner(RestoreAction, restore_task_specification, parameters).doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 150, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 786, in doActivity
conflicts_found = session.resolveConflicts(plesk_actual_dump,conflict_resolution_rules)
File "/usr/local/psa/admin/share/pmmcli/pmmcli_session.py", line 365, in resolveConflicts
self.__doResolveConflictsOnce(plesk_actual_dump, conflict_resolution_rules_object)
File "/usr/local/psa/admin/share/pmmcli/pmmcli_session.py", line 353, in __doResolveConflictsOnce
pmm_conflict_detector.ConflictResolver.run(owner_guid, plesk_actual_dump, stored_restore_specification, self.__restore_specification, self.__conflict_description, stored_conflict_resolution_rules, self.__session_path)
File "/usr/local/psa/admin/share/pmmcli/pmm_conflict_detector.py", line 165, in run
raise PMMUtilityException('Conflict Resolver', x)
PMMUtilityException: was finished with exit code 255


How I can solve the error?

Thanks,
 
i cannot restore anything

after upgrade from Plesk 10.2.x to 10.3.1 i cannot restore any Backups:
migration from 9.5.1 to 10.3.1 give me error
backup in 10.3.1 and restore the same datat give me errors

pmm utility 'Conflict Detector' raised an exception. Error code is: 255
See pmmcli.log to find out detailed information on this

xml validation OK
error log file too long !!
whate can i do now ???

OS: Ubuntu LTS 10 (luicd).
Plesk 10.3.1
 
I've the same problem. Even if I create a simple backup of a new empty "dummy client" with Plesk 10.3.1 the restore fails (with Plesk 10.3.1). With Plesk 10.2.0 everything worked fine. Unfortunately my backups are created with 10.3.1 and restoring them with 10.2.0 seems to be impossible.

My logs:

PHP Warning: XMLReader::eek:pen(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 185

Error report was sent successfully
Report body:
<?xml version="1.0"?>
<error><type>Exception</type><message>PHP Warning: XMLReader::eek:pen(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 185
</message><file>/usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php</file><line>55</line><code>0</code><trace>#0 [internal function]: Smb_Exception_Syntax::handleError(2, 'XMLReader::eek:pen...', '/usr/local/psa/
...', 185, Array)
#1 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(185): XMLReader-&gt;open('/usr/local/psa/...')
#2 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(108): ConflictsResolver-&gt;readPleskAdminGuid()
#3 /usr/local/psa/admin/plib/backup/Conflicts/ConflictsRunner.php(65): ConflictsResolver-&gt;__construct(Object(ConflictsResolverCreationArgs))
#4 /usr/local/psa/admin/plib/backup/Conflicts/Runner.php(19): ConflictsRunner::run(Array)
#5 {main}</trace><user-ip/><host/><request-url/><request-method/><product-version>10.3.1 SuSE 11.3 1013110726.09
</product-version></error>

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

Error report was sent successfully
Report body:
<?xml version="1.0"?>
<error><type>Exception</type><message>PHP Warning: XMLReader::read(): Load Data before trying to read; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 186
</message><file>/usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php</file><line>55</line><code>0</code><trace>#0 [internal function]: Smb_Exception_Syntax::handleError(2, 'XMLReader::read...', '/usr/local/psa/
...', 186, Array)
#1 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(186): XMLReader-&gt;read()
#2 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(108): ConflictsResolver-&gt;readPleskAdminGuid()
#3 /usr/local/psa/admin/plib/backup/Conflicts/ConflictsRunner.php(65): ConflictsResolver-&gt;__construct(Object(ConflictsResolverCreationArgs))
#4 /usr/local/psa/admin/plib/backup/Conflicts/Runner.php(19): ConflictsRunner::run(Array)
#5 {main}</trace><user-ip/><host/><request-url/><request-method/><product-version>10.3.1 SuSE 11.3 1013110726.09
</product-version></error>

Does anyone have a clue?
 
Hi Miguel, thanks for your response. Unfortunately it didn't work. So I probably have do wait for an update. :-/
 
Try to replace RsyncContent.pm and PleskX.pm files on server with attached. Do not forget to create backup of original files just in case.
Please inform me with results.
 

Attachments

  • PleskX.zip
    40.3 KB · Views: 17
  • RsyncContent.zip
    1.7 KB · Views: 10
Unfortunately the fix didn't solve the problem.
I've done the steps, maybe they help to reproduce the error:

1. Installed a new Suse Linux server at my hoster 1und1 which is shipped with Plesk 10.1
2. Upgrade to Plesk 10.2 to verify backup functionality -> it worked
3. Upgrade to Plesk 10.3.1 to verify backup functionality -> failed
4. Repair bootstrapper (/usr/local/psa/bootstrapper/pp10.12.0-bootstrapper/bootstrapper.sh repair) -> failed
5. Installed your fix -> failed
6. Repair bootstrapper (with your installed fix) -> failed

For my tests I just created a simple test client with a test domain to check the backup and restore. The restore command was:

/usr/local/psa/bin/pleskrestore --restore tester_account_tester_info_1110180818.xml -level clients

I attached the pmm-cli.log files for both cases (with and without fix).
 

Attachments

  • pmm-cli-logs.zip
    10.1 KB · Views: 4
Getting the same error when restoring backup from 9.5 (CentOS 5) to 10.3.1 MU#13 (CentOS 6)

Error: pmm utility 'Conflict Resolver' raised an exception. Error code is: 255
See pmmcli.log to find out detailed information on this

I tried the following but still getting the same error:
/usr/local/psa/bootstrapper/pp10.12.0-bootstrapper/bootstrapper.sh repair

And I tried the two files with same error.
- PleskX.zip
- RsyncContent.zip
Extracted the files here /usr/local/psa/PMM/agents/PleskX/

Is there any solution?
I really need to migrate the data from old to new server.

Migrationmanager also run into an error when im trying to migrate clients or domains.
Really bad!
 
Last edited:
Same error in Plesk 10.4.4.... It seems that the dump.xml file is not found/copied to /usr/local/psa/PMM/rsessions/***/dump.xml

Log:
13120: 2011-11-24 08:50:09,858 DEBUG --> <pmmcli.ResolveConflictsAction object at 0x90fc50>
13120: 2011-11-24 08:50:09,858 INFO stdin: <resolve-conflicts-task-description session-id="20111124085002686"><conflict-resolution-rules><policy><timing><resolution><overwrite/></resolution></timing><resource-usage><resolution><overuse/></resolution></resource-usage><configuration><resolution><automatic/></resolution></configuration></policy><rule conflict-id="0" conflict-guid="1747e9e37b5edcfd11028a1e5d611504"><dump-objects><node name="domain"><attributes><attribute name="id" value="2"/><attribute name="guid" value="abe5b6e5-9911-4960-91ab-cfacbb896e36"/><attribute name="owner-guid" value="a9751a44-a68d-4fc8-8133-73bd2ebfa67c"/><attribute name="name" value="testtest.de"/></attributes></node></dump-objects><resolution><rename new-name="a9751a44-a68d-4fc8-8133-73bd2ebfa67c"/></resolution></rule><rule conflict-id="1" conflict-guid="cd899b5028ba67919658cab57be0e184"><dump-objects><node name="domain"><attributes><attribute name="id" value="2"/><attribute name="guid" value="abe5b6e5-9911-4960-91ab-cfacbb896e36"/><attribute name="owner-guid" value="a9751a44-a68d-4fc8-8133-73bd2ebfa67c"/><attribute name="name" value="testtest.de"/></attributes></node></dump-objects><resolution><rename new-name="a9751a44-a68d-4fc8-8133-73bd2ebfa67c"/></resolution></rule></conflict-resolution-rules></resolve-conflicts-task-description>
13120: 2011-11-24 08:50:09,863 INFO Packet succesfully validated.
13120: 2011-11-24 08:50:09,865 DEBUG <pmmcli.ActionRunner object at 0x90fc10>: doActivity
13120: 2011-11-24 08:50:09,866 INFO Initialized restore session 20111124085002686
13120: 2011-11-24 08:50:09,866 INFO Clone restore session from session 20111124085002686 started
13120: 2011-11-24 08:50:09,866 INFO Create restore session 2011112408500961 started
13120: 2011-11-24 08:50:09,867 INFO Initialized restore session 2011112408500961
13120: 2011-11-24 08:50:09,885 INFO Create restore session 2011112408500961 done
13120: 2011-11-24 08:50:09,886 INFO Clone restore session 2011112408500961 from session 20111124085002686 done
13120: 2011-11-24 08:50:10,143 DEBUG /usr/local/psa/PMM/rsessions/2011112408500961/restore.xml copied to /usr/local/psa/PMM/rsessions/2011112408500961/restore.xml.conflicted
13120: 2011-11-24 08:50:10,146 INFO Executing <subprocess[13121] '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/backup/Conflicts/Runner.php --resolve-conflicts --plesk-dump=/usr/local/psa/PMM/rsessions/2011112408500961/dump.xml --owner-guid=3c54184e-72a6-4c5d-8e46-113e35005c20 --restore-specification=/usr/local/psa/PMM/rsessions/2011112408500961/restore.xml.conflicted --conflicts-description=/usr/local/psa/PMM/rsessions/2011112408500961/conflict_description --conflicts-resolution-rules=/usr/local/psa/PMM/rsessions/2011112408500961/conflict_resolution_rules --restore-specification-out=/usr/local/psa/PMM/rsessions/2011112408500961/restore.xml --session-path=/usr/local/psa/PMM/rsessions/2011112408500961 --log=conflict-resolve.log'>
13120: 2011-11-24 08:50:16,218 INFO Subprocess raised ExecuteException: Subprocess <subprocess[13121] '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/backup/Conflicts/Runner.php --resolve-conflicts --plesk-dump=/usr/local/psa/PMM/rsessions/2011112408500961/dump.xml --owner-guid=3c54184e-72a6-4c5d-8e46-113e35005c20 --restore-specification=/usr/local/psa/PMM/rsessions/2011112408500961/restore.xml.conflicted --conflicts-description=/usr/local/psa/PMM/rsessions/2011112408500961/conflict_description --conflicts-resolution-rules=/usr/local/psa/PMM/rsessions/2011112408500961/conflict_resolution_rules --restore-specification-out=/usr/local/psa/PMM/rsessions/201111240
8500961/restore.xml --session-path=/usr/local/psa/PMM/rsessions/2011112408500961 --log=conflict-resolve.log'> was finished with exit code 255
== STDOUT ====================

== STDERR ====================
PHP Warning: XMLReader::eek:pen(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 185

Exception: PHP Warning: XMLReader::eek:pen(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 185

The file "--plesk-dump=/usr/local/psa/PMM/rsessions/2011112408500961/dump.xml" doesn't exist and thus the XMLReader can't open the file. Since plesk seems to create the rsessions-folder for each restore and copies the needed files into this directory, I don't have the chance to copy the dump.xml to that folder manually.

@IgorG: Which script is responsible for copying the dump.xml into the rsessions folder?

Sascha
 
Still same error on my Server with CentOS 6 and Plesk 10.4.4 when restoring backup from Plesk 9.

PHP Warning: XMLReader::eek:pen(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 185

Exception: PHP Warning: XMLReader::eek:pen(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 185

file: /usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php
line: 55
code: 0
trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'XMLReader::eek:pen...', '/usr/local/psa/...', 185, Array)
#1 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(185): XMLReader->open('/usr/local/psa/...')
#2 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(108): ConflictsResolver->readPleskAdminGuid()
#3 /usr/local/psa/admin/plib/backup/Conflicts/ConflictsRunner.php(65): ConflictsResolver->__construct(Object(ConflictsResolverCreationArgs))
#4 /usr/local/psa/admin/plib/backup/Conflicts/Runner.php(13): ConflictsRunner::run(Array)
#5 {main}

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

Exception: PHP Warning: XMLReader::read(): Load Data before trying to read; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 186

file: /usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php
line: 55
code: 0
trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'XMLReader::read...', '/usr/local/psa/...', 186, Array)
#1 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(186): XMLReader->read()
#2 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(108): ConflictsResolver->readPleskAdminGuid()
#3 /usr/local/psa/admin/plib/backup/Conflicts/ConflictsRunner.php(65): ConflictsResolver->__construct(Object(ConflictsResolverCreationArgs))
#4 /usr/local/psa/admin/plib/backup/Conflicts/Runner.php(13): ConflictsRunner::run(Array)
#5 {main}

PHP Warning: XMLReader::eek:pen(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 1886

Exception: PHP Warning: XMLReader::eek:pen(): Unable to open source data; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php, Line: 1886
...
...
...
file: /usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php
line: 55
code: 0
trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'XMLReader::read...', '/usr/local/psa/...', 1936, Array)
#1 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(1936): XMLReader->read()
#2 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(216): ConflictsResolver->getPleskModel()
#3 /usr/local/psa/admin/plib/backup/Conflicts/ConflictsRunner.php(66): ConflictsResolver->run()
#4 /usr/local/psa/admin/plib/backup/Conflicts/Runner.php(13): ConflictsRunner::run(Array)
#5 {main}

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/Resolver/ConflictsResolver.php on line 218 and defined; File: /usr/local/psa/admin/plib/backup/Conflicts/Detector/Limits/BULimitsManager.php, Line: 360

Exception: 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/Resolver/ConflictsResolver.php on line 218 and defined; File: /usr/local/psa/admin/plib/backup/Conflicts/Detector/Limits/BULimitsManager.php, Line: 360

file: /usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php
line: 55
code: 0
trace: #0 /usr/local/psa/admin/plib/backup/Conflicts/Detector/Limits/BULimitsManager.php(360): Smb_Exception_Syntax::handleError(4096, 'Argument 1 pass...', '/usr/local/psa/...', 360, Array)
#1 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(218): PleskModel->fixAdministratorDescriptor(NULL)
#2 /usr/local/psa/admin/plib/backup/Conflicts/ConflictsRunner.php(66): ConflictsResolver->run()
#3 /usr/local/psa/admin/plib/backup/Conflicts/Runner.php(13): ConflictsRunner::run(Array)
#4 {main}

PHP Catchable Fatal Error: Argument 1 passed to ResolverPleskModel::setAbsentOwenrsToPleskAdmin() must be an instance of ResolverPleskObjectDescriptor, null given, called in /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ResolverPleskModel.php on line 80 and defined; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ResolverPleskModel.php, Line: 165

Exception: PHP Catchable Fatal Error: Argument 1 passed to ResolverPleskModel::setAbsentOwenrsToPleskAdmin() must be an instance of ResolverPleskObjectDescriptor, null given, called in /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ResolverPleskModel.php on line 80 and defined; File: /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ResolverPleskModel.php, Line: 165

file: /usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php
line: 55
code: 0
trace: #0 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ResolverPleskModel.php(165): Smb_Exception_Syntax::handleError(4096, 'Argument 1 pass...', '/usr/local/psa/...', 165, Array)
#1 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ResolverPleskModel.php(80): ResolverPleskModel->setAbsentOwenrsToPleskAdmin(NULL)
#2 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/ConflictsResolver.php(230): ResolverPleskModel->restore(Object(ResolverPleskModel))
#3 /usr/local/psa/admin/plib/backup/Conflicts/ConflictsRunner.php(66): ConflictsResolver->run()
#4 /usr/local/psa/admin/plib/backup/Conflicts/Runner.php(13): ConflictsRunner::run(Array)
#5 {main}

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

Is anyone able to restore backups from Plesk 9 on Plesk 10.3 and later?
 
Back
Top