Skip to content


 Zabbix
 Grafana
 Prometheus
 Threejs and TypeScript
 SocketIO and TypeScript
 Blender Topological Earth
 Sweet Home 3D
 Design Patterns Python
 Design Patterns TypeScript
   
 Course Coupon Codes
Three.js and TypeScript
Kindle Edition
$9.99 $14.99 Paperback 
$29.99 $34.99




Design Patterns in TypeScript
Kindle Edition
$9.99 $14.99 Paperback
$19.99 $24.99




Design Patterns in Python
Kindle Edition
$9.99 $14.99 Paperback
$19.99 $24.99




Upgrade/Downgrade Grafana

Video Lecture

Upgrade/Downgrade Grafana Upgrade/Downgrade Grafana Upgrade/Downgrade Grafana

Upgrading Grafana

Grafana is updated very regularly.

When using the open source version of Grafana, you need to manage updates yourself and at your own risk.

The open source version comes with no promise of backwards compatibility, so upgrading may affect how any dashboards, visualizations, data sources, etc work.

Depending on how you initially installed Grafana, e.g., if you used the Ubuntu method of downloading the package from the official Grafana download page as described at https://grafana.com/grafana/download/8.2.3?edition=oss, then you only need to download the new version that you want, eg 8.2.4, and prepare the commands for your operating system.

E.g., for Ubuntu 20.4 LTS

wget https://dl.grafana.com/oss/release/grafana_8.2.4_amd64.deb
sudo dpkg -i grafana_8.2.4_amd64.deb

The Grafana service should restart automatically over a period of about a minute. You will then be using the version that you've updated to.

Remember that upgrading is done at your own risk. If you consider that the upgrade was detrimental, you can downgrade back to your previous version by using the same method.

To minimize potential backwards compatibility issues when upgrading, it is better to upgrade 1 patch at a time until you get to the version that you desire. That way you can look at the change log documentation at https://grafana.com/docs/grafana/latest/release-notes/ to get a clue about how to fix any errors that you may suddenly have.

Also, before starting your upgrade task, you can use your cloud provider to create a snapshot of your server, in case you need to recover from it later. When using Digital Ocean, there is a menu item under the settings for your server that allows you to create a live snapshot. You can later rebuild a system using that snapshot if ever needed. Other cloud providers should provide similar backup and recovery functionality.

Downgrading Grafana

If you upgraded Grafana, and you've decided later that you don't want it, you can downgrade back to the version that you had before.

If you kept the downloaded install packages from the first time, then you can just re use it and rerun the dpkg(Ubuntu) command from earlier.

Eg, downgrade back to 8.2.3

sudo dpkg -i grafana_8.2.3_amd64.deb