• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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