• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Resolved Migration error from Debian to Ubuntu

alelar

New Pleskian
Server operating system version
Ubuntu 20
Plesk version and microupdate number
18.0.43
I have this error when i try to migrate my site from an old Debian 10 to a new VPS with Ubuntu 20.

Failed to fetch basic information about resellers, clients and domains data from source servers
Cause: Command execution failed on the local server with non-zero exit code.
command: rsync -r --chmod=Fu=r,Du=rwx,go= --timeout=30 -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20220427162620/ssh-keys/id_rsa.XXX.XXX.XXX.XXX -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' /usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/legacy/extras/plesk_17_0_pmm_shared/ [email protected]:/tmp/plesk_migrator-nrtetuj6lu92s30sixk33v70a11u4v3u/pmm_agent
exit code: 255
stdout:
stderr: [email protected]: Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.3]

That is a critical error, migration was stopped.

Thanks for helping me.
 
Your new server is unable to log in via SSH to the source server.
Check the contents of /var/log/auth.log on the source server to see why the SSH connection failed, there could be multiple reasons: Wrong password or SSH key supplied, root login disabled etc.

You can easily test it by doing ssh [email protected] on your new server (where xxx.xxx.xxx.xxx = IP of the old server).
 
nothing in /var/log/auth.log
Apr 27 18:10:01 vmi837026 CRON[1720291]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 27 18:10:01 vmi837026 CRON[1720289]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 27 18:10:01 vmi837026 CRON[1720290]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 27 18:10:01 vmi837026 CRON[1720292]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 27 18:10:01 vmi837026 CRON[1720292]: pam_unix(cron:session): session closed for user root
Apr 27 18:10:01 vmi837026 CRON[1720290]: pam_unix(cron:session): session closed for user root
Apr 27 18:10:01 vmi837026 CRON[1720289]: pam_unix(cron:session): session closed for user root
Apr 27 18:10:01 vmi837026 CRON[1720291]: pam_unix(cron:session): session closed for user root
 
On old server i have
Apr 27 18:14:50 naughty-hamilton sshd[21964]: Authentication refused: bad ownership or modes for directory /root
Apr 27 18:14:50 naughty-hamilton sshd[21964]: Authentication refused: bad ownership or modes for directory /root
Apr 27 18:14:54 naughty-hamilton sshd[21964]: Accepted password for root from 38.XXX port 37520 ssh2
Apr 27 18:14:54 naughty-hamilton sshd[21964]: pam_unix(sshd:session): session opened for user root by (uid=0)
Apr 27 18:14:54 naughty-hamilton systemd-logind[444]: New session 283 of user root.
Apr 27 18:14:54 naughty-hamilton systemd: pam_unix(systemd-user:session): session opened for user root by (uid=0)
Apr 27 18:15:24 naughty-hamilton sshd[21992]: Accepted password for root from 38.XXX port 37630 ssh2
Apr 27 18:15:24 naughty-hamilton sshd[21992]: pam_unix(sshd:session): session opened for user root by (uid=0)
Apr 27 18:15:24 naughty-hamilton systemd-logind[444]: New session 285 of user root.
Apr 27 18:15:24 naughty-hamilton sshd[21992]: pam_unix(sshd:session): session closed for user root
Apr 27 18:15:24 naughty-hamilton systemd-logind[444]: Session 285 logged out. Waiting for processes to exit.
Apr 27 18:15:24 naughty-hamilton systemd-logind[444]: Removed session 285.
Apr 27 18:15:24 naughty-hamilton sshd[21999]: Accepted password for root from 38.XXX port 37636 ssh2
Apr 27 18:15:24 naughty-hamilton sshd[21999]: pam_unix(sshd:session): session opened for user root by (uid=0)
Apr 27 18:15:24 naughty-hamilton systemd-logind[444]: New session 286 of user root.
Apr 27 18:15:27 naughty-hamilton sshd[22029]: Authentication refused: bad ownership or modes for directory /root
Apr 27 18:15:27 naughty-hamilton sshd[22029]: Authentication refused: bad ownership or modes for directory /root
Apr 27 18:15:27 naughty-hamilton sshd[22029]: Connection closed by authenticating user root 38.XXX port 37646 [preauth]
Apr 27 18:15:28 naughty-hamilton sshd[21999]: pam_unix(sshd:session): session closed for user root
Apr 27 18:15:28 naughty-hamilton systemd-logind[444]: Session 286 logged out. Waiting for processes to exit.
Apr 27 18:15:28 naughty-hamilton systemd-logind[444]: Removed session 286.
 
Back
Top