Articles in this section

Mail migration to Plesk using Site Import or Plesk Migrator fails: 'utf-8' codec can't decode byte 0xfc in position 828: invalid start byte

kb: bug Plesk for Linux ext: migrator

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.

Solution for Site Import

Apply the following product patch using the steps below:

  1. Connect to the Plesk server via SSH.

  2. Download the patched file in zip:

    # wget https://support.plesk.com/hc/en-us/article_attachments/25462725969559/provider.zip

  3. Extract the file:

    # unzip provider.zip

  4. 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}

  5. 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/

  6. Rerun the Site import again
Solution for Plesk Migrator

Apply the following product patch using the steps below:

  1. Connect to the Plesk server via SSH.

  2. Download the patched file in zip:

    # wget https://support.plesk.com/hc/en-us/article_attachments/25462725969559/provider.zip

  3. Extract the file:

    # unzip provider.zip

  4. 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}

  5. 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/

  6. Restart the migration process
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.