• 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

Resolved Migration from DirectAdmin to Plesk Fails

Aakhyan

Basic Pleskian
Hi Pleskians!

Recently I started getting the following errors, when migrating from DirectAdmin to Plesk.

Interesting thing: If your connection to the DA server is live, then the migration is happening.

This is occurring for new Migrations. I have tried about 4-5 DA panels with different Plesk servers having Obsidian, and this error still comes.

Please suggest a solution to this.


Error:
--------
Failed to collect information about objects on source server
Cause: Command execution failed on the source server 'directadmin' (xxx.xxx.xxx.xxx) with non-zero exit code.
command: /opt/plesk/python/2.7/bin/python /root/plesk_migrator/plesk_migrator-03mbrz0viwc1tgoqgjptz45y4hs7fxvq/agent/main.py
exit code: 1
stdout: [97m[2020-10-28 14:11:47] [0mGetting DirectAdmin config[0m
[97m[2020-10-28 14:11:47] [0mConnecting DirectAdmin database[0m
[97m[2020-10-28 14:11:47] [0mDetermining DirectAdmin database vendor and version[0m

stderr: Traceback (most recent call last):
File "/root/plesk_migrator/plesk_migrator-03mbrz0viwc1tgoqgjptz45y4hs7fxvq/agent/main.py", line 41, in <module>
directadmin_dump = DirectAdminDumper().create_dump()
File "/root/plesk_migrator/plesk_migrator-03mbrz0viwc1tgoqgjptz45y4hs7fxvq/agent/dumper.py", line 38, in create_dump
self._get_mysql_version()
File "/root/plesk_migrator/plesk_migrator-03mbrz0viwc1tgoqgjptz45y4hs7fxvq/agent/dumper.py", line 188, in _get_mysql_version
if 'mariadb' not in source_mysql_version['version']:
TypeError: list indices must be integers, not str

That is a critical error, migration was stopped.


PS: The locale and languages on both the servers ( DA & Plesk ) are en_US.UTF-8.
 
It is caused by Plesk Migrator extension bug PMT-4848, which is fixed in version 2.20.0-936.
Please update the Plesk Migrator extension.
 
Hi Igor,

Thanks!

It's working now.

However, the Plesk Migrator Version is 2.20.1-947, which got released last night. ;)
 
Last edited:
Back
Top