• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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