How to upgrade Plesk on a Virtuozzo container to a new version

Created:

2016-11-16 13:18:40 UTC

Modified:

2017-08-08 13:43:38 UTC

1

Was this article helpful?


Have more questions?

Submit a request

How to upgrade Plesk on a Virtuozzo container to a new version

Applicable to:

  • Plesk for Linux

Information

Since Plesk 10, Plesk ships two sets of EZ templates for each Plesk release: Major-version and Version-free EZ templates.

Both templates provide the same software components; the only difference between them is what template updates are installed when a container is updated:

  • Major-version EZ templates install the latest patch level within major version of Plesk. Such templates are named as follows: pp<product_version> . Example: pp10 or pp11.

  • Version-free EZ templates always install the latest currently available Plesk version. It will not let you to install older version. Such templates are named just pp. Product version is not specified for such templates.

You can tell Major-version templates and Version-free ones apart based on their names: the name prefix of the first type contains major version (pp10), while the latter does not contain any version numbers (pp).

Resolution

Before updating templates on the container, check what kind of Plesk template is installed. It can be checked by retrieving the list of the installed templates:

# vzpkg list CT_ID
centos-5-x86_642012-01-11 18:52:30
centos-5-x86_64 pp10 2012-05-25 12:26:14
centos-5-x86_64 pp10-qmail2012-05-25 12:26:14
centos-5-x86_64 mod_ssl 2012-05-25 12:26:14
centos-5-x86_64 mod_perl 2012-05-25 12:26:14
centos-5-x86_64 webalizer 2012-05-25 12:26:14

In this example we can see that Major-version EZ template is installed. If version of the installed Plesk template is not specified, it means that Version-free template is installed.

Perform the following upgrade procedure depending on the type of the installed:

Major-version EZ template.

  1. Obtain the new templates from the Plesk website and install them using the following command:

    vzup2date -m batch -z install <list of templates>
    

    Note: On Virtuozzo, the vzup2date utility is deprecated. You should use yum instead. For more information about shipped templates, refer to the section Linux Virtuozzo Templates.

    To learn what Plesk templates are currently installed on the server, run vzpkg list and find the ones with names starting with pp .

  2. Install the latest versions of the Plesk templates to each container by running the commands like this:

    vzpkg install <CTID> <list of templates>
    

    Where <CTID> is the ID of the container on which you install the templates and <list of templates> lists templates upgraded or installed during step 1.

    For example:

    vzpkg install 444 pp12 pp12-kav
    

Version-free EZ template.

  1. Upgrade Plesk templates installed on the server to the latest available version and add templates that you need. To do this, run the following command:

    vzup2date -m batch -z install <list of templates>
    

    Note: On Virtuozzo, the vzup2date utility is deprecated. You should use yum instead. For more information about shipped templates, refer to the section Linux Virtuozzo Templates.

    To learn what Plesk templates are currently installed on the server, run vzpkg list and find the ones with names starting with pp .

  2. Install the latest versions of the Plesk templates to each container by running the commands like this:

    vzpkg install -f <CTID> <container's list of templates>
    
    vzpkg update <CTID>
    

    Where <CTID> is the ID of the container on which you install the templates and <container's list of templates> is a consistent list of all templates installed on the container as well as new templates that you want to install on it during the upgrade.

    For example:

    vzpkg install -f 444 pp pp-kav
    

For more information refer Upgrading Plesk on Virtuozzo containers for Linux documentation article.

Have more questions? Submit a request
Please sign in to leave a comment.