Regular updates of a control panel ensure 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.

Note:

When the coremanager-pkg-mysql package is updated, the MySQL service will be automatically restarted.

Automatic upgrade


The automatic update option allows updating the software programs according to the schedule. The task start time in the cron scheduler is randomly generated. 

Log in to the control panel as root and navigate to Settings System settings.

  • Update software automatically:
    • Do not update — disable automatic updates for this control panel;
    • Update ISPsystem products — update automatically ISPsystem software products. The system updates only the packages installed from the ISPsystem repository. The packages from third-party repositories won't be updated;
    • Update all the system packages — update automatically all packages of the operating system.

Manual upgrade


Execute the following command in the console: 

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

Updating from ISPmanager 5


To upgrade ISPmanager 5 to ISPmanager 6:

  1. Purchase a license for ISPmanager 6.
  2. If licenses for ISPmanager 5 and ISPmanager 6 have the same IP address:

    1. Delete the license for ISPmanager 5: 

      rm /usr/local/mgr5/etc/ispmgr.lic -rf
      CODE
    2. Activate the license for ISPmanager 6 license with the key: 

      /usr/local/mgr5/sbin/licctl fetch ispmgr <key>
      CODE
      Comments to the command

      <key> — license key

  3. Update the control panel manually or in the HelpAbout program section. If your control panel version is lower than 5.295, you need to upgrade twice: first to the latest version of ISPmanager 5, and then to ISPmanager 6.
  4. Check the license information: 

    /usr/local/mgr5/sbin/licctl info ispmgr
    CODE

Note

If non-working third-party repositories are connected to the server with ISPmanager, the control panel will not be able to update. To determine which repositories are blocking the update, run the command:

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

The reply will contain information about the repositories:

Example of reply

Reading package lists...
W: GPG error: http://dl.google.com/linux/mod-pagespeed/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1234567890ABCDEF
E: The repository 'http://dl.google.com/linux/mod-pagespeed/deb stable Release' is not signed.
CODE

If you are using the ISPmanager 6 license and the control panel is blocked, you can update ISPmanager via the console. To do this:

  1. Connect to the server with ISPmanager via SSH.
  2. Download the script for updating:

    wget http://download.ispsystem.com/upgrade.ispmgr5.sh
    CODE
  3. Run the script:

    sh upgrade.ispmgr5.sh
    CODE

Repositories


Every version has a separate repository which name matches the version name. Also, there are beta6 and stable6 repositories with all the versions of a software product. The repository defines a version the control panel can be updated to. "stable6" includes the stable and time-proved version of a software product. "beta6" includes the version that is still being tested. You can select a repository during the installation process.

Switch from "stable6" to "beta6":

echo 'beta' > /usr/local/mgr5/etc/repo.version
/usr/local/mgr5/sbin/licctl fetch ispmgr
BASH

More information on how to change the repository from "beta6" to "stable6" please refer to the article Change the repository from beta to stable.