Upgrading Plesk on Virtuozzo containers for Linux

When you upgrade Plesk operating in Virtuozzo containers for Linux, please note the following:

  • You should not remove Plesk Virtuozzo templates from containers before upgrading.
  • During upgrade to a newer version of Plesk, ensure that you upgrade all installed components. This is required to avoid conflicts caused by outdated components.
  • If you previously installed postfix or qmail templates, be sure to install a pp12-dovecot or a pp12-courier-imap template during upgrade. Otherwise, IMAP/POP3 server might be unavailable.

To upgrade Plesk installed with versioned EZ templates in Virtuozzo containers environment:

  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

    Note: Mail server templates pp12-qmail and pp12-postfix must not be installed at the same time.

     

    Important: We strongly recommend that you add the new template pp12-bind after installing new versions of templates that were already installed. Otherwise, all new Plesk containters deployed on this hardware node will not have the DNS server installed. To learn more about how Plesk works without a DNS server, refer to the Administrator's Guide, section Plesk Without a DNS Server.

  3. If you used versioned templates before upgrading, remove them from each container by running the command like this:

    vzpkg remove <CTID> <list of old templates>

    For example:

    vzpkg remove 444 pp10 pp10-kav

To upgrade Plesk installed with version-free EZ templates in Virtuozzo environment:

  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

    Note: Mail server templates pp-qmail and pp-postfix must not be installed at the same time.

     

    Important: We strongly recommend that you add the new template pp-bind after installing new versions of templates that were already installed. Otherwise, all new Plesk containters deployed on this hardware node will not have the DNS server installed. To learn more about how Plesk works without a DNS server, refer to the Administrator's Guide, section Plesk Without a DNS Server.

For more information about operating in a Virtuozzo environment, refer to Virtuozzo containers documentation at https://virtuozzo.com/support/.

 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.