• 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

Problem Migration from Plesk 7.5.4 to 9.2.3

T

TorstenS

Guest
Hello,

my old Plesk installation with 7.5.4 "is gone", but I have a full backup :)

Now I reinstalled my root server with Plesk 9.2.3 and tried to migrate my backup.

Here is what i have tried:
1) copy the backup to new installation
2) Plesk (clean install) -> Migration Manager -> choose local file, pointed to the backup file and started
3) after waiting about one hour (my backup is 74GB) the "Please Wait" screen disappears and forwards me to the main plesk desktop, but there are no resellers, clients but the disk usage has grown up about 74GB...

After some research on my server, I found some logfiles, but the errors aren't very useful.
First log I found is the pmmcli.log at /usr/local/psa/PMM/logs.
Code:
4887: 2009-11-08 14:58:25,559 INFO Create restore session 20091108145825999 started
4887: 2009-11-08 15:44:31,702 INFO Initialized restore session 20091108145825999
4887: 2009-11-08 15:44:34,709 CRITICAL Runtime error in pmmcli:
<class 'xml.sax._exceptions.SAXParseException'> /usr/local/psa/PMM/rsessions/20091108145825999/info.xml:1:0: syntax error
Traceback (most recent call last):
  File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1846, 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 1691, in restore
    return ActionRunner(RestoreAction, restore_task_specification, parameters).doActivity()
  File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 75, in doActivity
    result = self.processor.doActivity()
  File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 491, in doActivity
    session = pmmcli_session.PmmcliSession.createSession(owner_type,owner_guid,dump_specification_formatter.get_destination_file(),dump_specification_formatter.buildString())
  File "/usr/local/psa/admin/share/pmmcli/pmmcli_session.py", line 208, in createSession
    pmm_dump_overview.DumpOverviewCreator(session.get_session_id()).create(session.get_info_xml(),session.get_dump_overview())
  File "/usr/local/psa/admin/share/pmmcli/pmm_dump_overview.py", line 353, in create
    xml_processor.process()
  File "/usr/local/psa/admin/share/pmmcli/pmm_dump_overview.py", line 74, in process
    parser.parse(open(self.__info_xml))
  File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.6/xml/sax/expatreader.py", line 211, in feed
    self._err_handler.fatalError(exc)
  File "/usr/lib/python2.6/xml/sax/handler.py", line 38, in fatalError
    raise exception
SAXParseException: /usr/local/psa/PMM/rsessions/20091108145825999/info.xml:1:0: syntax error

4887: 2009-11-08 15:44:37,916 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <errcode>1001</errcode>
    <errmsg>Runtime error in pmmcli:
&lt;class 'xml.sax._exceptions.SAXParseException'&gt; /usr/local/psa/PMM/rsessions/20091108145825999/info.xml:1:0: syntax error
Traceback (most recent call last):
  File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1846, 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 1691, in restore
    return ActionRunner(RestoreAction, restore_task_specification, parameters).doActivity()
  File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 75, in doActivity
    result = self.processor.doActivity()
  File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 491, in doActivity
    session = pmmcli_session.PmmcliSession.createSession(owner_type,owner_guid,dump_specification_formatter.get_destination_file(),dump_specification_formatter.buildString())
  File "/usr/local/psa/admin/share/pmmcli/pmmcli_session.py", line 208, in createSession
    pmm_dump_overview.DumpOverviewCreator(session.get_session_id()).create(session.get_info_xml(),session.get_dump_overview())
  File "/usr/local/psa/admin/share/pmmcli/pmm_dump_overview.py", line 353, in create
    xml_processor.process()
  File "/usr/local/psa/admin/share/pmmcli/pmm_dump_overview.py", line 74, in process
    parser.parse(open(self.__info_xml))
  File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.6/xml/sax/expatreader.py", line 211, in feed
    self._err_handler.fatalError(exc)
  File "/usr/lib/python2.6/xml/sax/handler.py", line 38, in fatalError
    raise exception
SAXParseException: /usr/local/psa/PMM/rsessions/20091108145825999/info.xml:1:0: syntax error
</errmsg>
</response>

Another log is called migration.log and resides in the same folder as my original backup file.
Code:
[16:11:06|INFO: 6934:p.log] pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-dump-info --dump-file-specification=/usr/local/psa/PMM/rsessions/20091108133042280/info.xml
[16:11:06|INFO: 6934:p.log] Repository '/var/lib/psa/dumps' initialising...
[16:11:06|INFO: 6934:p.log] Repository '/var/lib/psa/dumps': Initialized
[16:11:06|INFO: 6934:p.log] Repository '/var/lib/psa/dumps': Get backup info from /usr/local/psa/PMM/rsessions/20091108133042280/info.xml
[16:11:06|INFO: 6934:p.log] Repository '/var/lib/psa/dumps': Get initial backup info from dir /usr/local/psa/PMM/rsessions/20091108133042280/.discovered/info
[16:11:06|INFO: 6934:p.log] Get backup params from listing of /usr/local/psa/PMM/rsessions/20091108133042280/.discovered/info
[16:11:06|INFO: 6934:p.log] pmm-ras finished. Exit code: 151

After many searches at google and the forums, I didn't find a solution or even an explanation whats wrong...

Are there other logs I missed? Is there a chance to import the "converted" backup? Or went something wrong with the conversion? Any chances to "rescue" the whole thing?

Every hint would be very nice :)

Greetings Torsten

BTW: the KB5864 at http://kb.odin.com/en/5864 did not mention, that the backup from 7.5 cannot directly converted with pre9-converter, but other sources do so. Weird, issn't it? (I tried and it didn't do the trick)
 
Thanks for your advice... I found this thread right after posting and started the migration...

The conversion from 7.5.4 to 8.x ran over 8 hours... And it took some finger-crossing that both backups fitted on the same harddisk (74GB + 67GB on a 150GB partition - thanks for compression!)... Now the conversion from 8.x to 9 is running...

I hope that works :)

After all: 2 days (counting) for trying to restore an backup from an older version is no fun... Seems like Parallels has spent many time on an migration agent for older versions, but didn't do so for migration of backups...
 
Back
Top