• 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 Plesk 9 to 10 whith error

FredC

Basic Pleskian
Migration Plesk 9 to 10 : 'migration_handler' error: Xml reading error: not well-form

Hello,
Trying to migrate from a Linux-Plesk9 server to a Linux-Plesk10 server, i get this error :
pmm utility 'migration_handler' error: Xml reading error: not well-formed (invalid token): line 7, column 80
Thanks for help.
 
Last edited:
Try to find more details in related migration logs from /usr/local/psa/PMM/logs/
 
Thanks.
I did it before your answer.
There it is i think :
12243: 2010-12-10 09:47:58,650 DEBUG --> <pmmcli.MigrationGetObjectsListAction object at 0x2b608b0d7490>
12243: 2010-12-10 09:47:58,650 INFO parameters: ['20101210094757594']
12243: 2010-12-10 09:47:58,650 INFO stdin: <agent-to-use>PleskX</agent-to-use>
12243: 2010-12-10 09:47:58,656 INFO Packet succesfully validated.
12243: 2010-12-10 09:47:58,657 DEBUG <pmmcli.ActionRunner object at 0x2b608b0d7450>: doActivity
12243: 2010-12-10 09:47:58,666 INFO Executing <subprocess[12244] '/usr/local/psa/admin/bin/migration-handler --migration-get-objects-list 20101210094757594'>
12243: 2010-12-10 09:47:59,093 INFO Execution of <subprocess[12244] '/usr/local/psa/admin/bin/migration-handler --migration-get-objects-list 20101210094757594'> finished successfully.
12243: 2010-12-10 09:47:59,094 DEBUG <pmmcli.MigrationGetObjectsListAction object at 0x2b608b0d7490>: response
12243: 2010-12-10 09:47:59,096 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>1000</errcode>
<errmsg>pmm utility 'migration_handler' error: Xml reading error: not well-formed (invalid token): line 7, column 80</errmsg>
</response>
 
First was from pmmcli.log

Here is form migration handler.log :
12244: 2010-12-10 09:47:58,788 DEBUG --> <migration_handler.MigrationGetObjectsListAction object at 0x2b628beef4d0>
12244: 2010-12-10 09:47:58,788 INFO parameters: ['20101210094757594']
12244: 2010-12-10 09:47:58,788 INFO stdin: PleskX
12244: 2010-12-10 09:47:58,794 DEBUG <migration_handler.MigrationHandlerActionRunner object at 0x2b628beef490>: doActivity
12244: 2010-12-10 09:47:58,806 DEBUG Platform selected: 'PleskX'
12244: 2010-12-10 09:47:58,807 DEBUG Platform detected: 'Plesk 9.2.2 CentOS 5 92090714.19', agent: 'PleskX'
12244: 2010-12-10 09:47:58,817 DEBUG add '12245' to session worker processes
12244: 2010-12-10 09:47:58,818 INFO Executing <subprocess[12245] '/usr/local/psa/admin/bin/launchpad --deploy-agent --host=87.106.95.192 --login=root --session-path=/usr/local/psa/PMM/msessions/20101210094757594 --agent-name=PleskX --agent-dir=/migration/20101210094757594/'>
12244: 2010-12-10 09:47:59,043 INFO Subprocess raised ExecuteException: Subprocess <subprocess[12245] '/usr/local/psa/admin/bin/launchpad --deploy-agent --host=87.106.95.192 --login=root --session-path=/usr/local/psa/PMM/msessions/20101210094757594 --agent-name=PleskX --agent-dir=/migration/20101210094757594/'> was finished with exit code 2
== STDOUT ====================

