• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Install Joomla via XML-RPC API

BrunoBerck

New Pleskian
Hi,

I trying to install Joommla via XML-RPC API. (Plesk version : 12.0.18 Update #13 - API version : 1.6.6.0)
Here are my methods
1. get Package list
2. download package
3. install package

if I try with Wordpress, I don't have any problems.

With Joomla : step 2 : I've got this message in log file :
ERR [panel] Error during package add to repository: Add-ons for APS packaged web apps are not supported.
ERR [apscatalog] Error during downloading package from APS Catalog: Add-ons for APS packaged web apps are not supported.
ERR [panel] Task failed: id=95, pid=21231, type=aps-download, error=Add-ons for APS packaged web apps are not supported.

If I install via http admin interface, install works.

There is something to do to install web apps ?

Thanks in advance
 
1. <packet version="1.6.6.0"><aps><get-packages-list><all/></get-packages-list></aps></packet>
2. <packet version="1.6.6.0"><aps><download-package><package><name>joomla</name></package></download-package></aps></packet> --> 'task-id' => "98"
3. a loop every 5 seconds
<packet version="1.6.6.0"><aps><get-download-status><filter><task-id>98</task-id></filter></get-download-status></aps></packet>
-> 'in-progress' => array(2) {'total' => "100", 'completed' => "0"}
-> 'in-progress' => array(2) {'total' => "0", 'completed' => "0"}
-> 'in-progress' => array(2) {'total' => "100", 'completed' => "0"}
-> 'finished' => array(1) {'error' => "Cannot download package from catalog"}
 
Looks like bug in Plesk. But you can workaround it by providing not only the package name, but also the version. Here is an example:
Code:
<packet version="1.6.6.0">
  <aps>
    <download-package>
      <package>
        <name>joomla</name>
        <version>3.3.1</version>
       </package>
    </download-package>
  </aps>
</packet>
 
Back
Top