I'm getting frustrated by the Plesk migration function. You'd think that it should be straightforward to migrate between two versions as close as 9.5.4 and 10.4.4. Not so. It seems to run fine until it reaches about the 7% or so mark and then it just stops with a 'Failed' status update. The error I found in the migration log file seems to indicate that execution stopped due to---
From the log, it appears that it's failing specifically due to the error:
I'm not sure where to begin to resolve the problem, so, any and all help will be mostly appreciated! Help, please!
Thanks!
..a.
. . . . .
<response>
<errcode>1001</errcode>
<errmsg>Runtime error in migration handler:
subproc.NonzeroExitException 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 1582, in migration_start
return MigrationHandlerActionRunner(MigrationStartAction, None, 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 916, in doActivity
service.backup(migration_session.getValue('agent_name'), migration_session.getValue('agent_dir'))
File "/usr/local/psa/admin/share/migration-handler/pmm_migr_remote_service.py", line 97, in backup
self.backupImpl(agent_name, agent_dir)
File "/usr/local/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 83, in backupImpl
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 240, in spawn
self.proc.run()
File "/usr/local/psa/admin/lib/python/subproc.py", line 185, 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 193, 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>
6659: 2012-04-17 00:49:06,489 DEBUG --> <migration_handler.MigrationGetTaskStatusAction object at 0xb7acf78c>
6659: 2012-04-17 00:49:06,489 INFO parameters: ['20120417004602861']
6659: 2012-04-17 00:49:06,492 DEBUG <migration_handler.MigrationHandlerActionRunner object at 0xb7acf9ec>: doActivity
6659: 2012-04-17 00:49:06,498 WARNING Session data object file '/usr/local/psa/PMM/msessions/20120417004602861/status_mixed' does not exist
6659: 2012-04-17 00:49:06,498 WARNING Session data value file '/usr/local/psa/PMM/msessions/20120417004602861/migration-result-name' does not exist
6659: 2012-04-17 00:49:06,498 WARNING Session data object file '/usr/local/psa/PMM/msessions/20120417004602861/transfer_status' does not exist
6659: 2012-04-17 00:49:06,498 WARNING Session data object file '/usr/local/psa/PMM/msessions/20120417004602861/restore_task_status' does not exist
6659: 2012-04-17 00:49:06,499 WARNING Session data value file '/usr/local/psa/PMM/msessions/20120417004602861/restore_task_id' does not exist
6659: 2012-04-17 00:49:06,516 DEBUG <migration_handler.MigrationGetTaskStatusAction object at 0xb7acf78c>: response
6659: 2012-04-17 00:49:06,517 INFO Outgoing packet:
. . . .
From the log, it appears that it's failing specifically due to the error:
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
I'm not sure where to begin to resolve the problem, so, any and all help will be mostly appreciated! Help, please!
Thanks!
..a.