- Plesk Onyx for Linux
Website files re-sync during migration from Ensim to Plesk fails with the error:
CONFIG_TEXT: Failed to copy '/home/virtual/example.com/var/www/html' from the source server 'ppcpl' (203.0.113.2) to target Plesk server
Migration tools tried to perform operation in 3 attempts: 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.net/plesk-migrator-key -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no'"'"' --timeout=30 --recursive --links --times --devices --specials --chmod=Fu=rw,Fgo=r,Du=rwx,Dgo=rx firstname.lastname@example.org:/home/virtual/example.com/var/www/html/ /var/www/vhosts/example.com/httpdocs/'
exit code: 3
stderr: rsync: ERROR: cannot stat destination "/var/www/vhosts/examle.com/httpdocs/": Permission denied (13)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(635) [Receiver=3.1.2]
The following warning presents in the beginning of the subscription migration:
CONFIG_TEXT: Unable to restore the original username for the system user of the subscription example.com: a system user named example is already present on target panel. For this reason, the subscription owner will not be able to log in to FTP under the original username.
Notify the subscription owner of the new FTP username: sub_7999077750. The subscription owner can change this username on target panel.
There was migration of another subscription before attempt to re-sync content.
This is a Plesk Migrator bug with ID #PMT-4657 which is planned to be fixed in one of the future product updates.
To re-sync website content when after subscription migration some another subscription has been migrated use the following workaround and re-sync files together with business objects:
Go to Tools & Settings > Migration & Transfer Manager > click on active migration session > Click [Re-sync] against the failed subscription and select the following options:
- Re-sync business objects
- Re-sync website files
Note: If there were no other subscriptions migrated after the one that requires a re-sync, then re-sync of files can be performed without business objects.