Skip to content

Manual Upgrade of Grafana within openHistorian

J. Ritchie Carroll edited this page Oct 29, 2020 · 2 revisions
  1. Download the "Standalone Windows Binaries" for target Grafana version:
    1. 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
    2. Stop the openHistorian service and close all related openHistorian applications
  2. 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
  3. Rename the existing Grafana folder in the openHistorian to save existing Grafana version in case upgrade fails:
    1. In the primary openHistorian installation folder there is a sub-folder called Grafana, e.g.: C:\Program Files\openHistorian\Grafana
    2. Rename this folder to something appropriate, perhaps with target version number, e.g.: C:\Program Files\openHistorian\Grafana6.1
  4. Unzip latest Grafana from downloaded binary zip files into the openHistorian folder:
    1. Unzip root folder in zip file, e.g., grafana-7.2.2, into C:\Program Files\openHistorian\
    2. There will be several thousand files to unzip
  5. Rename unzipped Grafana folder, e.g., grafana-7.2.2, to Grafana
  6. Copy the original conf\custom.ini file to the new Grafana folder, e.g.:
    1. Source: C:\Program Files\openHistorian\Grafana6.1\conf\custom.ini
    2. Destination: C:\Program Files\openHistorian\Grafana\conf\
  7. Copy the original data folder to the new Grafana folder, e.g.:
    1. Source: C:\Program Files\openHistorian\Grafana6.1\data
    2. Destination: C:\Program Files\openHistorian\Grafana\
  8. Restart openHistorian and test new Grafana instance