To update to BILLmanager 6
To update BILLmanager 5 to BILLmanager 6:
- Purchase a license for BILLmanager 6.
-
To update BILLmanager 5 to BILLmanager 6:
-
Update your platform to the latest version:
- In the platform interface:
- Specify the license key.
- Click Check license.
- Wait until the installation is complete.
-
Or update the platform through the terminal.
Updating to BILLmanager 6
-
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:
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:
- Connect to the server with BILLmanager via SSH.
-
Download the script for updating:
wget http://cdn.ispsystem.com/install.sh
-
Run the script:
sh install.sh
If there is no Update to BILLmanager 6 button in the platform interface:
- Connect to the server with the platform via SSH.
-
Upgrade the platform to the latest version. To do this, change the repository to beta:
echo 'beta' > /usr/local/mgr5/etc/repo.version
-
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:
- Connect to the server with BILLmanager via SSH.
-
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 -
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
ExampleCentOS 7, AlmaLinux 9:/etc/yum.repos.d/ispsystem.repo
Example -
Run the update with the command:
/usr/local/mgr5/sbin/pkgupgrade.sh coremanager
- Repeat steps 2 through 4 until the BILLmanager version reaches 5.368.0.
- 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:
- 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.
- 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