Upgrading MAP
If you're updating to a new major version (i.e: A.B.x with A or B that changes) you need to install the new Business repository. You can find its address on the support portal.
Prerequisitesβ
Update the RPM signing keyβ
For security reasons, the keys used to sign Centreon RPMs are rotated regularly. The last change occurred on October 14, 2021. When upgrading from an older version, you need to go through the key rotation procedure, to remove the old key and install the new one.
Update the packageβ
- In order to update the Centreon MAP module using an RPM package, execute the following command:
- Alma / RHEL / Oracle Linux 8
- CentOS 7
- Debian 11
sudo dnf update centreon-map-engine centreon-map-web-client
sudo yum update centreon-map-engine centreon-map-web-client
If MAP only is installed:
sudo apt upgrade centreon-map-engine centreon-map-web-client
If MAP and MAP Legacy are installed on the same server:
Make a backup of the map.cnf file:
cp /etc/my.cnf.d/map.cnf /etc/my.cnf.d/map.cnf.bk
Update the centreon-map-engine package
sudo apt upgrade -o Dpkg::Options::="--force-overwrite" centreon-map-engine centreon-map-web-client
Retrieve the configuration file backup:
cp /etc/my.cnf.d/map.cnf.bk /etc/my.cnf.d/map.cnf
Answer Y when prompted. Then restart MySQL:
systemctl restart mariadb
- Make sure you are using the correct version of MariaDB and update it if needed. See Upgrading MariaDB.
Update through the interfaceβ
Log on to the Centreon web interface and go to Administration > Extension >
Manager
.
Click on the orange button to update the module, do the same for the widget.