• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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