This section explains how to upgrade Grafana in a Qumulo Alerts Docker container from a machine running Ubuntu 22.04.
Prerequisites
To perform these instructions, ensure that you have root
privileges and that Docker is installed.
If you experience any issues during the upgrade process, you can diagnose potential issues by running the
docker logs
command and specifying the ID of the Grafana container.To Upgrade Grafana in the Qumulo Alerts Docker Container
-
To switch to the
root
user, run thesudo -s
command. -
Navigate to the
/opt/qumulo/QumuloAlerts
directory that contains the Qumulo Alerts Docker configuration files. -
To update the Grafana configuration, ensure that the following line in the
docker-compose.yml
file specifies version10.4.2
:image: grafana/grafana-oss:${GRAFANA_VERSION:-10.4.2}
-
To stop all running Qumulo Alerts Docker containers, run the
stop-docker-qumulo-alerts.sh
script. -
To remove the previous Grafana Docker image:
-
Run the
docker image ls
command to list all existing image IDs. -
Run the
docker rmi
command and specify the ID of the image. For example:docker rmi grafana/grafana:10.2.0
-
-
To restart Qumulo Alerts with the new configuration, run the
start-docker-qumulo-alerts.sh
script. -
The verify the Qumulo Alerts Docker container’s status, you can run the
docker ps -a
command or access Grafana by using its configured endpoint and port. For example:http://127.0.0.1:3000