• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Question Unable to migrate from DirectAdmin on an Ubuntu 20 server.

MarkLFT

New Pleskian
Server operating system version
Ubuntu 20.04.6 LTS
Plesk version and microupdate number
18.0.55
I am looking to move out hosting clients from a DirectAdmin server to a new Plesk installation. However, when I try to use the Migrator, I receive a fatal error stating;

Failed to deploy Python on source server
Cause: Source server OS 'ubuntu 20 x86_64' on the source server 'directadmin' (ip address) is not supported
That is a critical error, migration was stopped.

I have installed version2.24.1-1089 on the Migrator, which appears to be the latest version.

Ubuntu 20 LTS has been out for around 3 years, so I presume if it is not supported by now, it never will be. Is that a fair assumption?

That being the case, other than site by site, email by email, which is not an acceptable solution, how can I migrate those domains?
 
Hi @MarkLFT, thank you for posting. Indeed, the scenario is unsupported. Your options to workaround are to either migrate using YAML or JSON files as described in Migrating From a Linux Server With Custom Hosting or to use the free Website Importer extension Importing Websites. This also adds the email import feature.

I have an extra solution for you, too, that might work. It's not guaranteed, but you could try it:
Edit the file /usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/custom/actions/deploy_migrator_python.py and add this line to the supported Debian/Ubuntu sources:
(OSName.OS_UBUNTU, '20'): ('focal', 'PMM_0.1.11'),

So that the complete block would be
Code:
        debian_oses = {
            (OSName.OS_DEBIAN, '6'): ('squeeze', 'debian/PMM_0.1.10'),
            (OSName.OS_DEBIAN, '7'): ('wheezy', 'debian/PMM_0.1.10'),
            (OSName.OS_DEBIAN, '8'): ('jessie', 'PMM_0.1.11'),
            (OSName.OS_DEBIAN, '9'): ('stretch', 'PMM_0.1.11'),
            (OSName.OS_DEBIAN, '10'): ('buster', 'PMM_0.1.11'),
            (OSName.OS_UBUNTU, '12'): ('precise', 'ubuntu/PMM_0.1.10'),
            (OSName.OS_UBUNTU, '14'): ('trusty', 'ubuntu/PMM_0.1.10'),
            (OSName.OS_UBUNTU, '16'): ('xenial', 'PMM_0.1.11'),
            (OSName.OS_UBUNTU, '18'): ('bionic', 'PMM_0.1.11'),
            (OSName.OS_UBUNTU, '20'): ('focal', 'PMM_0.1.11'),
        }
Now, again, this has not been tested, it's a dirty hack, but you can try it at your own risk.
 
@Peter Debik, many thanks fo the suggestion regarding the adding of focal into the "acceptable" list. I tried this but received a different message. Perhaps you can shed some light on the possible causes.

Failed to deploy Python on source server
Cause: Command execution failed on the local server with non-zero exit code.
command: rsync -l --chmod=Fu=rw,Du=rwx,go= --timeout=30 -e 'ssh -i /home/mark/.ssh/id_rsa -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' /usr/local/psa/var/modules/panel-migrator/sessions/20230831021620/ssh_upload.1 mark@ipdaddress:/etc/apt/sources.list.d/plesk-migrator.list
exit code: 23
stdout:
stderr: rsync: mkstemp "/etc/apt/sources.list.d/.plesk-migrator.list.uFKBwq" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]

That is a critical error, migration was stopped.
 
Here it seems that some permissions are missing on the source server. Are you connecting as "root"? Then all permissions should be present. I suggest to please open a ticket with Plesk support https://support.plesk.com so that they can assist you further.
 
Back
Top