Unable to start migration from DirectAdmin: UnicodeEncodeError: 'ascii' codec can't encode characters in position

Created:

2017-03-10 18:43:15 UTC

Modified:

2017-08-18 03:09:22 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to start migration from DirectAdmin: UnicodeEncodeError: 'ascii' codec can't encode characters in position

Applicable to:

  • Plesk for Linux

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

Please consider updating your server:

Symptoms

It is not possible to start a migration from DirectAdmin, the following error is shown during "Collect information about objects on source server" stage:

stderr: Traceback (most recent call last): File "/tmp/agent/directadmin.py", line 1662, in panel_dump = get_dump() File "/tmp/agent/directadmin.py", line 1631, in get_dump show_warnings(warnings) File "/tmp/agent/directadmin.py", line 162, in show_warnings print warning["color"] + warning["text"] + Color.default UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-28: ordinal not in range(128)

Cause

This is Plesk Migrator bug with ID #PMT-3540 which is planned to be fixed in future Plesk Migrator updates.

Resolution

As a workaround replace /usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/directadmin/agent/directadmin.py file with attached one.

Attachments:

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