To start off, I have confirmed several times that migrating manually (using the web interface) works fine for the client/domain I am trying to migrate. However as I now want to automate the process I have been coding against the XML API to start the migration. I have basically generated a packet much like the Request samples and here's what I am sending (anonimized):
In this case the destination server is running Plesk 9.5.4 on Ubuntu and the source server is Plesk 8 on FreeBSD. The response the destination server gives is:
I have extensively looked at the documentation and example, and obviously googled the error code/message. I cannot seem to find any options that would allow me to set any method of authentication.
Is anyone able to shed some light on what I am missing here?
Thank you.
<packet version="1.6.0.2">
<migration>
<start>
<host>87.250.xxx.xxx</host>
<login>root</login>
<password>xxxxxxxxxxxxxxx</password>
<destination-host-directory>/home/migration</destination-host-directory>
<system-type>unix</system-type>
<selected-objects>
<migrate-clients>
<target-owner>admin</target-owner>
<client>
<name>someclientlogin</name>
<ip>
<old>
<ip-type>shared</ip-type>
<ip-address>87.250.xxx.xxx</ip-address>
</old>
<new>
<ip-type>shared</ip-type>
<ip-address>87.250.xxx.xxx</ip-address>
</new>
</ip>
<domain>
<name>somedomain.nl</name>
<ip>
<old>
<ip-type>shared</ip-type>
<ip-address>87.250.xxx.xxx</ip-address>
</old>
<new>
<ip-type>shared</ip-type>
<ip-address>87.250.xxx.xxx</ip-address>
</new>
</ip>
</domain>
</client>
</migrate-clients>
</selected-objects>
</start>
</migration>
</packet>
In this case the destination server is running Plesk 9.5.4 on Ubuntu and the source server is Plesk 8 on FreeBSD. The response the destination server gives is:
<?xml version="1.0"?>
<packet version="1.6.0.2">
<system>
<status>error</status>
<errcode>1029</errcode>
<errtext>Authentification method is not specified</errtext>
</system> </packet>
I have extensively looked at the documentation and example, and obviously googled the error code/message. I cannot seem to find any options that would allow me to set any method of authentication.
Is anyone able to shed some light on what I am missing here?
Thank you.