• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Error restoring a backup and also on migration manager

A

afterXleep

Guest
Hi all

I am migrating my old plesk 9.54 server to a new one using the latest 10.2 panel. I was able to migrate around 25 domains, but since this morning I am getting errors immediately after migration is started.

I have also found that trying to restore a backup, I get the following error:

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

I have checked the logs, and in both cases (migration and restore) the error is the same:

14488: 2011-06-04 19:53:07,397 INFO Executing <subprocess[14506] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager server -c --migration-mode --session-path=/usr/local/psa/PMM/rsessions/20110604195306170'>
14488: 2011-06-04 19:53:09,777 INFO Execution of <subprocess[14506] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager server -c --migration-mode --session-path=/usr/local/psa/PMM/rsessions/20110604195306170'> finished successfully.
14488: 2011-06-04 19:53:09,782 INFO Executing <subprocess[14611] '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/backup/Transformations/TransformationRunner.php --transform-dump -restore-specification /usr/local/psa/PMM/rsessions/20110604195306170/restore.xml -restore-specification-out /usr/local/psa/PMM/rsessions/20110604195306170/restore.xml.tmp -session-path /usr/local/psa/PMM/rsessions/20110604195306170'>
14488: 2011-06-04 19:53:09,911 INFO Execution of <subprocess[14611] '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/backup/Transformations/TransformationRunner.php --transform-dump -restore-specification /usr/local/psa/PMM/rsessions/20110604195306170/restore.xml -restore-specification-out /usr/local/psa/PMM/rsessions/20110604195306170/restore.xml.tmp -session-path /usr/local/psa/PMM/rsessions/20110604195306170'> finished successfully.
14488: 2011-06-04 19:53:10,107 DEBUG Prepare to detect conflicts
14488: 2011-06-04 19:53:10,112 INFO Executing <subprocess[14617] '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/backup/Conflicts/Runner.php --detect-conflicts --plesk-dump=/usr/local/psa/PMM/rsessions/20110604195306170/dump.xml --owner-guid=6faa9329-a031-48b8-ab6b-8a73541fa40d --restore-specification=/usr/local/psa/PMM/rsessions/20110604195306170/restore.xml --conflicts-description-out=/usr/local/psa/PMM/rsessions/20110604195306170/conflict_description --session-path=/usr/local/psa/PMM/rsessions/20110604195306170 --log=conflict-detect.log'>
14488: 2011-06-04 19:53:10,294 INFO Subprocess raised ExecuteException: Subprocess <subprocess[14617] '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/backup/Conflicts/Runner.php --detect-conflicts --plesk-dump=/usr/local/psa/PMM/rsessions/20110604195306170/dump.xml --owner-guid=6faa9329-a031-48b8-ab6b-8a73541fa40d --restore-specification=/usr/local/psa/PMM/rsessions/20110604195306170/restore.xml --conflicts-description-out=/usr/local/psa/PMM/rsessions/20110604195306170/conflict_description --session-path=/usr/local/psa/PMM/rsessions/20110604195306170 --log=conflict-detect.log'> was finished with exit code 255
== STDOUT ====================

== STDERR ====================
PHP Warning: XMLReader::eek:pen(): Unable to open source data

PHP Warning: XMLReader::read(): Load Data before trying to read

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 94

14488: 2011-06-04 19:53:10,296 CRITICAL PMMUtility exception:
Subprocess <subprocess[14617] '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/backup/Conflicts/Runner.php --detect-conflicts --plesk-dump=/usr/local/psa/PMM/rsessions/20110604195306170/dump.xml --owner-guid=6faa9329-a031-48b8-ab6b-8a73541fa40d --restore-specification=/usr/local/psa/PMM/rsessions/20110604195306170/restore.xml --conflicts-description-out=/usr/local/psa/PMM/rsessions/20110604195306170/conflict_description --session-path=/usr/local/psa/PMM/rsessions/20110604195306170 --log=conflict-detect.log'> was finished with exit code 255
== STDOUT ====================

== STDERR ====================
PHP Warning: XMLReader::eek:pen(): Unable to open source data

PHP Warning: XMLReader::read(): Load Data before trying to read

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 94

Traceback (most recent call last):
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2106, 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 1951, 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 781, in doActivity
if session.detectConflicts(plesk_actual_dump):
File "/usr/local/psa/admin/share/pmmcli/pmmcli_session.py", line 328, in detectConflicts
return self.__doDetectConflicts(plesk_actual_dump)
File "/usr/local/psa/admin/share/pmmcli/pmmcli_session.py", line 323, in __doDetectConflicts

I have no clue on why is this happening. Could you please someone give me a hand?

Thanks a lot!
 
What sort of related errors in /usr/local/psa/PMM/rsessions/20110604195306170/psadump.log ?
 
Hi Igor.

Thanks for the reply.

Attached are the contents of the file. Only mentions "Unable to create dump".

00:53:07 INFO ------------------------------------------------------------
00:53:07 INFO Migration status reporting initialized.
00:53:07 INFO Status file: /usr/local/psa/PMM/rsessions/20110604195306170/dump-status.xml
00:53:07 INFO ------------------------------------------------------------
00:53:09 ERROR 7cda9f82-afc4-4c41-8385-3648dff6fc8d Unable to create dump:
at /usr/local/psa/PMM/agents/shared/Logging.pm line 84
Logging::error('Unable to create dump', 'fatal') called at /usr/local/psa/admin/bin/plesk_agent_man$
main::__ANON__('Error::Simple=HASH(0xc84aab0)', 'SCALAR(0xc24de90)') called at /usr/local/psa/PMM/a$
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 320
Error::subs::run_clauses('HASH(0xc84f910)', '\'undef\' value passed to XmlNode::setAttribute for \'$
Error::subs::try('CODE(0xc84f720)', 'HASH(0xc84f910)') called at /usr/local/psa/admin/bin/plesk_age$
main::perform('verbose', 0, 'split-size', 'undef', 'session-path', '/usr/local/psa/PMM/rsessions/20$
main::__ANON__() called at /usr/local/psa/PMM/agents/shared/Error.pm line 398
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 397
Error::subs::try('CODE(0xb178170)', 'HASH(0xc6620e0)') called at /usr/local/psa/admin/bin/plesk_age$
main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1177
 
Need investigation directly on your server. Therefore I suggest you contact support team.
 
I bought my license from a third party. Do you know if I should contact them, or I can contact Plesk directly, and if are there any costs involved?
 
I have tried to contact my license proviver and they referred me to Plesk people, but my support is being denied as they did not sold the license directly to me. Only available solution would be charging me $75 dollars per incident. I would rather try doing a fresh install of Plesk instead of paying that fee. Shame on you Paralells for making your customers pay you to fix your own software errors.
 
Ok. I fixed it. The error logs mention the user "base-bot", so I just found that user and the correspondant domain, deleted both and migrated that domain again. Problem solved.
 
Back
Top