• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Issue Plesk Migrator failed to perform action with cfreateDump.pl

Zolive

New Pleskian
Server operating system version
AlmaLinux 9.6 (Sage Margay)
Plesk version and microupdate number
Plesk Obsidian 18.0.70 Web Pro Edition



Hi everybody,

I have a weird issue with plesk migrator. First of all, I did successfully transfered 26 accounts from cpanel to plesk 4 months ago. I wanted to finish by a huge web app yesterday.

Unfortunately, I have the following message :
Code:
Failed to perform action: Fetch data from source cPanel

Cause: Error creating migration dump: Command execution failed on the source server 'cpanel' (37.187.252.107) with non-zero exit code.
command: cd /root/plesk/plesk_migrator-is0dvsq0q4fgeqylpqug46an2cfhoigf/pmm_agent; /usr/bin/perl createDump.pl --dump-domains=lebacchusdessucs.com --dump-clients=lebacchusdessucs --configuration-only --server -v 5 > dump.log 2>&1
exit code: 2
stdout:
stderr:
That is a critical error, migration was stopped.

The connexion to the cpanel server is working. I can reach the accounts left. When I select an account to migrate, this error message is displayed and the migration is blocked.
So I tried to re-install plesk migrator, no success. I went further, and apparently on the plesk server I should have pmm_agent installed and trying to generate a createDump.pl file. Not working.

Next step, I checked the chmod on cpanel, it seems to be ok : drwx------ 8 root root ... I tried agin, still the same message. So, if you have any clue on how to solve this issue, it will be very helpfull.

Thanks.
 
Hello, @Zolive . Could you please check the corresponding /usr/local/psa/var/modules/panel-migrator/sessions/time_stamp/pmm-agent.time_stamp/configuration-dump.log file to the time of the failure and let us know what additional details are logged?
 
Hi @Sebahat.hadzhi

Thanks for your help. I have not found any configuration-dump.log. Instead, there are shallow-dump.log with xml code in it. Connexion is working with the cpanel server, but no information about what is wrong afterwards. Here is what I have in the migration log

2025-06-01 19:07:28Migrator execution
log-collapse-icon.gif

Execute command: transfer-accounts
2025-06-01 19:07:28Info
log-collapse-icon.gif

START: Check if migration list file exists
2025-06-01 19:07:28Info

FINISH: Check if migration list file exists
2025-06-01 19:07:28Info
log-collapse-icon.gif

START: Check connections
2025-06-01 19:07:30Info

FINISH: Check connections
2025-06-01 19:07:30Info
log-collapse-icon.gif

START: Read migration list
2025-06-01 19:07:30Info

FINISH: Read migration list
2025-06-01 19:07:30Info

Read IP mapping file
2025-06-01 19:07:30Info

START: Fetch information from source panel
2025-06-01 19:07:33Error

Failed to perform action: Fetch data from source cPanelCause: Error creating migration dump: Command execution failed on the source server 'cpanel' (37.187.252.107) with non-zero exit code.command: cd /root/plesk/plesk_migrator-231splxatkf6gzwzh5uf0b315eiwl8uq/pmm_agent; /usr/bin/perl createDump.pl --dump-domains=lebacchusdessucs.com --dump-clients=lebacchusdessucs --configuration-only --server -v 5 > dump.log 2>&1exit code: 2stdout: stderr: That is a critical error, migration was stopped.
 
Thank you for the update. What do you see when you list /usr/local/psa/var/modules/panel-migrator/sessions/ please? The error provided could result from a broad range of issues and it is difficult to point out what exactly is causing it without additional details.
 
I tried to reinstall plesk migrator, still not working. When I list the folder, there is a timestamp folder :20250601193235
Now I have found the configuration-dump.log

configuration-dump.log
[root@plesk pmm-agent.2025.06.01.19.33.04]# nano configuration-dump.log
[root@plesk pmm-agent.2025.06.01.19.33.04]# cat configuration-dump.log
[2005713]: 2025-06-01 17:33:08 DEBUG FileFinder: pwd resolved to /usr/bin/pwd
[2005713]: 2025-06-01 17:33:08 DEBUG ------------------------------------------------------------
[2005713]: 2025-06-01 17:33:08 DEBUG FILE storage initialized.
[2005713]: 2025-06-01 17:33:08 DEBUG Base directory: /root/plesk/plesk_migrator-x7faknneduxtev7wdloc9032xylbj0qx/pmm_agent
[2005713]: 2025-06-01 17:33:08 DEBUG Space reserved:
[2005713]: 2025-06-01 17:33:08 DEBUG Gzip bundles: no
[2005713]: 2025-06-01 17:33:08 DEBUG Bundle split size: do not split
[2005713]: 2025-06-01 17:33:08 DEBUG ------------------------------------------------------------


