- Plesk for Linux
Migration of a subscription fails with the following error message in Plesk Migrator:
PLESK_INFO: Failed to copy '/var/www/web/files' from the source server 'confixx' (203.0.113.2) to target Plesk server
exit code: 23
rsync: opendir "/var/www/web/files/folder" failed: Permission denied (13)
rsync: send_files failed to open "/var/www/web/files/file1.jpg": Permission denied (13)
rsync: send_files failed to open "/var/www/web/files/file2.jpg": Permission denied (13)
rsync: send_files failed to open "/var/www/web/files/file3.jpg": Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1650) [generator=3.1.2]
Insufficient permissions on some files inside the subscription directory.
Connect to the source server via SSH.
Set the following permissions on the files/directories that are mentioned in the error message in Plesk Migrator:
644 for files
# chmod 644 /var/www/web/files/file1.jpg /var/www/web/files/file2.jpg /var/www/web/files/file3.jpg
755 for directories
# chmod 755 /var/www/web/files/folder
Re-sync website files.