Articles in this section

Failed to convert DNS records for subscription via Plesk Migrator: encoding with 'idna' codec failed (UnicodeError: label empty or too long)

kb: technical Plesk Obsidian

Applicable to:

  • Plesk Obsidian for Linux

Symptoms

  • Plesk migrator logs returns the error:

CONFIG_TEXT: =|2024-11-04_09:35:35,261|I|ST1|core.reports.printer|example.com||`- error: Failed to convert DNS records for subscription 'example.com'
=|2024-11-04_09:35:35,261|I|ST1|core.reports.printer|example.com|| Migration for that subscription is considered completely failed. No further actions are performed for it. 
=|2024-11-04_09:35:35,261|I|ST1|core.reports.printer|example.com|| Migration tools tried to perform operation in 3 attempts: encoding with 'idna' codec failed (UnicodeError: label empty or too long) 
=|2024-11-04_09:35:35,261|I|ST1|core.reports.printer|example.com|| 
=|2024-11-04_09:35:35,292|I|MT|core.reports.printer|||- Client 'john.doe' =|2024-11-04_09:35:35,292|I|MT|core.reports.printer||| | =|2024-11-04_09:35:35,292|I|MT|core.reports.printer|||- Subscription 'example.com' 
=|2024-11-04_09:35:35,292|I|MT|core.reports.printer||| | 
=|2024-11-04_09:35:35,292|I|MT|core.reports.printer||| `- error: Failed to convert DNS records for subscription 'example.com' 
=|2024-11-04_09:35:35,292|I|MT|core.reports.printer||| Migration for that subscription is considered completely failed. No further actions are performed for it. 
=|2024-11-04_09:35:35,292|I|MT|core.reports.printer||| Migration tools tried to perform operation in 3 attempts: encoding with 'idna' codec failed (UnicodeError: label empty or too long) 
+|2024-11-04_09:35:35,295|I|MT|core.reports.printer|||The report was saved into the file /usr/local/psa/var/modules/panel-migrator/sessions/20241103165736/accounts_report_tree.2024-11-04-09-35-07-1 
+|2024-11-04_09:35:35,295|I|MT|core.actions.final_report.print_report||| Summary 
+|2024-11-04_09:35:35,296|I|MT|core.actions.final_report.print_report|||Operation finished successfully for 0 out of 1 subscriptions 
+|2024-11-04_09:35:35,296|E|MT|core.actions.final_report.print_report|||Failed to perform operation on 1 subscription(s): 'example.com'

  • On Source server, the DNS zone shows a record with . as value:
mail.example.com IN MX 0 .

Cause

Incorrect DNS record on the source Server breaking the domain migration to destination server

Resolution

  1. Log into Plesk (to source server)
  2. Go to Domains > example.com > Hosting & DNS > DNS menu
  3. Correct/remove the incorrect DNS Record
  4. Under Plesk Migrator on Destination server, click on "select subscriptions to migrate", select the affected domain/subscription and then migrate again
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.