- Plesk Onyx for Linux
- Plesk for Linux
The migration of domain
example.comfails with the following error:
PLESK_ERROR: 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 example.com
exit code: 1
stdout: SELECT su.login FROM sys_users su, hosting h, domains d, domains sd WHERE h.sys_user_id=su.id AND h.dom_id=d.id AND (d.name='example.com' OR d.id=sd.webspace_id AND sd.name='example.com') LIMIT 1
stderr: Error: cagefsctl is already running. please try again later.
ClodLinux OS is installed on the destination server.
This is bug with ID #PMT-4171 which will be fixed in future Plesk Migrator updates.
- Log in to Plesk
- Go to Tools & Settings > Migration & Transfer Manager and Press Re-sync for the subscription example.com.
Or, move the script
PHP_settings_update.py to another directory to bypass this permanently:
Connect to the server via SSH.
Move the CloudLinux script to another directory:
# mv -a /usr/local/psa/var/modules/panel-migrator/events/subscription-migration-finished/PHP_settings_update.py /root/PHP_settings_update.py
Press Re-sync for the subscription
example.comin Plesk > Tools & Settings > Migration & Transfer Manager.