Migration fails: Failed to copy web files for subscription

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 12.5 for Windows

Created:

2016-11-16 12:45:04 UTC

Modified:

2016-12-21 19:07:44 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration fails: Failed to copy web files for subscription

Symptoms

  • Migration fails with error:

    |- error: Failed to copy web files for subscription 'example.com'
    | Migration tools tried to perform operation in 3 attempts: Rsync failed to copy files from the source (the source server 'source' (1.1.1.1)) to the target server (target Plesk server):
    | This could happen because of a network connection issue.
    | Retry copying the files with the help of the "copy-content" command.
  • Following error in migation log:

    +|2016-01-15_09:27:18,259|D|ST1|core|example.com||Command stderr: rsync: failed to connect to 1.1.1.1 (1.1.1.1): Connection timed out (116)
    =|2016-01-15_09:27:18,259|D|ST1|core|example.com||rsync error: error in socket IO (code 10) at clientserver.c(128) [Receiver=3.1.1]
    =|2016-01-15_09:27:18,259|D|ST1|core|example.com||
    +|2016-01-15_09:27:18,259|D|ST1|core|example.com||Command exit code: 10
    +|2016-01-15_09:27:18,259|E|ST1|core.windows_rsync|example.com||Interaction via rsync with server at 1.1.1.1 and client at 2.2.2.2 was failed, retry in 10 seconds
    +|2016-01-15_09:27:28,275|D|ST1|core.run_command|example.com||Execute a command on local server: 'cmd /c "set RSYNC_PASSWORD=PASSWORD"d:\\Plesk\\DATA\\var\\modules\\panel-migrator\\sessions\\20160115091625\ arget-server\\rsync\\bin\\panel-migrator-rsync.exe" --no-perms -t -r rsync://admin@"1.1.1.1":10156/"vhosts/example.com/" "/cygdrive/d/Plesk/VHOSTS/example.com"" --exclude /statistics --exclude /subdomains --exclude /.Security'
    +|2016-01-15_09:27:28,275|D|ST1|core|example.com||Call local command: cmd /c "set RSYNC_PASSWORD=PASSWORD"d:\\Plesk\\DATA\\var\\modules\\panel-migrator\\sessions\\20160115091625\ arget-server\\rsync\\bin\\panel-migrator-rsync.exe" --no-perms -t -r rsync://admin@"1.1.1.1":10156/"vhosts/example.com/" "/cygdrive/d/Plesk/VHOSTS/example.com"" --exclude /statistics --exclude /subdomains --exclude /.Security
    +|2016-01-15_09:27:49,335|D|ST1|core|example.com||Command stdout:

Cause

Not all required ports are opened to establish the connection by migrator.

Resolution

Please make sure all necessary ports are opened on both Source and Destination servers according to Migration guide .

Try to disable Firewall on source server.

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