• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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