• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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