• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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