Plesk migration fails: Failed to fetch configuration data from Plesk servers

Created:

2016-12-23 12:31:10 UTC

Modified:

2017-08-08 13:21:41 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Plesk migration fails: Failed to fetch configuration data from Plesk servers

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

  • Plesk migration fails with the following error in debug.log:
    =|D|MT|parallels|||MigrationError: Failed to fetch configuration data from Plesk servers
    =|D|MT|parallels|||Cause: Command execution failed on the source server 'source' (203.0.113.2) with non-zero exit code.
    =|D|MT|parallels|||command: cd /tmp/pmm_agent; tar rf migration_dump.tar backup_info*
    =|D|MT|parallels|||exit code: 2
    =|D|MT|parallels|||stdout:
    =|D|MT|parallels|||stderr: tar: backup_info*: Cannot stat: No such file or directory
    =|D|MT|parallels|||tar: Error exit delayed from previous errors
  • The following error can be found in /usr/local/psa/var/modules/panel-migrator/sessions//pmm-agent_/configuration-dump.log file:
    [8333]: DEBUG Unable to create dump: Can't locate object method "new" via package "XML::Simple" at PleskStructure.pm line 623.
    at PleskStructure.pm line 623
    PleskStructure::__populateServiceNodes() called at PleskStructure.pm line 370
    PleskStructure::__init111() called at PleskStructure.pm line 44
    PleskStructure::init('Db::Connection=HASH(0x3d9f568)') called at PleskX.pm line 187
    PleskX::_init('PleskX=HASH(0x3dea2c8)', 'Storage::FileStorage=HASH(0x3dd0ca8)', 'MigrationDumpStatus=HASH(0x3de9c20)', '/tmp/pmm_agent') called at PleskX.pm line 69
    PleskX::new('PleskX', 'Storage::FileStorage=HASH(0x3dd0ca8)', 'MigrationDumpStatus=HASH(0x3de9c20)', '/tmp/pmm_agent') called at PleskX.pl line 166
    eval {...} called at PleskX.pl line 160
    main::main() called at PleskX.pl line 322
  • Checking for XML::Simple module for Perl throws an error:

    # /usr/bin/perl -e "use XML::Simple".
    # /usr/local/bin/perl -e "use XML::Simple" .
    Can't locate XML/Simple.pm in @INC (@INC contains: /usr/local/lib/perl5/5.10.1/x86_64-linux-thread-multi /usr/local/lib/perl5/5.10.1 /usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.1 .) at -e line 1.
    BEGIN failed--compilation aborted at -e line 1.

Cause

Needed Perl modules are missing on server.

Resolution

Install needed modules and their dependencies:

# /usr/local/bin/perl -MCPAN -e shell
cpan[1]> install XML::Parser
cpan[2]> install XML::Simple
Have more questions? Submit a request
Please sign in to leave a comment.