• 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.

Resolved DirectAdmin to Plesk Migration Problem

Ebrahim A. Senejani

New Pleskian
Issues with subscription xyz.com
subscription-status-warning.png
[9 Apr 17 13:49:32] [Migration] Plesk restore report problem:
Deployer has been terminated by exception:
Line 29 error: Element 'dnsrec', attribute 'type': [facet 'enumeration'] The value '' is not an element of the set {'A', 'AAAA', 'NS', 'MX', 'CNAME', 'PTR', 'TXT', 'master', 'SRV', 'AXFR', 'DS'}.

Line 29 error: Element 'dnsrec', attribute 'type': '' is not a valid value of the local atomic type.
subscription-status-error.png
[9 Apr 17 13:49:32] [Migration] Failed to copy '/home/xyz' from the source server 'directadmin' (DirectAdmin_IP) to target Plesk server
Migration tools tried to perform operation in 3 attempts.
----------------------------------------------------------------------------
Attempt #1 failed with the following error:
Command execution failed on the local server with non-zero exit code.
command: su xyz --shell /bin/sh -c '/usr/bin/rsync -e '"'"'ssh -i /var/www/vhosts/xyz.com/plesk-migrator-key -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no'"'"' --recursive --links --times --devices --specials --chmod=Fu=rw,Fgo=r,Du=rwx,Dgo=rx --exclude='"'"'/.*'"'"' --exclude=/Maildir --exclude=/imap plesk-migrator-aqkqwymb4j88ss5q@[DirectAdmin_IP]:/home/xyz/ /var/www/vhosts/xyz.com/'
exit code: 255
stdout:
stderr: Warning: Permanently added '[DirectAdmin_IP]' (RSA) to the list of known hosts.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.1]

----------------------------------------------------------------------------
Attempt #2 failed with the following error:
Command execution failed on the local server with non-zero exit code.
command: su xyz --shell /bin/sh -c '/usr/bin/rsync -e '"'"'ssh -i /var/www/vhosts/xyz.com/plesk-migrator-key -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no'"'"' --recursive --links --times --devices --specials --chmod=Fu=rw,Fgo=r,Du=rwx,Dgo=rx --exclude='"'"'/.*'"'"' --exclude=/Maildir --exclude=/imap plesk-migrator-aqkqwymb4j88ss5q@[DirectAdmin_IP]:/home/xyz/ /var/www/vhosts/xyz.com/'
exit code: 255
stdout:
stderr: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.1]

----------------------------------------------------------------------------
Attempt #3 failed with the following error:
Command execution failed on the local server with non-zero exit code.
command: su xyz --shell /bin/sh -c '/usr/bin/rsync -e '"'"'ssh -i /var/www/vhosts/xyz.com/plesk-migrator-key -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no'"'"' --recursive --links --times --devices --specials --chmod=Fu=rw,Fgo=r,Du=rwx,Dgo=rx --exclude='"'"'/.*'"'"' --exclude=/Maildir --exclude=/imap plesk-migrator-aqkqwymb4j88ss5q@[DirectAdmin_IP]:/home/xyz/ /var/www/vhosts/xyz.com/'
exit code: 255
stdout:
stderr: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.1]
 
Hello Ebrahim,

1. Could you please provide content of DNS zone of domain xyz.com.
Please execute on Directadmin server:
Code:
cat /var/named/xyz.com.db

2. Ensure that the /etc/ssh/sshd_config on Directadmin server contains the following lines, and that they are uncommented;
Code:
PubkeyAuthentication yes
RSAAuthentication yes
 
Hi Peon,
Thanks for your reply.

1.
root@LinPlesk:~# cat /var/named/run-root/var/xyz.com
; *** This file is automatically generated by Plesk ***
$TTL 86400

@ IN SOA ns2.xyz.com. info.xyz.com. (
2017040706 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
10800 ) ; Minimum

xyz.com. IN NS ns2.xyz.com.
xyz.com. IN NS ns1.xyz.com.
ipv4.xyz.com. IN A [Plesk_Server_IP]
mail.xyz.com. IN A [Plesk_Server_IP]
webmail.xyz.com. IN A [Plesk_Server_IP]
xyz.com. IN A [Plesk_Server_IP]
ns2.xyz.com. IN A [Plesk_Server_IP]
ns1.xyz.com. IN A [Plesk_Server_IP]
ftp.xyz.com. IN CNAME xyz.com.
www.xyz.com. IN CNAME xyz.com.
xyz.com. IN MX 10 mail.xyz.com.
_dmarc.xyz.com. IN TXT "v=DMARC1; p=none"
xyz.com. IN TXT "v=spf1 +a +mx +a:LinPlesk.[Plesk_Server_HostName] -all"


2. Only "RSAAuthentication yes" was commented and I uncommented it and restarated the SSH Service.

But the problem still exists.
 
Hello!
1. Problem with ssh connection could be solved by adding string
AllowUsers plesk-migrator-*
to sshd_config

2. Warning about wrong records in DNS zone will be fixed in nearest update, internal bugs ids are PMT-3600
 
Back
Top