• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

pmm utility 'migration_handler' raised an exception. Error code is: 1

B

Bugra COLAK

Guest
We are trying to migrate with migration manager and we are getting error.

Source Server : Windows 2003 Plesk 9.2.1
Destination Server : Windows 2008 R2 64-Bit Plesk 9.3

We have installed migration manager for 9.3 on both servers.

Error: pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this


464: 2010-01-14 01:53:36,677 DEBUG --> <pmmcli.GetScoutInfoAction object at 0x024CB4D0>
464: 2010-01-14 01:53:36,677 INFO stdin: <migration-task-description owner-guid="9AF869BD-6A42-4F2B-B834-2EE8578CEE04"><agent-credentials><host-credentials remoting-type="dotnet-remoting"><login>administrator</login><password>dinamo-3597</password><hostname>212.174.10.10</hostname></host-credentials></agent-credentials><dst-host-parameters><dst-temporary-directory>C:\temp</dst-temporary-directory></dst-host-parameters></migration-task-description>
464: 2010-01-14 01:53:36,681 INFO Packet succesfully validated.
464: 2010-01-14 01:53:36,684 DEBUG <pmmcli.ActionRunner object at 0x024CB710>: doActivity
464: 2010-01-14 01:53:36,687 INFO Executing <subprocess[3916] 'C:\\Program Files (x86)\\Plesk\\admin\\bin\\migration-handler --migration-get-scout-info'>
464: 2010-01-14 01:53:43,641 INFO Execution of <subprocess[3916] 'C:\\Program Files (x86)\\Plesk\\admin\\bin\\migration-handler --migration-get-scout-info'> finished successfully.
464: 2010-01-14 01:53:43,642 DEBUG <pmmcli.GetScoutInfoAction object at 0x024CB4D0>: response
464: 2010-01-14 01:53:43,644 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<scout-result migration-session-id="20100114015337395">
<detected-panel name="Plesk 9.2.1" agent="{3A443229-0EA2-4b75-96B4-247BA11BDF62}"></detected-panel>
<os-info loadavg="0.00" os="Microsoft Windows NT 5.2.3790 Service Pack 2"></os-info>
<remote-fs>
</remote-fs>
</scout-result>
</data>
</response>

3384: 2010-01-14 01:53:44,072 DEBUG --> <pmmcli.MigrationGetObjectsListAction object at 0x024F9410>
3384: 2010-01-14 01:53:44,072 INFO parameters: ['20100114015337395']
3384: 2010-01-14 01:53:44,072 INFO stdin: <agent-to-use>{3A443229-0EA2-4b75-96B4-247BA11BDF62}</agent-to-use>
3384: 2010-01-14 01:53:44,076 INFO Packet succesfully validated.
3384: 2010-01-14 01:53:44,078 DEBUG <pmmcli.ActionRunner object at 0x024F9710>: doActivity
3384: 2010-01-14 01:53:44,082 INFO Executing <subprocess[3116] 'C:\\Program Files (x86)\\Plesk\\admin\\bin\\migration-handler --migration-get-objects-list 20100114015337395'>
3384: 2010-01-14 01:53:52,184 INFO Subprocess raised ExecuteException: Subprocess <subprocess[3116] 'C:\\Program Files (x86)\\Plesk\\admin\\bin\\migration-handler --migration-get-objects-list 20100114015337395'> 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 -3

Traceback (most recent call last):

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 1394, in main

data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 1193, in migration_get_objects_list

return MigrationHandlerActionRunner(MigrationGetObjectsListAction, agent_to_use, migration_session_id).doActivity()

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 88, in doActivity

result = self.processor.doActivity()

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 311, in doActivity

objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\pmm_migr_remote_service_impl.py", line 106, in getObjectsList

proc = self.runCmdLine(cmd)

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\pmm_migr_remote_service.py", line 51, in runCmdLine

self.session.runWorker(cmd)

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler_session.py", line 290, in runWorker

cmd.spawn()

File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 240, in spawn

self.proc.run()

File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 185, in run

BaseSubprocess.run(self)

File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 169, in run

self.wait()

File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 193, in wait

BaseSubprocess.wait(self)

File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 179, in wait

raise NonzeroExitException(self, self.__retcode)

NonzeroExitException: was finished with exit code -3

</errmsg>

</response>


== STDERR ====================

