-
Notifications
You must be signed in to change notification settings - Fork 51
Manual Upgrade of Grafana within openHistorian
J. Ritchie Carroll edited this page Oct 29, 2020
·
2 revisions
- Download the "Standalone Windows Binaries" for target Grafana version:
- It is important to get the binary files, not the installer, this download will have a name like:
grafana-7.2.2.windows-amd64.zip
- Stop the openHistorian service and close all related openHistorian applications
- It is important to get the binary files, not the installer, this download will have a name like:
- You may need to go to Task Manager on Windows to close all running applications as other users may have logged into the same system and opened openHistorian apps
- Rename the existing Grafana folder in the openHistorian to save existing Grafana version in case upgrade fails:
- In the primary openHistorian installation folder there is a sub-folder called Grafana, e.g.:
C:\Program Files\openHistorian\Grafana
- Rename this folder to something appropriate, perhaps with target version number, e.g.:
C:\Program Files\openHistorian\Grafana6.1
- In the primary openHistorian installation folder there is a sub-folder called Grafana, e.g.:
- Unzip latest Grafana from downloaded binary zip files into the openHistorian folder:
- Unzip root folder in zip file, e.g.,
grafana-7.2.2
, intoC:\Program Files\openHistorian\
- There will be several thousand files to unzip
- Unzip root folder in zip file, e.g.,
- Rename unzipped Grafana folder, e.g.,
grafana-7.2.2
, toGrafana
- Copy the original
conf\custom.ini
file to the new Grafana folder, e.g.:- Source:
C:\Program Files\openHistorian\Grafana6.1\conf\custom.ini
- Destination:
C:\Program Files\openHistorian\Grafana\conf\
- Source:
- Copy the original
data
folder to the new Grafana folder, e.g.:- Source:
C:\Program Files\openHistorian\Grafana6.1\data
- Destination:
C:\Program Files\openHistorian\Grafana\
- Source:
- Restart openHistorian and test new Grafana instance