Unable to create map file: Call to undefined method PleskRestoreIp::formatIp()

Created:

2016-11-16 13:03:47 UTC

Modified:

2017-08-16 16:26:12 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to create map file: Call to undefined method PleskRestoreIp::formatIp()

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Creation of map file using pleskrestore utility fails:

# /usr/local/psa/bin/pleskrestore --create-map /var/lib/psa/dumps/backup_*****.xml -map /var/lib/psa/dumps/mapfile.txt
PHP Fatal error: Call to undefined method PleskRestoreIp::formatIp() in /usr/local/psa/admin/plib/backup/RestoreMapping.php on line 2087

Cause

Bug PPPM-3922 . It is fixed in Plesk Onyx.

Resolution

Upgrade to the latest Plesk version .

If upgrade is not possible:

  1. Download custom fix and uzip it.

  2. Backup file /usr/local/psa/admin/plib/backup/RestoreMapping.php

  3. Replace file /usr/local/psa/admin/plib/backup/RestoreMapping.php with the downloaded one

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.