• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Plesk Migrator Error !

Master

New Pleskian
Hello, i try to move from cpanel to plesk and i actually have a trial license for test migration...

And when i try to migrate , i get that error :
Failed to perform action: Fetch shallow data from source cPanel
Cause: Error creating migration shallow dump: Command execution failed on the source server 'cpanel' (46.*.***.***) with non-zero exit code.
command: cd /root/plesk_migrator/plesk_migrator-968ag5ahi038hs5tlqhrzxg5iwhbf9wx/pmm_agent; /usr/bin/perl createDump.pl --shallow-dump --configuration-only --server -v 5 > shallow_dump.log 2>&1
exit code: 21
stdout:
stderr:
That is a critical error, migration was stopped.
And the detailed error log:
defined(@array) is deprecated at Dumper.pm line 1272.
(Maybe you should just omit the defined()?)
[23356]: 2021-01-22 18:47:59 DEBUG FileFinder: pwd resolved to /usr/bin/pwd
[23356]: 2021-01-22 18:47:59 DEBUG ------------------------------------------------------------
[23356]: 2021-01-22 18:47:59 DEBUG FILE storage initialized.
[23356]: 2021-01-22 18:47:59 DEBUG Base directory: /root/plesk_migrator/plesk_migrator-968ag5ahi038hs5tlqhrzxg5iwhbf9wx/pmm_agent
[23356]: 2021-01-22 18:47:59 DEBUG Space reserved:
[23356]: 2021-01-22 18:47:59 DEBUG Gzip bundles: no
[23356]: 2021-01-22 18:47:59 DEBUG Bundle split size: do not split
[23356]: 2021-01-22 18:47:59 DEBUG ------------------------------------------------------------
[23356]: 2021-01-22 18:47:59 DEBUG Selected all objects
[23356]: 2021-01-22 18:47:59 ERROR c5bb8881-d22d-4475-8e65-270768252c54 Error: file '/var/cpanel/users/privatealps' is not a text file
Can't use string ("") as a subroutine ref while "strict refs" in use at Dumper.pm line 371.
at Dumper.pm line 371.
Dumper::getClientAccounts('luciakfer23') called at Transformer.pm line 140
Transformer::getClients('luciakfer23') called at Agent.pm line 90
Agent::getClients('luciakfer23') called at Dumper.pm line 2144
Dumper::makeShallowDump('/root/plesk_migrator/plesk_migrator-968ag5ahi038hs5tlqhrzxg5i...') called at createDump.pl line 128
main::main() called at createDump.pl line 172
luciakfer23 is one of my cpanel account.

Someone can help me ?

Thank in advance for your help
 
The JSON module for Perl, which is required by cPanel agent, is missing on the source server.
Connect to the source cPanel server via ssh.
Install the JSON module for Perl:

# yum install cpan

Configure it:

# cpan JSON

Restart the migration.

If the migration fails with the same error, check the solution.
 
Back
Top