Migration of subscription to CloudLinux fails to run custom scripts for domain with UTF-8 symbols

Created:

2017-04-21 07:05:23 UTC

Modified:

2017-08-08 13:22:27 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration of subscription to CloudLinux fails to run custom scripts for domain with UTF-8 symbols

Applicable to:

  • Plesk for Linux

Symptoms

Migration of one of the subscriptions on CloudLinux as a target server fails with the following error message:

[01 Jan 17 00:00:01] [Migration] Failed to run custom scripts on subscription migration finished event 
Migration tools tried to perform operation in 3 attempts: Command execution failed on the local server with non-zero exit code. 
command: /usr/local/psa/var/modules/panel-migrator/events/subscription-migration-finished/PHP_settings_update.py 'exämple.de' 
exit code: 1 
stdout: 
stderr: Error: No domain 'exämple.de' found in Plesk DB 

Cause

Non-ASCII domain names are incorrectly processed by PHP_settings_update.py script provided by CloudLinux inc.

Resolution

Use fixed version of the script attached to the article:


# mkdir PHP_settings_update; cd PHP_settings_update 
# wget https://support.plesk.com/hc/en-us/article_attachments/115003688025/PHP_settings_update.zip
# unzip PHP_settings_update.zip
# cp /usr/local/psa/var/modules/panel-migrator/events/subscription-migration-finished/PHP_settings_update.py ./PHP_settings_update.py.backup
# mv PHP_settings_update.py /usr/local/psa/var/modules/panel-migrator/events/subscription-migration-finished/PHP_settings_update.py
# chmod +x
/usr/local/psa/var/modules/panel-migrator/events/subscription-migration-finished/PHP_settings_update.py

Attachments:

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