Symptoms
-
The migration of domain
example.com
fails with the following 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. -
CloudLinux OS is installed on the destination server.
Cause
This is bug with ID #PMT-4171 which will be fixed in future Plesk Migrator updates.
Resolution
- Log in to Plesk
- Go to Tools & Settings > Migration & Transfer Manager and Press Re-sync for the subscription example.com.