Symptoms
-
Migration from cPanel fails with the following error message in Plesk:
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
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
-
Connect to a cPanel server via SSH.
-
Create the file /var/cpanel/accts.db:
# touch /var/cpanel/accts.db
- Log into Plesk on the target server.
-
Go to Tools and Settings > Migration and Transfer Manager and restart the migration.