How I upgrade Grafana. My development/testing environment runs Grafana on a Debian 11 desktop. The live/production version runs on Windows Server 2016.
Read the release note(s) on the downloads page to see if there's any ominous warnings of things that might break my install
- Backup your database (location varies depending on database engine your install uses)
- Simply download the .deb
- Follow the instructions (though I prefer to use
apt install
instead ofdpkg -i
) - Compare/diff grafana.ini with default.ini for new settings
- Restart the Grafana server
service grafana-server restart
- Done.
Note that if you fail to stop the Grafana server before upgrading, you'll probably get a prompt to reboot the entire server to finish the upgrade!
- Make a copy of
C:\Program Files\GrafanaLabs\grafana\data\plugins
on the desktop - Go to Services (services.msc) > Grafana > right-click > Stop
- Download the .msi installer > run
- Compare/diff custom.ini with default.ini for new settings
- Go to Services (services.msc) > Grafana > right-click > Start
- Done.