• 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

migrating from cpanel to plesk 11 show an error 1

h.a.d.i

New Pleskian
hi
i`v installed plesk on amazon ec2
i`m trying to migrate accounts from cpanel to plesk 11 but migration manager show an error with exit code 2

this is the full pmmcli.log in the attachemnt

in the log every thing seams going okay but here what generate the exception

<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<scout-result migration-session-id="2012110503101796">
<detected-panel name="cPanel 11.32" agent="cPanel9"></detected-panel>
<os-info loadavg="0.01 0.02 0.00" os="CentOS release 5.5 (Final) i686">
<package-installed version="5.1" name="mysql">

</package-installed>
<package-installed version="8.3.3" name="postgresql">

</package-installed>
<package-installed version="2.2.22" name="apache">

</package-installed>
<package-installed version="" name="sendmail">

</package-installed>
<package-installed version="3.0.6" name="rsync">

</package-installed>
</os-info>
<remote-fs>
<fs free="675083214848" mode="rw" device="/dev/sda3" mountpoint="/" type="ext3" size="982249517056"></fs>
<fs free="107424768" mode="rw" device="/dev/sda1" mountpoint="/boot" type="ext2" size="135378944"></fs>
</remote-fs>
</scout-result>
</data>
</response>

21298: 2012-11-05 03:10:18,224 DEBUG --> <pmmcli.MigrationGetObjectsListAction object at 0x183a0d0>
21298: 2012-11-05 03:10:18,224 INFO parameters: ['2012110503101796']
21298: 2012-11-05 03:10:18,224 INFO stdin: <agent-to-use>cPanel9</agent-to-use>
21298: 2012-11-05 03:10:18,228 INFO Packet succesfully validated.
21298: 2012-11-05 03:10:18,229 DEBUG <pmmcli.ActionRunner object at 0x183a090>: doActivity
21298: 2012-11-05 03:10:18,327 INFO Executing <subprocess[21299] '/usr/local/psa/admin/bin/migration-handler --migration-get-objects-list 2012110503101796'>
21298: 2012-11-05 03:10:36,876 INFO Subprocess raised ExecuteException: Subprocess <subprocess[21299] '/usr/local/psa/admin/bin/migration-handler --migration-get-objects-list 2012110503101796'> was finished with exit code 1
== STDOUT ====================
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>1001</errcode>
<errmsg>Runtime error in migration handler:
&lt;class 'subproc.NonzeroExitException'&gt; was finished with exit code 2
Traceback (most recent call last):
File "/usr/local/psa/admin/share/migration-handler/migration_handler.py", line 1682, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/usr/local/psa/admin/share/migration-handler/migration_handler.py", line 1481, in migration_get_objects_list
return MigrationHandlerActionRunner(MigrationGetObjectsListAction, agent_to_use, migration_session_id).doActivity()
File "/usr/local/psa/admin/share/migration-handler/migration_handler.py", line 100, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/migration-handler/migration_handler.py", line 344, in doActivity
objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)
File "/usr/local/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 110, in getObjectsList
self.runCmdLine(cmd)
File "/usr/local/psa/admin/share/migration-handler/pmm_migr_remote_service.py", line 55, in runCmdLine
self.session.runWorker(cmd)
File "/usr/local/psa/admin/share/migration-handler/migration_handler_session.py", line 322, in runWorker
cmd.spawn()
File "/usr/local/psa/admin/lib/python/subproc.py", line 246, in spawn
self.proc.run()
File "/usr/local/psa/admin/lib/python/subproc.py", line 191, in run
BaseSubprocess.run(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 169, in run
self.wait()
File "/usr/local/psa/admin/lib/python/subproc.py", line 199, in wait
BaseSubprocess.wait(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 179, in wait
raise NonzeroExitException(self, self.__retcode)
NonzeroExitException: was finished with exit code 2
</errmsg>
</response>
 

Attachments

  • pmmcli.log.txt
    34.7 KB · Views: 3
thank you for your reply
i read the article but as if it was talking about migration from plesk to plesk servers
because e it was talking about plesX.pl migration script in both servers

pleas correct me if i`m wrong

thank you in advanced
 
I hope that you use root account for performing this migration?
 
hello
yes of course i`m using root access but i got this exception in the attachment above

could you pleas add some explanation about migration from none plesk control panel (cpanel in this case ) to plesk
using command line maybe it will solve the issue

thank you for your help
 
Back
Top