Migration of mail content from cPanel to Plesk failed: rsync change_dir error No such file or directory

Created:

2016-12-12 03:41:38 UTC

Modified:

2017-08-16 17:34:20 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Migration of mail content from cPanel to Plesk failed: rsync change_dir error No such file or directory

Applicable to:

  • Plesk 12.5 for Linux

Note: This article has the reference to the issue with the fix available:

  • #PMT-3212 "Migration of mail content from cPanel failed, if the home directory on source was different from /var/home/"
    Fixed in:
Please consider updating your server:

Symptoms

Mail content can not be migrated with error:

[Sync content] Failed to copy mail content of subscription. Most probably that happens because of a network-related issue. Check network connections between source and target servers, then run migration for that subscription once more.
Migration tools tried to perform operation in 3 attempts: Rsync failed to copy mail content from the source (the source server 'cpanel' (192.0.2.2)) to the target server (target Plesk server): Command execution failed on the local server with non-zero exit code.
command: /usr/bin/rsync -a -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20161018120203/target-server/ssh-keys/id_rsa.192.0.2.2 -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' '***hidden***' maildirsize --exclude '.qmail*' --exclude @attachments/ --exclude example.com root@203.0.113.2:/home/example/mail/ /var/qmail/mailnames/example.com/example/Maildir/
exit code: 23
stdout:
stderr: stdin: is not a tty
rsync: change_dir "/home/example/mail" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1655) [Receiver=3.1.1]

Directory for user data is customized on the source server with cPanel, e.g. /var/home/ . By default, cPanel stores user's data under /home/ directory .

Cause

This is Plesk bug with ID #PMT-3212 which was fixed in Plesk Migrator 2.9 .

Resolution

Plesk Migrator is updated automatically, no special actions are required.

Have more questions? Submit a request
Please sign in to leave a comment.