• 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

Migration Manager from 10.x to 11.x - headache!

dtbaker

Basic Pleskian
Struggling a bit here with the migration.

The web interface successfully copied across 23G of data from the old server to the new server but seems to have stopped without errors.

Home > Tools & Settings > Migration & Transfer Manager > shows a status of Failed and this in the error log box:

Code:
<?xml version="1.0" encoding="UTF-8"?>
  <execution-result status="success" log-location="/usr/local/psa/PMM/rsessions/20130801163257191/migration.result"/>

Here's the copied data.

Code:
$ du -sh /usr/local/psa/PMM/var/20130801100228283
23G	/usr/local/psa/PMM/var/20130801100228283


I have tried running the "Migration & Transfer Manager" again and choosing the "Already Data On Server" and got notwhere using this file
Code:
/usr/local/psa/PMM/var/20130801100228283/dump.xml
(lots of "owner" related errors) but I'm getting more success if I input this file into the interface
Code:
/usr/local/psa/PMM/var/20130801100228283/dump.xml.withowners

It will now ask me for the new IP addresses and then shows a "Conflicts Occurred During the Restoration Process" message with a list of about 1/5th of the domain names in the import file. No other errors just a list of domain names.

Clicking on next from the conflict screen takes me to a "Resolution Rules for Restoration Conflicts" I leave the default option selected ( "Use configuration and data from backup" ) and click next.

I'm then taken to another "Conflicts" warning page, but this time there is no title text and nothing listed in the conflicts area. Just an empty page with "next" and "cancel". Clicking "next" takes me back to the "Resolution Rules for Restoration Conflicts". I change the default option and choose "Use configuration from current system and data from backup" instead and click "next" but after a minute I'm taken back to that same empty conflicts page. Clicking next and takes me back to the same "Resolution Rules for Restoration Conflicts" page again and I choose the last available option of "Do not restore" and click "next".

I'm finally taken to the "Backup Manager" area of Plesk with a Information: Restoration of backup dump.xml.withowners is complete message but nothing is imported (probably due to choosing the "no not restore" option previously).

I seem to have the data from the Plesk migration on the new server, how can I import this data into Plesk if the web interface isn't working? Any pointers would be appreciated!

Cheers,
Dave

edit further details as I discover them:

Code:
$ /usr/local/psa/admin/bin/migration-handler --migration-get-sessions-list
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <errcode>0</errcode>
    <data>
        <session-list>
            <session session-id="20130801100228283" creation-date="2013-Aug-01 10:02:28">
                <steps-passed>
                    <step id="agent-uploaded">
</step>
                    <step id="objects-list-received">
</step>
                    <step id="migrated-objects-selected">
</step>
                    <step id="ip-mapping-set">
</step>
                    <step id="restore-policy-set">
</step>
                    <step id="migration-task-started">
</step>
                </steps-passed>
                <additional-info>
                    <source-hostname>x.x.x.x</source-hostname>
                </additional-info>
            </session>
</session-list>
    </data>
</response>

last bit of output from /usr/local/psa/PMM/logs/migration.log

