• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Migration from 10.3.1 to 10.3.1 fails....

HoracioS

Regular Pleskian
Hi!

When tying to migrate from 10.3.1 to 10.3.1 bothe servers updated and synced. Source server is Debian 5 x64 and new server is Debian 6 x64 I received the following error:

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

and the pmmcli.log says:


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

3644: 2011-08-19 13:42:18,128 CRITICAL PMMUtility exception:
Subprocess <subprocess[3645] '/opt/psa/admin/bin/migration-handler --migration-get-objects-list 20110819134205646'> 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 'xml.sax._exceptions.SAXParseException'&gt; /opt/psa/PMM/msessions/20110819134205646/dump.xml:1:0: no element found
Traceback (most recent call last):
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1624, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1423, in migration_get_objects_list
return MigrationHandlerActionRunner(MigrationGetObjectsListAction, agent_to_use, migration_session_id).doActivity()
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 100, in doActivity
result = self.processor.doActivity()
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 344, in doActivity
objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)
File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 108, in getObjectsList
objects_list = self.makeObjectsListFromDump(agent_name)
File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 118, in makeObjectsListFromDump
parser.parse(dump_path)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 125, in parse
self.close()
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.6/xml/sax/handler.py", line 38, in fatalError
raise exception
SAXParseException: /opt/psa/PMM/msessions/20110819134205646/dump.xml:1:0: no element found
</errmsg>
</response>

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

Traceback (most recent call last):
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2118, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2022, in migration_get_objects_list
return ActionRunner(MigrationGetObjectsListAction, migration_task_description, migration_session_id).doActivity()
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 150, in doActivity
result = self.processor.doActivity()
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 1587, in doActivity
return pmm_migration_handler.MigrationHandler.migrationGetObjectsList( self.__migration_session_id ,self.__agent_to_use.getValueOf_() )
File "/opt/psa/admin/share/pmmcli/pmm_migration_handler.py", line 211, in migrationGetObjectsList
return MigrationHandler.callMigrationHandlerWithResponse('--migration-get-objects-list', session_id = migration_session_id, input_str = agent_to_use)
File "/opt/psa/admin/share/pmmcli/pmm_migration_handler.py", line 511, in callMigrationHandlerWithResponse
raise PMMUtilityException('migration_handler', x)
PMMUtilityException: was finished with exit code 1

3644: 2011-08-19 13:42:18,128 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>

Best regards,
Horacio
 
Ya we got the same error did you find out anything? I tried the suggested debuggin assistant program but that just gave me more of the same developer debuggin (note: Im a customer not a developer)<hint on the frustration. This is a brand new install on a fresh CentOS 5.6 operating system 0 errors on install of Panel 10.3.1
Hi!

When tying to migrate from 10.3.1 to 10.3.1 bothe servers updated and synced. Source server is Debian 5 x64 and new server is Debian 6 x64 I received the following error:

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

and the pmmcli.log says:


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

3644: 2011-08-19 13:42:18,128 CRITICAL PMMUtility exception:
Subprocess <subprocess[3645] '/opt/psa/admin/bin/migration-handler --migration-get-objects-list 20110819134205646'> 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 'xml.sax._exceptions.SAXParseException'&gt; /opt/psa/PMM/msessions/20110819134205646/dump.xml:1:0: no element found
Traceback (most recent call last):
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1624, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1423, in migration_get_objects_list
return MigrationHandlerActionRunner(MigrationGetObjectsListAction, agent_to_use, migration_session_id).doActivity()
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 100, in doActivity
result = self.processor.doActivity()
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 344, in doActivity
objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)
File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 108, in getObjectsList
objects_list = self.makeObjectsListFromDump(agent_name)
File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 118, in makeObjectsListFromDump
parser.parse(dump_path)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 125, in parse
self.close()
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.6/xml/sax/handler.py", line 38, in fatalError
raise exception
SAXParseException: /opt/psa/PMM/msessions/20110819134205646/dump.xml:1:0: no element found
</errmsg>
</response>

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

Traceback (most recent call last):
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2118, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2022, in migration_get_objects_list
return ActionRunner(MigrationGetObjectsListAction, migration_task_description, migration_session_id).doActivity()
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 150, in doActivity
result = self.processor.doActivity()
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 1587, in doActivity
return pmm_migration_handler.MigrationHandler.migrationGetObjectsList( self.__migration_session_id ,self.__agent_to_use.getValueOf_() )
File "/opt/psa/admin/share/pmmcli/pmm_migration_handler.py", line 211, in migrationGetObjectsList
return MigrationHandler.callMigrationHandlerWithResponse('--migration-get-objects-list', session_id = migration_session_id, input_str = agent_to_use)
File "/opt/psa/admin/share/pmmcli/pmm_migration_handler.py", line 511, in callMigrationHandlerWithResponse
raise PMMUtilityException('migration_handler', x)
PMMUtilityException: was finished with exit code 1

3644: 2011-08-19 13:42:18,128 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>

Best regards,
Horacio
 
No, I didn´t find anything because the logs created according this article http://kb.odin.com/en/9679 are empty.

Finally I decided to move manually the site because I have no time nor patience to debug like a developer... (just copy the httpdocs and mysqldump the database...).

regards,
Horacio
 
I have come to the conclusion from reading as much as I could (could be the wrong conclusion) that the new migration manager is not backwards compatible, at least thats what I am getting from what I read. 10.12 vs. 9.52 I have found upgrade *.MSI files but since we use linux/unix it seems to be nothing there.

