Migration fails: Failed to copy web files for subscription

Created:

2016-11-16 12:45:04 UTC

Modified:

2017-08-16 15:46:53 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration fails: Failed to copy web files for subscription

Applicable to:

  • Plesk for Windows

Symptoms

  • Migration fails with the 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' (203.0.113.2)) 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.
  • The following errors can be found in the migration log file:

    +|2016-01-15_09:27:18,259|D|ST1|core|example.com||Command stderr: rsync: failed to connect to 203.0.113.2 (203.0.113.2): 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 203.0.113.2 and client at 203.0.113.3 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@"203.0.113.2":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@"203.0.113.2":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 for Plesk Migrator to establish the connection.

Resolution

Make sure that all necessary ports are opened on source and destination servers according to the Migration Guide .

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