Applicable to:
- Plesk for Linux
Symptoms
-
Migration of a subscription from cPanel to Plesk fails
-
The Plesk Migrator tool reports an error that is similar to the following:
CONFIG_TEXT: 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' (203.0.113.2)) 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/20190919110156/target-server/ssh-keys/id_rsa.203.0.113.2 -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' --archive --timeout=30 --exclude=maildirsize --exclude='.qmail*' --exclude=@attachments/ --exclude=example.com root@203.0.113.2:/home/wwwreach/mail/ /var/qmail/mailnames/example.com/jdoe/Maildir/
exit code: 11
stdout:
stderr: stdin: is not a tty
rsync: mkdir "/var/qmail/mailnames/example.com/jdoe/Maildir" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.1]
Cause
An expected directory is missing on the target Plesk server and prevents the migration from proceeding.
Resolution
-
Connect to the Plesk server via SSH
-
Create the missing directory manually by executing the following command:
# mkdir -p /var/qmail/mailnames/example.com/jdoe/Maildir
-
Re-sync the mail content via the Plesk Migrator by using the information in this article:
How to sync a subscription between source and destination servers after Plesk migration
Additional information
Migrating via the Plesk Interface | Plesk Obsidian documentation
Comments
0 comments
Please sign in to leave a comment.