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
rootuser, run thesudo -scommand. -
Navigate to the
/opt/qumulo/QumuloAlertsdirectory that contains the Qumulo Alerts Docker configuration files. -
To update the Grafana configuration, ensure that the following line in the
docker-compose.ymlfile 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.shscript. -
To remove the previous Grafana Docker image:
-
Run the
docker image lscommand to list all existing image IDs. -
Run the
docker rmicommand 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.shscript. -
The verify the Qumulo Alerts Docker container’s status, you can run the
docker ps -acommand or access Grafana by using its configured endpoint and port. For example:http://127.0.0.1:3000