TomP
Basic Pleskian
I have several sites being migrated from Centos 5.9; Plesk 11.0.9 to a new CentOS Linux 7.3.1611; Plesk Onyx 17.0.17. I ended up with a common error from all the Drupal sites.
I set the Drupal sites up on the old server using a multi site setup that shares a single Drupal installation. The individual site files are under a single directory for each website. In plesk I had to set each user as their own site, then I symlinked their httpdocs dir to the httpdocs in the shared Drupal installation. (hopefully that makes sense)
After running the migration I got the same error for each of the sites:
Failed to copy web files for subscription 'websitename.com'
Migration tools tried to perform operation in 3 attempts: Rsync failed to copy files from the source (the source server 'source' (xxx.xx.165.50)) to the target server (target Plesk server): Command execution failed on the local server with non-zero exit code.
command: /usr/bin/rsync -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20170110102734/target-server/ssh-keys/id_rsa.xxx.xx.165.50 -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' --archive --exclude=/logs --exclude=/conf --exclude=/statistics --exclude=/pd --exclude=/bin --exclude=/dev --exclude=/lib --exclude=/lib64 --exclude=/usr --exclude=/libexec --exclude=/etc --exclude=/tmp --exclude=/var [email protected].165.50:/var/www/vhosts/websitename.com/ /var/www/vhosts/websitename.com/
exit code: 23
stdout: cannot delete non-empty directory: httpdocs
stderr: could not make way for new symlink: httpdocs
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518) [generator=3.0.9]
The xxx.xx.165.50 is the IP for the old server. Does this sound familiar to anyone? Thanks
I set the Drupal sites up on the old server using a multi site setup that shares a single Drupal installation. The individual site files are under a single directory for each website. In plesk I had to set each user as their own site, then I symlinked their httpdocs dir to the httpdocs in the shared Drupal installation. (hopefully that makes sense)
After running the migration I got the same error for each of the sites:
Failed to copy web files for subscription 'websitename.com'
Migration tools tried to perform operation in 3 attempts: Rsync failed to copy files from the source (the source server 'source' (xxx.xx.165.50)) to the target server (target Plesk server): Command execution failed on the local server with non-zero exit code.
command: /usr/bin/rsync -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20170110102734/target-server/ssh-keys/id_rsa.xxx.xx.165.50 -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' --archive --exclude=/logs --exclude=/conf --exclude=/statistics --exclude=/pd --exclude=/bin --exclude=/dev --exclude=/lib --exclude=/lib64 --exclude=/usr --exclude=/libexec --exclude=/etc --exclude=/tmp --exclude=/var [email protected].165.50:/var/www/vhosts/websitename.com/ /var/www/vhosts/websitename.com/
exit code: 23
stdout: cannot delete non-empty directory: httpdocs
stderr: could not make way for new symlink: httpdocs
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518) [generator=3.0.9]
The xxx.xx.165.50 is the IP for the old server. Does this sound familiar to anyone? Thanks