Code:
[17:32:16|INFO:20672:p.log] pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-dump-list --type=server --session-path=/usr/local/psa/PMM/logs
[17:32:16|INFO:20672:p.log] Repository '/var/lib/psa/dumps' initialising...
[17:32:16|INFO:20672:p.log] Repository '/var/lib/psa/dumps': Initialized
[17:32:16|INFO:20672:p.log] Repository '/var/lib/psa/dumps': List backups of type server for guid  and name 
[17:32:16|INFO:20672:p.log] Get discovered names
[17:32:16|INFO:20672:p.log] Search object dirs
[17:32:16|INFO:20672:p.log] '.discovered' directory for 'server' '' not found
[17:32:16|INFO:20672:p.log] pmm-ras finished. Exit code: 0
[17:32:20|INFO:20697:p.log] pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-dump-list --type=server --session-path=/usr/local/psa/PMM/logs
[17:32:20|INFO:20697:p.log] Repository '/var/lib/psa/dumps' initialising...
[17:32:20|INFO:20697:p.log] Repository '/var/lib/psa/dumps': Initialized
[17:32:20|INFO:20697:p.log] Repository '/var/lib/psa/dumps': List backups of type server for guid  and name 
[17:32:20|INFO:20697:p.log] Get discovered names
[17:32:20|INFO:20697:p.log] Search object dirs
[17:32:20|INFO:20697:p.log] '.discovered' directory for 'server' '' not found
[17:32:20|INFO:20697:p.log] pmm-ras finished. Exit code: 0
[17:34:12|INFO:20964:p.log] pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --convert-local-dump --dump-storage=/usr/local/psa/PMM/var/20130801100228283/ --dump-specification=dump.xml.withowners --session-path=/usr/local/psa/PMM/logs
[17:34:12|INFO:20964:p.log] Repository '/usr/local/psa/PMM/var/20130801100228283/' initialising...
[17:34:12|INFO:20964:p.log] Repository '/usr/local/psa/PMM/var/20130801100228283/': Initialized
[17:34:12|INFO:20964:p.log] Repository '/usr/local/psa/PMM/var/20130801100228283/': Convert local backup to current Panel version dump.xml.withowners
[17:34:12|INFO:20964:p.log] Executing utility: /usr/local/psa/bin/pre10-backup-convert --can-convert -source /usr/local/psa/PMM/var/20130801100228283//dump.xml.withowners
2013-08-01T17:34:12-04:00 INFO (6): backup_Converter_Panel10::_canConvertCommand started from /usr/local/psa/PMM/var/20130801100228283//dump.xml.withowners
2013-08-01T17:34:12-04:00 INFO (6): Dump version is 11.0.9
2013-08-01T17:34:12-04:00 INFO (6): backup_Converter_Panel10::_canConvertCommand finished
[17:34:12|INFO:20964:p.log] The utility succesfully executed.
[17:34:12|INFO:20964:p.log] The return code was  
The output on STDOUT was: 
false 
No output on STDERR were performed by the utility
[17:34:12|INFO:20964:p.log] pmm-ras finished. Exit code: 0
[17:43:29|INFO:22812:p.log] pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-dump-list --type=server --session-path=/usr/local/psa/PMM/logs
[17:43:29|INFO:22812:p.log] Repository '/var/lib/psa/dumps' initialising...
[17:43:29|INFO:22812:p.log] Repository '/var/lib/psa/dumps': Initialized
[17:43:29|INFO:22812:p.log] Repository '/var/lib/psa/dumps': List backups of type server for guid  and name 
[17:43:29|INFO:22812:p.log] Get discovered names
[17:43:29|INFO:22812:p.log] Search object dirs
[17:43:29|INFO:22812:p.log] '.discovered' directory for 'server' '' not found
[17:43:29|INFO:22812:p.log] pmm-ras finished. Exit code: 0
[17:44:05|INFO:23596:p.log] pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-dump-list --type=server --session-path=/usr/local/psa/PMM/logs
[17:44:05|INFO:23596:p.log] Repository '/var/lib/psa/dumps' initialising...
[17:44:05|INFO:23596:p.log] Repository '/var/lib/psa/dumps': Initialized
[17:44:05|INFO:23596:p.log] Repository '/var/lib/psa/dumps': List backups of type server for guid  and name 
[17:44:05|INFO:23596:p.log] Get discovered names
[17:44:05|INFO:23596:p.log] Search object dirs
[17:44:05|INFO:23596:p.log] '.discovered' directory for 'server' '' not found
[17:44:05|INFO:23596:p.log] pmm-ras finished. Exit code: 0
[17:45:17|INFO:23854:p.log] pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-dump-list --type=server --session-path=/usr/local/psa/PMM/logs
[17:45:17|INFO:23854:p.log] Repository '/var/lib/psa/dumps' initialising...
[17:45:17|INFO:23854:p.log] Repository '/var/lib/psa/dumps': Initialized
[17:45:17|INFO:23854:p.log] Repository '/var/lib/psa/dumps': List backups of type server for guid  and name 
[17:45:17|INFO:23854:p.log] Get discovered names
[17:45:17|INFO:23854:p.log] Search object dirs
[17:45:17|INFO:23854:p.log] '.discovered' directory for 'server' '' not found
[17:45:17|INFO:23854:p.log] pmm-ras finished. Exit code: 0
[17:46:08|INFO:23968:p.log] pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-dump-list --type=server --session-path=/usr/local/psa/PMM/logs
[17:46:08|INFO:23968:p.log] Repository '/var/lib/psa/dumps' initialising...
[17:46:08|INFO:23968:p.log] Repository '/var/lib/psa/dumps': Initialized
[17:46:08|INFO:23968:p.log] Repository '/var/lib/psa/dumps': List backups of type server for guid  and name 
[17:46:08|INFO:23968:p.log] Get discovered names
[17:46:08|INFO:23968:p.log] Search object dirs
[17:46:08|INFO:23968:p.log] '.discovered' directory for 'server' '' not found
[17:46:08|INFO:23968:p.log] pmm-ras finished. Exit code: 0
[17:50:26|INFO:24520:p.log] pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-dump-list --type=server --session-path=/usr/local/psa/PMM/logs
[17:50:26|INFO:24520:p.log] Repository '/var/lib/psa/dumps' initialising...
[17:50:26|INFO:24520:p.log] Repository '/var/lib/psa/dumps': Initialized
[17:50:26|INFO:24520:p.log] Repository '/var/lib/psa/dumps': List backups of type server for guid  and name 
[17:50:26|INFO:24520:p.log] Get discovered names
[17:50:26|INFO:24520:p.log] Search object dirs
[17:50:26|INFO:24520:p.log] '.discovered' directory for 'server' '' not found
[17:50:26|INFO:24520:p.log] pmm-ras finished. Exit code: 0

