Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.46

(Home >> Server Configuration >> Update Preferences)

Overview

This feature allows you to define how your server handles software updates and upgrades.

cPanel & WHM Updates

You can use this section of the interface to select a release tier. Your release tier setting controls when you upgrade to a new major version of cPanel & WHM.

You can also use this interface to indicate how you want your server to handle updates within a major version. 

Note:

If you run an update that includes multiple major versions of cPanel & WHM, the update process upgrades your server to each intermediate version. The update process performs compatibility checks for each version prior to the upgrade to that version. If the process encounters blockers, it finishes on the most recent release of cPanel & WHM that is compatible with your system.

For more information, read our Upgrade Blockers documentation.

Release Tier

Select a cPanel & WHM tier that matches your requirements. For more information, read our cPanel & WHM Product Versions and the Release Process  documentation.

Note:

After you upgrade to a new major version of cPanel & WHM, you cannot downgrade to a previous major version of cPanel & WHM.

  • For this reason, you cannot select a release tier that represents a downgrade.
  • The icon appears next to the Description for tiers that represent a downgrade.

 

The following table describes each of the cPanel & WHM release tiers:

TierDescriptionPublication Frequency
LTS

Long-Term Support (LTS). If you do not wish to upgrade cPanel & WHM, you can select a cPanel & WHM version for as long as cPanel supports it.

The following table lists the LTS dates for the current versions of cPanel & WHM:

cPanel & WHM VersionApproximate Release DateAnticipated End of Life*
11.34*October 2012October 2013
11.36*January 2013January 2014
11.38*April 2013April 2014
11.40*October 2013

October 2014

11.42*January 2014January 2015
11.44*June 2014

July 2015

11.46September 2014September 2015

* cPanel & WHM releases that have reached End of Life:

  • Are unavailable for installation
  • Will no longer receive fixes or patches from cPanel, Inc.
  • Documentation will be archived

Not applicable.
STABLEThis version has received considerable public exposure, testing, and verification.Published least frequently.
RELEASEThis version is feature-complete and well tested. It contains all intended features and functionality. New installations default to RELEASE.Published more frequently than STABLE.
CURRENTThis version is tested and verified, but it may not contain all of the proposed functionality of a release. This tier is similar to the "release candidate" tier that other publication schemes use.Published more frequently than RELEASE.
EDGE

This version only has rudimentary testing. The features are subject to further modification. This version usually lacks official public documentation. 

Warning:

Due to the dynamic nature of EDGE builds, only use EDGE to test for compatibility and functionality in a controlled environment . This tier is not recommended for production servers.

Published most frequently (up to several times per week).

 

Automatic upgrades to new major versions

As of cPanel & WHM version 11.40, to reduce support ticket influx, automatic upgrades to subsequent major versions of cPanel & WHM will not always take place immediately. In certain scenarios, cPanel & WHM will apply a zero-to-three-business-day delay before your automatic upgrade takes place.

cPanel & WHM will apply a delay if all of the following are true:

  1. You are on the RELEASE or STABLE tier.
  2. You do not run the upgrade interactively.
  3. Your current version is only one major version away from the target major version.
  4. You do not run the upgrade with the Force option.

The length of your delay is randomly selected. For example, if the new major version is detected on a Friday, the upgrade will not take place until the following Monday, Tuesday, or Wednesday.

When we release a major version, you may perform any of the following actions:

  • Use the Force option in the Upgrade to Latest Version feature to upgrade immediately.
  • Take no action, unless your release tier is set to LTS, to allow the automatic upgrade to occur as described above.
  • To prevent future automatic upgrades, change your selected release tier to LTS.

Warning:

Before an upgrade, take the time to ensure that the new version is compatible with any third-party software or customizations to your system. We recommend that you stage the upgrade on a test system before you upgrade your production system.

Daily Updates

Use this menu to select how you want cPanel & WHM to update. You can choose from the following options:

  • Automatic — Select this option if you want cPanel & WHM to automatically update through a cron job every night at midnight.
  • Manual Updates Only — Select this option if you wish to manually update cPanel & WHM.
    • Command line — Run the /usr/local/cpanel/scripts/upcp script as the root user.
    • WHM — Go to the Upgrade to Latest Version interface.
  • Never Update — Select this option if you do not want cPanel & WHM to update.

Note:

The maintenance portion of the /usr/local/cpanel/scripts/upcp script will always run as part of the nightly cron job, regardless of the update settings.

Staging Directory

The upgrade to newer versions of cPanel & WHM requires a minimum amount of disk space in order to stage the files necessary. This feature determines where the system places the staging files. 

Note:

If the selected directory does not have enough disk space for the update, the system automatically selects a different directory for the next attempt. An email will notify you of the new selection, and you will have 24 hours to change the new directory.

To select the staging directory for the updates, perform one of the following actions:

  • Keep the default directory. This defaults to the /usr/local/cpanel directory.
  • Enter a new directory. If you enter a path to a different directory, the system will automatically create the .cpanel__HOSTNAME__upcp_staging subdirectory at that location, where hostname is the name of the actual server.
  • Select a partition. The path to the selected partition will appear in the Directory text box. The Available Partitions table displays the available disk space on each of your partitions. 

Operating System Package Updates

This feature determines whether the nightly maintenance tasks will update the RPM packages from your operating system distribution. This is similar to the yum update command. 

  • Automatic — Select this setting to automatically update the operating system packages when the /usr/local/cpanel/scripts/upcp script runs.
  • Manual Updates Only — Select this setting if you wish to manually run the /usr/local/cpanel/scripts/upcp script to update operating system packages.
  • Never Update — Select this setting if you do not wish to update the operating system packages when the/usr/local/cpanel/scripts/upcp script runs. If you select this option, you will need to run the /usr/local/cpanel/scripts/rpmup2 script to update your operating system packages.

Note:

This setting has no effect on cPanel-provided RPMs.

 

Apache SpamAssassin™ Rules Updates

This feature defines how you wish to update the Apache SpamAssassin rules.

  • Automatic — Select this setting to automatically update Apache SpamAssassin rules when the /usr/local/cpanel/scripts/upcp script runs.
  • Manual Updates Only — Select this setting if you wish to manually run the /usr/local/cpanel/scripts/upcp script to update Apache SpamAssassin rules.
  • Never Update — Select this setting if you do not wish to update Apache SpamAssassin rules when the /usr/local/cpanel/scripts/upcp script runs.

Note:

  • When the cPanel update script (/usr/local/cpanel/scripts/upcp) runs, it updates Apache SpamAssassin through the Apache SpamAssassin update script (/usr/local/cpanel/scripts/sa-update-wrapper).
  • For more information about Apache SpamAssassin rules, read the Apache SpamAssassin documentation.

Send my settings to all configuration cluster servers

Select the Send my settings to all configuration cluster servers checkbox to send your Update Preferences settings to all of the servers that are currently in your configuration cluster.

Note:

The Send my settings to all configuration cluster servers checkbox only displays if you have already added additional servers to the configuration cluster via the Configuration Cluster interface (Home >> Clusters >> Configuration Cluster).

 

If you selected this option, the interface may require several seconds to load when you click Save, and will then display a confirmation message: 

  • Click Show Details to view the status of each server in the configuration cluster.
  • An error icon () in the Status column indicates that the server failed to receive the settings. 
  • The Message column displays additional information about servers that failed.

Related documentation