To simplify the process of installing Micro-Updates for earlier Plesk (PP) versions to PVC containers , the Plesk Service Team has prepared a special EZ template called pp-microupdates. The template is to be installed either on a container with PP (v. 8.6.0 or newer) or in the same transaction with other PP templates. At the final stage of the template installation or update transaction, the latest available Micro-Update is downloaded from http://autoinstall.plesk.com and forcibly installed. Micro-Updates are installed by running this command inside of a container:
/usr/local/psa/admin/sbin/autoinstaller --select-release-current --reinstall-patch --install-component base
Note 1: The autoinstaller utility needs up to 200 MB of virtual memory on some operating systems. If the template installation fails due to lack of memory (
failcnt value will increase in
/proc/user_beancounters ), it is necessary to increase the amount of memory available to the container and retry the procedure.
Note 2: The above template installation does not schedule a periodical Micro-Update installation. Micro-Updates are installed only during the initial installation or upgrade of the above template.
Note 3: The template cannot be installed to a container that has no PP installed on it. Such an installation will fail.
Note 4: The template cannot be used to deploy containers with PP using an automated system that installs templates one-by-one, with no option to set the order of their installation. Please use the workaround from article #7110 for such cases.
To install the template to a Hardware Node, perform the following steps: 1. Download this pp-microupdates.tar.gz archive to the HW Node. 2. Unpack the archive with the
tar -xzf pp-microupdates.tar.gz command. 3. Go to the resulting
pp-microupdates directory. 4. Install the templates with this command:
# vzpkg install template <list of rpms>
- I have a container with PP and I do not know if it has the latest Micro-Updates installed in it. How do I install Micro-Updates?
>> The below command will install Micro-Updates:
# vzpkg install <CTID> pp-microupdates
- I wish to deploy a new container with PP and would like for it to have the latest Micro-Updates after the installation.
>> To deploy a container with PP and install Micro-Updates to it, you need to install the necessary PP templates in the same transaction with the pp-microupdates template. For example:
# vzpkg install <CTID> plesk9.5 plesk9.5-postfix pp-microupdates
- I already have a container with pp-microupdates template installed in it. How do I install the latest Micro-Updates (reinstall Micro-Updates)?
>> To install or reinstall the latest Micro-Updates to a container where the pp-microupdates template is already installed, you need to update the container using the following command (the container packages will be updated):
# vzpkg update <CTID>
Alternatively, you can update only the pp-microupdates template with the following command (only the packages included in that template will be updated):
# vzpkg update <CTID> pp-microupdates
Note: If you update the container using PIM (VZPP) or PVA, the latest Micro-Updates will not be installed. This is because PIM/PVA updates packages, not templates.
- I have a container with the pp-microupdates template installed inside of it. I want to update it to the next PP version. Will Micro-Updates be updated also?
>> No, a PP template update transaction does not involve a pp-microupdates template update. To update Micro-Updates, you need to update the container as described in step 3 above.
- I want to install several additional PP templates to a container where the pp-microupdates template is already installed. Will Micro-Updates be updated too?
>> No; the corresponding transaction will not involve a pp-microupdates template update. To update Micro-Updates, you need to update the container as described in step 3 above.
- Can I uninstall the pp-microupdates template from a container? Will it cause any issues?
>> You may safely uninstall the template, and it will not cause any issues (unlike uninstalling other PP templates).