Updating Plesk

The update operation is used to update your Plesk server. All components from a specified update will be affected.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet updating Plesk includes the update operation node:

<packet version="1.5.0.0">
<updater>
   <update>
...
   </update>
</updater>
</packet>

 

The graphical representation of the update node is as follows:

 

Request sample

This request updates Plesk to 8.1.1 version.

<packet version="1.5.0.0">
<updater>
   <update>
      <update-id>PLESK_8_1_1</update-id>
   </update>
</updater>
</packet>

 

 

Response Packet Structure

The update node of the output XML packet is presented by type UpdaterUpdateOutputType (updater.xsd) and structured as follows:

 

 

Samples

This request updates Plesk to 8.1.1 version.

<packet version="1.5.0.0">
<updater>
   <update>
      <update-id>PLESK_8_1_1</update-id>
   </update>
</updater>
</packet>

Response:

<packet version="1.5.0.0">
<updater>
   <update>
      <result>
         <status>ok</status>
      </result>
   </update>
</updater>
</packet>

 

If Plesk Auto-Installer is busy, the response packet from the server will look as follows:

<packet version="1.5.0.0">
<updater>
   <update>
      <result>
         <status>error</status>
         <errcode>1035</errcode>
         <errtext>Service is busy</errtext>
      </result>
   </update>
</updater>
</packet>