Manually moving them is my next option though I am not looking forward to moving so many sites. httpdocs and mysqldump are there easy ones. Were you able to transfer any mail content? Im not even sure if the mailboxes are compatible on this upgrade.
 
same here

Same problem on my end. A 10.3.1 to 10.3.1 migration always fails. I started a different thread, but no go. Same issue with using a manual migration. My migration logs are also empty

Here is a copy of my output in case someone reads it:


[ root /var/tmp/migrate ] > ./PleskX.pl --dump-all --no-content
[15219]: 02:26:49 INFO FileFinder: pwd resolved to /bin/pwd
[15219]: 02:26:49 INFO ------------------------------------------------------------
[15219]: 02:26:49 INFO FILE storage initialized.
[15219]: 02:26:49 INFO Base directory: /var/tmp/migrate
[15219]: 02:26:49 INFO Space reserved: 10485760
[15219]: 02:26:49 INFO Gzip bundles: yes
[15219]: 02:26:49 INFO Bundle split size: do not split
[15219]: 02:26:49 INFO ------------------------------------------------------------
[15219]: 02:26:49 INFO Reserve disk space at /var/tmp/migrate/.fs_NaN_0
1+0 records in
1+0 records out
10485760 bytes (10 MB) copied, 0.011738 seconds, 893 MB/s
[15219]: 02:26:49 INFO ------------------------------------------------------------
[15219]: 02:26:49 INFO Migration status reporting initialized.
[15219]: 02:26:49 INFO Status file: /var/tmp/migrate/dumping-status.xml
[15219]: 02:26:49 INFO ------------------------------------------------------------
[15219]: 02:26:49 INFO Set backup file name 'backup' (profile 'backup', id='')

[15219]: 02:26:49 INFO Archive content transport has been initialized
[15219]: 02:26:49 INFO Exec: /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/api-cli/product_info.php --get-mode
/usr/bin/sw-engine: error while loading shared libraries: /usr/lib64/mysql/libmysqlclient.so.15: file too short
[15219]: 02:26:49 ERROR 04c8f53f-59fe-4b0a-8f0c-cb804fd73d0c Cannot detect product mode
[15219]: 02:26:49 INFO New connection: mysql shell connection. db psa, user admin, host localhost
[15219]: 02:26:49 TRACE SQL: SELECT ip_address, id FROM IP_Addresses
[15219]: 02:26:49 TRACE SQL: SELECT c.id, c.login, p.ip_address, c.type, c.parent_id, pl.type, c.guid FROM clients c LEFT JOIN ip_pool pl ON c.pool_id = pl.id LEFT JOIN IP_Addresses p ON pl.ip_address_id = p.id
[15219]: 02:26:49 TRACE SQL: SELECT domains.displayName, IP_Addresses.ip_address FROM DomainServices, IpAddressesCollections, IP_Addresses, domains WHERE DomainServices.dom_id = domains.id AND DomainServices.ipCollectionId = IpAddressesCollections.ipCollectionId AND IpAddressesCollections.ipAddressId = IP_Addresses.id AND domains.webspace_id = 0
[15219]: 02:26:49 TRACE SQL: SELECT d.displayName, p.ip_address FROM domains d, IP_Addresses p, forwarding f WHERE p.id = f.ip_address_id AND f.dom_id = d.id AND d.webspace_id = 0
[15219]: 02:26:49 TRACE SQL: SELECT d.displayName FROM domains d WHERE htype = 'none' AND webspace_id = 0
[15219]: 02:26:49 TRACE SQL: SELECT d.displayName, d.name, c.login, c.id, d.id dom_id FROM clients c LEFT JOIN domains d ON d.cl_id = c.id WHERE d.webspace_id = 0
[15219]: 02:26:49 TRACE SQL: SELECT smb_users.login, clients.login FROM smb_users, clients WHERE smb_users.ownerId = clients.id
[15219]: 02:26:49 TRACE SQL: SELECT smb_roles.id, clients.login FROM smb_roles, clients WHERE smb_roles.ownerId = clients.id
[15219]: 02:26:49 DEBUG Selected all objects
[15219]: 02:26:49 TRACE SQL: SELECT val FROM misc WHERE param = 'power_user_panel'
[15219]: 02:26:49 DEBUG Unable to create dump: Cannot find client ''! at PleskStructure.pm line 201.
at PleskStructure.pm line 201
PleskStructure::getMyClients('undef') called at PleskStructure.pm line 109
PleskStructure::getAdminClients() called at PleskX.pm line 1257
PleskX::createFullDump('PleskX=HASH(0xc954250)') called at PleskX.pm line 539
PleskX::dump('PleskX=HASH(0xc954250)') called at ./PleskX.pl line 254
eval {...} called at ./PleskX.pl line 143
main::main() called at ./PleskX.pl line 274

[15219]: 02:26:49 ERROR 8be01351-083b-4da4-8d12-818e23566318 Unable to create dump:
at Logging.pm line 84
Logging::error('Unable to create dump', 'fatal') called at ./PleskX.pl line 260
main::main() called at ./PleskX.pl line 274

[15219]: 02:26:49 INFO FileFinder: pwd resolved to /bin/pwd
 
Guys, could you please provide access to servers? It will help to as to investigate and resolve problem.
 
I figured out how to fix it. Using the autoinstaller, I installed the plesk build of MySQL 5.5. Since then, the migration has worked flawlessly.
 
Back
Top