BILLmanager 6 Startup, Advanced

Updating from BILLmanager 5

To update to BILLmanager 6

To update BILLmanager 5 to BILLmanager 6:

  1. Purchase a license for BILLmanager 6.
  2. To update BILLmanager 5 to BILLmanager 6:

    • Update your platform to the latest version:

      1. In the platform interface:
      2. In the left-side menu, click Update to BILLmanager 6.

      3. Specify the license key.
      4. Click Check license.
      5. Wait until the installation is complete.
    • Or update the platform through the terminal.

      Updating to BILLmanager 6
Note

If non-working third-party repositories are connected to the server with BILLmanager, 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

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.

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

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

    wget http://cdn.ispsystem.com/install.sh
  3. Run the script:

    sh install.sh

If there is no Update to BILLmanager 6 button in the platform interface:

  1. Connect to the server with the platform via SSH.
  2. Upgrade the platform to the latest version. To do this, change the repository to beta:

    echo 'beta' > /usr/local/mgr5/etc/repo.version
  3. Run the command to update COREmanager:

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

Updating to BILLmanager 6 from versions below 5.368.0

The current version of BILLmanager 6 has received a large number of updates and fixes. Updating BILLmanager versions lower than 5.368.0 to the current version must be performed step by step in manual mode. Otherwise, the update may fail or end with an error. To update BILLmanager to version 6, you must first update the platform to the current version of BILLmanager 5 - 5.368.0 or higher.

To update BILLmanager to the current version:

  1. Connect to the server with BILLmanager via SSH.
  2. Edit the file repo.version. Specify the platform version according to the formula: version of your BILLmanager platform + 20.

    vi /usr/local/mgr5/etc/repo.version
    Example
  3.  Depending on your operating system, edit the files. Specify the version of BILLmanager, as in repo.version.

    Ubuntu 20.04:
    /etc/apt/sources.list.d/ispsystem.list
    Example
    CentOS 7, AlmaLinux 9:
    /etc/yum.repos.d/ispsystem.repo
    Example
  4. Run the update with the command:

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


  5. Repeat steps 2 through 4 until the BILLmanager version reaches 5.368.0.
  6. Run the BILLmanager update following the instructions.

Repositories

When you change the repository from stable to beta the control panel packages are updated to the version available in the beta repository. Switching from beta to stable will update the packages provided that the version in the stable repository is higher than the installed version. If the installed version is higher than the available one you cannot install modules in Integration → Modules. 

To avoid issues with the installation of modules:

  1. Navigate to Settings → System configuration → Update software automatically and select "do not update".  The current repository in the format  <version>-<repository>, e.g. "6.42-beta" will be added to /usr/local/mgr5/etc/repo.version.
  2. When the installed version of the control panel is available in the stable repository, change the repository from beta to stable:
echo 'stable' > /usr/local/mgr5/etc/repo.version
/usr/local/mgr5/sbin/licctl fetch billmgr --update license