[2005713]: 2025-06-01 17:33:08 DEBUG Selected resellers:
[2005713]: 2025-06-01 17:33:08 DEBUG ------------------------------------------------------------
[2005713]: 2025-06-01 17:33:08 DEBUG Migration status reporting initialized.
[2005713]: 2025-06-01 17:33:08 DEBUG Status file: /root/plesk/plesk_migrator-x7faknneduxtev7wdloc9032xylbj0qx/pmm_agent/dumping-status.xml
[2005713]: 2025-06-01 17:33:08 DEBUG ------------------------------------------------------------
[2005713]: 2025-06-01 17:33:08 DEBUG Reading feature list: default
[2005713]: 2025-06-01 17:33:08 DEBUG Feature list 'default' is read
[2005713]: 2025-06-01 17:33:08 DEBUG Reading feature list: disabled
[2005713]: 2025-06-01 17:33:08 DEBUG Feature list 'disabled' is read
[2005713]: 2025-06-01 17:33:08 DEBUG Reading feature list: Mail Only
[2005713]: 2025-06-01 17:33:08 DEBUG Feature list 'Mail Only' is read
[2005713]: 2025-06-01 17:33:08 DEBUG Apply disabled feature list
[2005713]: 2025-06-01 17:33:08 DEBUG Apply default feature list






[2005713]: 2025-06-01 17:33:08 DEBUG FileFinder: find resolved to /usr/bin/find










[2005713]: 2025-06-01 17:33:08 DEBUG Quota for 'contact' is set to 1073741824.


[2005713]: 2025-06-01 17:33:08 DEBUG FileFinder: mariadb resolved to
[2005713]: 2025-06-01 17:33:08 DEBUG FileFinder: psql resolved to
[2005713]: 2025-06-01 17:33:08 DEBUG Cannot connect to postgresql
[2005713]: 2025-06-01 17:33:08 DEBUG Connection to postgresql is not valid
Can't use string ("0") as a HASH ref while "strict refs" in use at Dumper.pm line 1229.
at Dumper.pm line 1229.
Dumper::getMysqlDataDir(0) called at Dumper.pm line 1180
Dumper::addMySQLDatabases(XmlNode=HASH(0x5639eb42eba8), "") called at Dumper.pm line 1124
Dumper::addDatabases(XmlNode=HASH(0x5639eb42eba8), "") called at Dumper.pm line 997
Dumper::makeDomainNode("lebacchusdessucs.com", "", undef) called at Dumper.pm line 743
Dumper::makeAccountNode("", undef, undef, undef) called at Transformer.pm line 488
Transformer::getClientNode4Domain(".com") called at Agent.pm line 117
Agent::getDomain(".com", "recursive", undef, undef, HASH(0x5639eb200848)) called at DumpComposer.pm line 395
DumpComposer::makeDomainNode(".com", 1, undef, undef, undef) called at Dumper.pm line 2453
Dumper::getDomainsNode("", ARRAY(0x5639eb2b26b8), 1, undef, undef, undef) called at Dumper.pm line 2402
Dumper::getClientsNode(undef, ARRAY(0x5639eb2b27a8), ARRAY(0x5639eb2b26b8), 1, undef, undef, undef) called at Dumper.pm line 2280
Dumper::makeDump("/root/plesk/plesk_migrator-x7faknneduxtev7wdloc9032xylbj0qx/p"..., ARRAY(0x5639eb2b27f0), ARRAY(0x5639eb2b27a8), ARRAY(0x5639eb2b26b8), 1, undef, undef, undef) called at createDump.pl line 132
main::main() called at createDump.pl line 172
 
Last edited by a moderator:
Thank you for your cooperation. We have an open report for this issue and our team is currently investigating it. I will follow up with more details as soon as possible. Thanks in advance for your patience in the meantime.
 
@Zolive this has been identified as a product bug with ID PPPM-14990. As or right now I cannot suggest a workaround, but our team is actively working on resolving the issue and hopefully a fix will be introduced in the upcoming few days. I will provide more details as soon as possible.
 
Thank you for the report, @MHC_1 . I expect our team to release the fix in the beginning of the upcoming week, provided that there are no unforeseen events.
 
@MHC_1 , our team is still running final tests before the release. It shouldn't take long for the fix to be released. Unfortunately, there is no option to rollback.
 
@MHC_1 the permanent fix is still in progress, in the meantime, our team proposed the following workaround:


Despite this, the same issue as OP has still remains. Fix instructions have been followed exactly and migration tool has been reset, new migration made, and comms with source server works, but no dump is generated. Folder is created. Plesk server was also restarted .

migrator_root_02-07-2025.png
(holding directory is /root/metal )

As said, the previous version of Migrator worked fine. Source server is using CPanel 110.0.68
 
@MHC_1 , could you please check the debug log in /usr/local/psa/var/modules/panel-migrator/sessions/XXXXXXXXXXXXXX/debug.log and let us know what's logged there? Thank you in advance.
 
Back
Top