How to update the control panel

From ISPWiki
Jump to: navigation, search
Hierarchy: VMmanager KVM -> VMmanager KVM setup and configuration
VMmanager Cloud -> VMmanager Cloud setup and configuration
Hierarchy: DCImanager -> Setup and configuration
DCImanager Enterprise -> Setup and configuration

Regular updates of a control panel ensures its correct operation. They include:

  • new functionality;
  • improvements;
  • bug fixes.

The control panel can be updated automatically (by default) or manually.

This article describes how to update a control panel.

Automatic update

The automatic update option allows to update software programs according to the scheduler. With this option enabled, the cron job starts every day at 3:10 am (the server time).

Log in to the control panel as root and navigate to the System configuration module to enable the automatic update of your control panel.

«System configuration»

There are three update types:

  • Do not update - the upgrade process won't start automatically, and the software won't be updated.
  • Update ISPsystem products - automatically update ISPsystem software products. The system will update only the packages installed from the ISPsystem repository. The packages from third-party repositories won't be updated.
  • Update all the system packages - automatically update all packages of the operating system.


Manual update

You can update the control panel manually when needed. Execute the following command in the console.

Execute the command:

/usr/local/mgr5/sbin/pkgupgrade.sh coremanager

or the command of the package manager:

yum update

Repositories

Every version has a separate repository which name matches the name of the version. Also, there are beta5 and stable5 repositories which contain all the versions of a software product.

The repository connected in the system, defines a version the control panel can be updated to.

How to change "stable5" to "beta5":

cat > /etc/yum.repos.d/ispsystem.repo << EOF
> beta
> EOF

Change "beta5" to "stable5":

cat > /etc/yum.repos.d/ispsystem.repo << EOF
> stable
> EOF