Articles in this section

Migration of subscription fails: cagefsctl is already running. please try again later

kb: bug Plesk for Linux

Applicable to:

  • Plesk for Linux

Symptoms

  • The migration of domain example.com fails 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.

  • 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

  1. Log in to Plesk
  2. 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:

  1. Connect to the server via SSH.

  2. Move the CloudLinux script to another directory:

    # mv /usr/local/psa/var/modules/panel-migrator/events/subscription-migration-finished/PHP_settings_update.py /root/PHP_settings_update.py

  3. Press Re-sync for the subscription example.com in Plesk > Tools & Settings > Migration & Transfer Manager.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.