• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Plesk Migration Error

heopas

New Pleskian
The following error appear when i try to migrate from a cpanel server
Code:
Failed to perform action: Fetch data from source cPanel
Cause: Error creating migration dump: Command execution failed on the source server 'cpanel' (HIDE-IP) with non-zero exit code.
command: cd /root/plesk_migrator/plesk_migrator-palnsof9totbv24vxv9qrxgl8bb7wft7/pmm_agent; /usr/bin/perl createDump.pl --dump-all --configuration-only --server -v 5 > dump.log 2>&1
exit code: 2
stdout:
stderr:
That is a critical error, migration was stopped.
Detailed log:
Code:
[31954]: 2018-01-25 14:18:57 ERROR e53a3a33-0b3d-492d-8a5f-15b4a61d7a77 Error: file '/var/cpanel/accts.db' is not a text file
Can't use string ("") as a subroutine ref while "strict refs" in use at Dumper.pm line 758.
 at Dumper.pm line 758.
    Dumper::getIp('bookmarking-fox.win', 'HASH(0x27f8ed8)') called at Dumper.pm line 707
    Dumper::makeAccountNode('bookmarkingfox', undef, undef, 'shallow_mode') called at Transformer.pm line 100
    Transformer::initialize() called at Transformer.pm line 140
    Transformer::getDomains('gotodevryu') called at Agent.pm line 107
    Agent::getDomains('gotodevryu') called at DumpComposer.pm line 350
    DumpComposer::getAllDomains() called at DumpComposer.pm line 153
    DumpComposer::makeDump('/root/plesk_migrator/plesk_migrator-ncyvpqzfyniblg3x31yu68asd...', undef, undef, undef, 1, undef, undef, undef) called at createDump.pl line 96
    main::main() called at createDump.pl line 115
 
Please check that file /var/cpanel/accts.db is really exists. If not - just create an empty file and repeat migration.
 
I have the problem and fixed it.
Cause: Some domains were missing from cpanel apache httpd.conf for an uknown reason.
Fix: run cpanel httpd.conf rebuild script
 
Back
Top