Articles in this section

Unable to start migration from cPanel to Plesk: Error creating migration dump: Command execution failed on the source server 'cpanel'

Plesk for Linux kb: technical ext: migrator ABT: Group B

Applicable to:

  • Plesk for Linux

Symptoms

  • Migration from cPanel fails with the following error message in Plesk:

    PLESK_ERROR: Error creating migration dump: Command execution failed on the source server 'cpanel' (203.0.113.2) with non-zero exit code.
    command: cd /root/plesk_migrator/plesk_migrator-ni33uv1qmb1ekoe8u6ohbo7wmsgv5oe5/pmm_agent; /usr/bin/perl createDump.pl --dump-all --configuration-only --server -v 5 > dump.log 2>&1
    exit code: 2 

  • The following error message appears in /usr/local/psa/var/modules/panel-migrator/sessions/time_stamp/pmm-agent.time_stamp/configuration-dump.log

    CONFIG_TEXT: Error: file '/var/cpanel/accts.db' is not a text file

Cause

The file /var/cpanel/accts.db does not exit on the cPanel server.

Resolution

  1. Connect to a cPanel server via SSH.

  2. Create the file /var/cpanel/accts.db:

    # touch /var/cpanel/accts.db

  3. Log into Plesk on the target server.
  4. Go to Tools and Settings > Migration and Transfer Manager and restart the migration.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.