googling that ".discovered directory not found" now to see if that is an issue
 
Last edited:
i found all these errors in the conflict-detect.log :

Code:
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])
[01-Aug-2013 18:58:28] Error:	Dump is not valid due to internal unique resources conflict (Class [UserName] value [[email protected]])

the dump.xml and dump.xml.withowners files had a section of duplicate "user" entries like this:

Code:
<user is-domain-admin="false" name="robina@xxxxxxxxxx" is-built-in="false" contact="robina plesk" subscription-name="removed" is-legacy-user="false" email="robina@xxxxxxxxxx" guid="3bf7f35f-7de1-8dda-9415-xxxxxxxx" cr-date="2012-05-22T12:09:43+11:00">
      <properties>
        <password type="plain" encoding="base64">xxxxxx==</password>
        <status>
          <enabled/>
        </status>
      </properties>
      <limits-and-permissions>
        <role-ref>WebMaster</role-ref>
      </limits-and-permissions>
      <preferences>
        <pinfo name="email">robina@xxxxxxxxx</pinfo>
        <pinfo name="country">AU</pinfo>
        <pinfo name="im-type">1</pinfo>
      </preferences>
    </user>

i have removed these from the dump.xml files manually and am re-running the migration now to see how that goes
 
no go, migrating sites individually. bah

I noticed from the title of this thread -- "Migration Manager from 10.x to 11.x..." -- that your attempting to transfer from Plesk Panel ver. 10 to Plesk Panel ver. 11.

The section "Transferring Panel Data" of the "Installation, Upgrade, Migration, and Transfer Guide. Parallels Plesk Panel 11.0" states...

Transferring Panel Data

Transfer is a process of moving hosting data (service plans, accounts, subscriptions with content, and so on) from one Panel server (source) to another server with Panel of the same version (destination server). Transfer lets you, for example, seamlessly move your Panel to a more productive server or from one Linux distribution to another.
 
Struggling a bit here with the migration.

The web interface successfully copied across 23G of data from the old server to the new server but seems to have stopped without errors.

Home > Tools & Settings > Migration & Transfer Manager > shows a status of Failed and this in the error log box:

no go, migrating sites individually. bah

I'm not clear on the difference between the two different approaches that you took (i.e., bulk versus individual).

Could you elaborate?

TIA,
 
Back
Top