- Plesk for Linux
Migration of one of the subscriptions on CloudLinux as a target server fails with the following error message:
CONFIG_TEXT: [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
stderr: Error: No domain 'exämple.de' found in Plesk DB
Non-ASCII domain names are incorrectly processed by
PHP_settings_update.py script provided by CloudLinux inc.
- Connect to the server via SSH;
- Change PHP_settings_update.py with the fixed version of the script attached to the article using commands below:
# mkdir PHP_settings_update; cd PHP_settings_update
# wget https://support.plesk.com/hc/en-us/article_attachments/115000442753/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