• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Migration from DirectAdmin to Plesk Fails

AK_learner

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