The databases were not transferred during migration from cPanel to Plesk.

Refers to:

  • Plesk for Linux

Created:

2016-11-16 13:15:18 UTC

Modified:

2016-12-21 20:17:45 UTC

0

Was this article helpful?


Have more questions?

Submit a request

The databases were not transferred during migration from cPanel to Plesk.

Symptoms

Migration from cPanel to the Paralles Plesk has finished successfully but some databases are absent on the target server.

Cause

The issue with the search algorithm of databases in the cPanel migration agent. Databases are mapped to domains if ACCOUNTNAME_DBNAMEPOSTFIX naming convention is followed for database names. However by default cPanel trims long usernames to first eight characters in database names. In this case cPanel migration agent fails to detect account's database for accounts with more than 8 chars long names and doesn't migrate it at all.

Resolution

Apply patch for /usr/local/psa/PMM/agents/cPanel9/Dumper.pm file to mitigate issue for long account names:

  1. Download the Dumper.pm.patch file to the /usr/local/psa/PMM/agents/cPanel9/ folder.
  2. Apply patch using the following command:
    # patch < Dumper.pm.patch
Have more questions? Submit a request
Please sign in to leave a comment.