Failed to migrate from cPanel: rsync error: error in rsync protocol data stream (code 12 )

Created:

2017-05-16 18:29:22 UTC

Modified:

2017-08-16 16:29:07 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Failed to migrate from cPanel: rsync error: error in rsync protocol data stream (code 12 )

Applicable to:

  • Plesk for Linux

Note: This article has the reference to the issue with the fix available:

  • #PMT-3558 "Plesk Migrator did not set a password for the source server’s user that it creates for copying content. Some servers’ configurations forbid SSH authorization of such users, thus making copying unavailable."
    Fixed in:
Please consider updating your server:

Symptoms

It is not possible to migrate a subscription.

The following migration log entry can be found under Plesk > Tools&Settings > Migration & Transfer Manager > IP of source server > example.com:

Failed to copy '/home/example' from the source server 'cpanel' (203.0.113.2) 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 example --shell /bin/sh -c '/usr/bin/rsync -e '"'"'ssh -i /var/www/vhosts/example.com/plesk-migrator-key -p 22099 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no'"'"' --recursive --links --times --devices --specials --chmod=Fu=rw,Fgo=r,Du=rwx,Dgo=rx --exclude=/mail --exclude='"'"'/.*'"'"' --exclude=/public_html plesk-migrator-cvbsg4eo6kpekihj@203.0.113.3:/home/acquabou/ /var/www/vhosts/example.com/'

exit code: 12

stdout:

stderr: Warning: Permanently added '[203.0.113.3]:22099' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]rsync error: error in rsync protocol data stream (code 12 ) at io.c(605) [Receiver=3.0.9]

Cause

This is Plesk Migrator bug with ID # PMT-3558 which was fixed in Plesk Migrator 2.9 .

Resolution

Plesk Migrator gets updated automatically, no special actions are required.

Have more questions? Submit a request
Please sign in to leave a comment.