View Full Version : cpanel to plesk error
wsani
24th February 2008, 11:15 PM
Hi,
When I try to migrate from Cpanel to Plesk, I get the following error:
[19:56:25|INFO:26055:p.log] NoSuchAttribute: Node migration-dump does not have attribute dump-version [./xml_parse.cpp:238]
This worked previously. I removed the domain from the Plesk server, then tried to migrate it again and it didn't work this time. I should add that I just recently ran a yum update...
wsani
24th February 2008, 11:16 PM
Suggestions?
brethil
12th March 2008, 08:43 AM
Same error when trying to migrate datas from a Cobalt Raq 550.
I just upgraded to 8.3 and ran a yum-update too.
wsani
12th March 2008, 10:59 AM
I had to pay Parallels to get the issue corrected. It ended up being the deployer located under /usr/local/psa/admin/sbin/deployer
You'll need to ask them to provide you a new version of the file I suppose....
brethil
13th March 2008, 01:41 PM
Thanks for the quick answer !
I'm not going to pay, so I'm working on a manual migration.
tylerl
9th April 2008, 04:45 AM
Plesk has an unfortunate history of creating backup files that it can't restore. Usually (as in this case) the failure is caused by a trivial validation error that you can easily fix by hand-editing the backup file. Unfortunately, hand-editing a 15GB file takes some forethought. That and "sed".
In this case, the "migration-dump" XML node doesn't have a "dump-version" attribute. "grep" the backup file for "migration-dump" and you'll see that it's right: that attribute is indeed missing. The workaround is to add one.
The following worked for me (all on one line):
sed 's/<migration-dump agent-name="PleskX">/<migration-dump agent-name="PleskX" dump-version="8.3.0">/' backup-file > backup-file-new
where "backup-file" is the name of your existing backup file, and "backup-file-new" is what you want to call the modified version.
Sed reads the file and does a simple replacement, as defined by the command 's/{old}/{new}/', outputting the result to stdout, which you redirect to a new file.
Assuming the only problem is the fact that the version attribute was missing, and what you see isn't a symptom of some deeper problem, then the resulting file should be good-to-go.
It worked for me.
trendzetter
25th April 2008, 08:29 AM
I have the same error when using the migrationtool to migrate sites from Ensim.
I changed the line 7 of /opt/psa/PMM/agents/EnsimX/control/EnsimX.xsl
from
<migration-dump agent-name="{$agent_name}" >
to
<migration-dump agent-name="{$agent_name}" dump-version="8.3.0">
The problem seems to be fixed. I still have an error now with missing passwords:
Execution of /opt/psa/admin/plib/api-cli/domain.php --update *******.*** -hosting true -hst_type phys -ip **.***.**.** -webstat true -login **** -passwd failed with return code 1.
Stderr is
An error occured during domain update: error in hosting updating: Unable to update hosting preferences: system user update is failed: Unable to create system user: usermng: PAM password change failed: 20, Authentication token manipulation error
I can execute the command without errors when I add the password manually.
brethil
5th May 2008, 12:46 PM
Line 7 of my /usr/local/psa/PMM/agents/Raq550/control/Raq550.xsl edited as you did: it has worked, migration done !
Thank you so much for your answers.
travisbell
29th May 2008, 08:50 PM
I can confirm this fix worked for me. Not after I had wasted a good two hours though.
The amount of time I have lost from this Migration Agent has been astronomical through the years. Oi.
sergius
16th July 2008, 07:54 AM
Hi,
When I try to migrate from Cpanel to Plesk, I get the following error:
[19:56:25|INFO:26055:p.log] NoSuchAttribute: Node migration-dump does not have attribute dump-version [./xml_parse.cpp:238]
This worked previously. I removed the domain from the Plesk server, then tried to migrate it again and it didn't work this time. I should add that I just recently ran a yum update...
Hello wsani,
Thank you for reporting the issue to us. Please try applying the tips from the following knowledge base article: http://kb.parallels.com/en/5197
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.