Symptoms
Mail migration using Site Import or Plesk Migrator fails:
# |D|MT|core.cli.common_cli|||Failed to backup message #8 (UID 708) in IMAP folder '"INBOX.Trash"': 'utf-8' codec can't decode byte 0xa3 in position 2406: invalid start byte
=|D|MT|core.cli.common_cli|||
=|D|MT|core.cli.common_cli|||Failed to backup message #11 (UID 711) in IMAP folder '"INBOX.Trash"': 'utf-8' codec can't decode byte 0xb6 in position 3260: invalid start byte
=|D|MT|core.cli.common_cli|||
=|D|MT|core.cli.common_cli|||Failed to backup message #16 (UID 716) in IMAP folder '"INBOX.Trash"': 'utf-8' codec can't decode byte 0xa3 in position 3142: invalid start byte
=|D|MT|core.cli.common_cli|||
=|D|MT|core.cli.common_cli|||That is a critical error, migration was stopped.
+|E|MT|core.cli.common_cli|||Failed to connect to the source server and copy mail messages
=|E|MT|core.cli.common_cli|||Cause: Command execution failed on the local server with non-zero exit code.
Cause
Bug PMT-5354 in Site Import and Plesk Migrator extensions.
The bug was fixed in Site Import 1.8.1 and Plesk Migrator 2.26.1.
Resolution
Update extensions Site Import and/or Plesk Migrator to the latest versions.
Old solution before the updates with the fix were released.
Apply the following product patch using the steps below:
-
Connect to the Plesk server via SSH.
-
Download the patched file in zip:
# wget https://support.plesk.com/hc/en-us/article_attachments/25462725969559/provider.zip
-
Extract the file:
# unzip provider.zip
-
Rename the original file:
# mv /usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/extras/mail-migrator/linux/plesk_mail_migrator/providers/imap/provider.py{,.backup}
-
Move the patched file:
# mv provider.py /usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/extras/mail-migrator/linux/plesk_mail_migrator/providers/imap/
- Rerun the Site import again
Apply the following product patch using the steps below:
-
Connect to the Plesk server via SSH.
-
Download the patched file in zip:
# wget https://support.plesk.com/hc/en-us/article_attachments/25462725969559/provider.zip
-
Extract the file:
# unzip provider.zip
-
Rename the original file:
# mv /usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/extras/mail-migrator/linux/plesk_mail_migrator/providers/imap/provider.py{,.backup}
-
Move the patched file:
# mv provider.py /usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/extras/mail-migrator/linux/plesk_mail_migrator/providers/imap/
- Restart the migration process
Comments
0 comments
Please sign in to leave a comment.