Updating MAP
Use the following procedure to update your MAP version:
Stop the centreon-map-engine service by running this command on the machine hosting the Centreon MAP service:
sudo systemctl stop centreon-map-engine
Update the packages by running this command on the machine(s) hosting the central service and the Centreon MAP service:
- 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
Clear your browser cache.
Restart the centreon-map-engine service using the following command:
sudo systemctl start centreon-map-engine