3384: 2010-01-14 01:53:52,187 CRITICAL PMMUtility exception:
Subprocess <subprocess[3116] 'C:\\Program Files (x86)\\Plesk\\admin\\bin\\migration-handler --migration-get-objects-list 20100114015337395'> 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 -3

Traceback (most recent call last):

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 1394, in main

data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 1193, in migration_get_objects_list

return MigrationHandlerActionRunner(MigrationGetObjectsListAction, agent_to_use, migration_session_id).doActivity()

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 88, in doActivity

result = self.processor.doActivity()

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 311, in doActivity

objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\pmm_migr_remote_service_impl.py", line 106, in getObjectsList

proc = self.runCmdLine(cmd)

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\pmm_migr_remote_service.py", line 51, in runCmdLine

self.session.runWorker(cmd)

File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler_session.py", line 290, in runWorker

cmd.spawn()

File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 240, in spawn

self.proc.run()

File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 185, in run

BaseSubprocess.run(self)

File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 169, in run

self.wait()

File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 193, in wait

BaseSubprocess.wait(self)

File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 179, in wait

raise NonzeroExitException(self, self.__retcode)

NonzeroExitException: was finished with exit code -3

</errmsg>

</response>


== STDERR ====================

Traceback (most recent call last):
File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmmcli.py", line 1846, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmmcli.py", line 1750, in migration_get_objects_list
return ActionRunner(MigrationGetObjectsListAction, migration_task_description, migration_session_id).doActivity()
File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmmcli.py", line 75, in doActivity
result = self.processor.doActivity()
File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmmcli.py", line 1316, in doActivity
return pmm_migration_handler.MigrationHandler.migrationGetObjectsList( self.__migration_session_id ,self.__agent_to_use.getValueOf_() )
File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmm_migration_handler.py", line 201, in migrationGetObjectsList
return MigrationHandler.callMigrationHandlerWithResponse('--migration-get-objects-list', session_id = migration_session_id, input_str = agent_to_use)
File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmm_migration_handler.py", line 501, in callMigrationHandlerWithResponse
raise PMMUtilityException('migration_handler', x)
PMMUtilityException: was finished with exit code 1

3384: 2010-01-14 01:53:52,187 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>1000</errcode>
<errmsg>pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this</errmsg>
</response>
 
Not sure that it is good idea to install migration manager for Plesk 9.3 version on server with Plesk 9.2.1 version...
 
We have tried older versions before.
That time it gave an error about older version...
 
The version of Plesk Migration Agent running on the remote host is older than the version of Plesk Migration Manager being currently used. Please install Plesk Migration Manager components of the same version.

After installing plesk migration 9.2... on both servers
 
Our situation is different from the thread that you send.
We want to transfer from 9.2 to 9.3.

If we use pmm 9.2 it gaves us this error:
The version of Plesk Migration Agent running on the remote host is older than the version of Plesk Migration Manager being currently used. Please install Plesk Migration Manager components of the same version.

And if we use 9.3 it gaves us this error:
pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this

We tried a lot...
Plesk 9.2 installed pmm 9.2 ->Plesk 9.3 no pmm
Plesk 9.2 installed pmm 9.3 ->Plesk 9.3 no pmm
Plesk 9.2 installed pmm 9.2 ->Plesk 9.3 installed pmm 9.2
Plesk 9.2 installed pmm 9.3 ->Plesk 9.3 installed pmm 9.3
 
Try to upgrade source server to 9.3.0 version too and install identical migration-agent on both servers.
 
We are afraid of upgrading Plesk :)
Whenever we upgrade the panel, always errors occur.

We will try, wish us luck :)
 
Good luck guys :)

But if you meet the other problem than in the mentioned thread, I'm afraid that only support team can help you.
 
Is there the same initial error on 9.3.0 now ot something else? Can you run \Plesk\admin\bin>pmmcli.exe on both servers without errors?
 
We can't upgrade 9.2.1 to 9.3.
We tried to upgrade from several versions, to several versions for years with different servers.
 
Same here, "pmm utility 'migration_handler' raised an exception. Error code is: 1"

From 8.6 to 9.3.

Upgrading to 9.3 isn't an option.
 
It looks like that something broken there. It is require detailed investigation directly on server. Therefore I can suggest you contact support team for fixing this problem. Not sure that it can be fixed in forum's format.
 
i have the same problem when migration from 8.3 to 9.3.
The agent in 8.3 server is 9.3.
The error is:

pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this


I attach the log details
 

Attachments

  • log.txt
    12.2 KB · Views: 6
Back
Top