Articles in this section

Migration of a subscription fails: some files/attrs were not transferred

Plesk for Linux kb: technical ext: migrator ABT: Group B

Applicable to:

  • Plesk for Linux

Symptoms

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
stdout:
stderr:
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]

Cause

Insufficient permissions on some files inside the subscription directory.

Resolution

  1. Connect to the source server via SSH.

  2. 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

  3. Re-sync website files.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.