• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Question How to debug migration errors

tkalfaoglu

Silver Pleskian
Hi.. I see this in the logs quite often:

Failed to copy web files for subscription 'xyz.com'
Migration tools tried to perform operation in 3 attempts: Rsync failed to copy files from the source server 'source' (13.18.16.15) to target Plesk server: Command execution failed on the local server with non-zero exit code.
command: umask 022; /usr/bin/rsync -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20220123222236/target-server/ssh-keys/id_rsa.13.11.10.15 -p 1395 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' --timeout=30 --recursive --links --times --devices --specials --owner --group --perms root@15.11.16.5:/var/www/vhosts/system/xyz.com/logs/ /var/www/vhosts/system/xyz.com/logs/
exit code: 11
stdout:
stderr: rsync: mkdir "/var/www/vhosts/system/xyz.com/logs" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(664) [Receiver=3.1.3]
This could happen because of a network connection issue. Run migration for that subscription once more.

Any ideas how to prevent it? Re-running does not seem to help..
Many thanks, -t

PS: All names/IP's scrambled in the above example.
 
What if you try to create this missing /var/www/vhosts/system/xyz.com/logs directory and try to re-sync?
 
Yes, I created a few manually like that.
I also learned to delete the failed subscription from the target server and then re-trying the migration.
otherwise the leftovers also can cause headaches..
 
Back
Top