• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue hosting plan exporter

D4NY

Regular Pleskian
I'm trying to migrate subscriptions from a Plesk Onyx to a new Plesk Obsidian dedicated server. I found the new Hosting Plan Exporter extension that should help me to avoid manually recreate all hosting plans... just exporting from old server end importing to the new one.
The .json file is read and all plans appears in the import list, but when start importing i got this error:

Failed to import the service plan.: Failed to create hosting plan.: Permissions: manage_performance_bandwidth,manage_performance_connections,manage_hosting_type,rename_domains should not be specified

Someone can help me? Thank you.
 
Developers confirmed a bug EXTPLESK-2022 in Hosting Plan Exporter extension.
The issue should be fixed in next extension updates.

The custom patch can be applied until the bug is fixed:
  1. backup the original file

    cp /usr/local/psa/admin/plib/modules/hp-exporter/library/Plesk/Server/PermissionsInfo.php{,.bak}

  2. put the attached file PermissionsInfo.php to /usr/local/psa/admin/plib/modules/hp-exporter/library/Plesk/Server/
The patch should be applied to the target server (the one that the plan is imported to).
 

Attachments

  • PermissionsInfo.php.zip
    2.1 KB · Views: 11
Done as explained. First thing i've seen is the big difference between the original PermissionsInfo.php (1700 bytes) and the attached file (only 149 bytes). This is very strange to me, can you please check the content?

Anyway trying to test if it works now i get this error during the importing of the .json file: "Unexpected API response. Please try to reload the page."
 
Hey, the patch doesent work, i tried i right now with CentOS 7.9 and Plesk Obsidian 18.0.31.2.

Looking forward to a fix in the next update.
 
Back
Top