Unable to repair a domain with a cyrillic name: Failed to perform IDN conversion from UTF-8

Created:

2017-01-25 07:09:06 UTC

Modified:

2017-08-08 13:41:30 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to repair a domain with a cyrillic name: Failed to perform IDN conversion from UTF-8

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux

Symptoms

It is not possible to repair a domain with a cyrillic name using plesk repair utility:

[root@server ~]# plesk repair web пример.рф

Repairing web server configuration
Repairing web server configuration for the domain
пример.рф
....................................................... [2017-01-25 13:42:19] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/httpdmng' '--reconfigure-domain' 'пример.рф'] with exit code [1]
[FAILED]
- httpdmng failed: Failed to perform IDN conversion from UTF-8
name '��.��'

Error messages: 0; Warnings: 0; Errors resolved: 0

exit status 1

Cause

This is Plesk bug with ID #PPPM-5625 which is planned to be fixed in future Plesk updates.

Resolution

As a workaround:

  1. Download attached patch and unpack it:

    # wget https://support.plesk.com/hc/article_attachments/115000915509/PPPM-5625.tar.gz
    # tar -xzvf PPPM-5625.tar.gz
  2. Back up /usr/local/psa/admin/plib/Repair/Web.php file and replace it with patched one:

    # cp -p /usr/local/psa/admin/plib/Repair/Web.php{,_backup} && cp -p /root/Web.php /usr/local/psa/admin/plib/Repair/Web.php

Attachments:

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