== STDERR ====================
Can't create agent directory /migration/20101210094757594/ on the remote host: sh: line 0: cd: /migration/20101210094757594/: No such file or directory
mkdir: cannot create directory `/migration/20101210094757594': No space left on 
12244: 2010-12-10 09:47:59,044 ERROR Launchpad could not deploy agent: Subprocess <subprocess[12245] '/usr/local/psa/admin/bin/launchpad --deploy-agent --host=87.106.95.192 --login=root --session-path=/usr/local/psa/PMM/msessions/20101210094757594 --agent-name=PleskX --agent-dir=/migration/20101210094757594/'> was finished with exit code 2
== STDOUT ====================

== STDERR ====================
Can't create agent directory /migration/20101210094757594/ on the remote host: sh: line 0: cd: /migration/20101210094757594/: No such file or directory
mkdir: cannot create directory `/migration/20101210094757594': No space left on 
12244: 2010-12-10 09:47:59,044 DEBUG <migration_handler.MigrationGetObjectsListAction object at 0x2b628beef4d0>: response
12244: 2010-12-10 09:47:59,046 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>1000</errcode>
<errmsg>launchpad error (Error code = 2):
== STDERR ====================
Can't create agent directory /migration/20101210094757594/ on the remote host: sh: line 0: cd: /migration/20101210094757594/: No such file or directory
mkdir: cannot create directory `/migration/20101210094757594': No space left on 
==============================
</errmsg>
</response>
I just copied end of files, where errors were.

Thans for helping.
 
check the disc space of your temp dir for migration.
@IgorG we had this problem several times in this forum now. sometimes not enough disc space causes plesk to hang up completly pls suggest to your developers to check that destination folder AND migration-temp-dir on destination server have enough free space otherwise dont start migration and give a "readable" error message in the GUI.
 
Sorry, i'm not sure it's about space.
Old server : 448.5 Go disponible sur 453.4 Go
New server : is 1000 Go, and is empty (i don't where to see that ?)

I've deleted some old log files, and modified one user who was not "space unlimited" but I get the same error
pmm utility 'migration_handler' error: Xml reading error: not well-formed (invalid token): line 7, column 80
 
is your destination server partitioned and you have a small system partition? there is normaly your temp folder located
 
is your destination server partitioned and you have a small system partition? there is normaly your temp folder located
It is all new, and i did nothing unless install PMM, so i think it should be good.
Here is all about hard disk (not easy to read as a list).
/dev/mapper/vg00-usr 4 086.00 Mo 1 046.36 Mo 3 039.64 Mo 25.61%
Répertoires protégés /usr/local/psa
/dev/mapper/vg00-var 4 086.00 Mo 109.19 Mo 3 976.81 Mo 2.67%
Répertoires protégés /var/lib/mysql
/var/www/vhosts
/var/qmail/mailnames
/var/named/run-root
/dev/md1 3 759.94 Mo 335.83 Mo 3 424.11 Mo 8.93%
none 0.00 Mo 0.00 Mo 0.00 Mo 0%
devpts 0.00 Mo 0.00 Mo 0.00 Mo 0%
/dev/mapper/vg00-home 4 086.00 Mo 4.16 Mo 4 081.84 Mo 0.1%
tmpfs 3 981.59 Mo 0.00 Mo 3 981.59 Mo 0%

Can't create agent directory /migration/20101210094757594/ on the remote host: sh: line 0: cd: /migration/20101210094757594/: No such file or directory
mkdir: cannot create directory `/migration/20101210094757594': No space left on 
The principal error could not be on the first line "Can't creat...No such file..." ?
 
My english is poor, but log talk about "remote host", i think it is my old server because error log is on new server ?
As i said, new server is all new, just installed.
 
Here it is.

It works.

As i said, i had a hard drive partition "dev/sda1" which was full. Only 1Gb on it.

Why ? Maybe because of trying to migrate all domains in one time, and manual interruption after one night, because migration seemed not to work.

What i did :
I deleted some log files (not sure they were on the full partition), and deleted the "migration" directory and all its contents with Putty (it made me remember when i was young, working on command line lol). Then, i had about 300 Mb free on "dev/sda1".


Tried migration :
Connection to old server : ok
Selection of only one website : ok
Migration : seems to work, but no file on new server ; only databases

I'll ask help on another subject if i can't find why.

Many thanks to all helpers, from parallel or not.
This forum is very usefull, and i like plesk again lol.
 
Back
Top