Upgrading HERO

You can upgrade your HERO installation from V1.0.0.6 to V1.0.0.7. If you start from previous versions, you can only get a fresh install of V1.0.0.7.

 

Run the following procedure:

 

  1. From Keycloak administration console, in the left side navigation bar, select Clients > nginx. From the tab Credentials, copy the content of the field Secret and save it.

  2. Backup the content of the build folder of the previous HERO installation and keep track of the value assigned to the parameters asked in prompts by the installation script.  

  3. From <HERO_installation_dir> directory, run the command rm -rf * & rm .tomcat.env

  4. Unzip V1.0.0.7 HERO package in the same <HERO_installation_dir> directory.

  5. Edit the following files:

    ui.properties in <hero_home>/CONFIGURATION/HERO/

    .tomcat.env in <hero_home>/

    and replace the secret key with the value you saved in step 1.

  6. Edit opensearch.yaml in <hero-home>/DEVOPS/elasticsearch/config/ and update path.data value to “/var/lib/elasticsearch”.

    Note: the value of path.data in opensearch.yml should be the same as the hero-es-data volume value in docker-compose.yaml  present in <hero-home>.

  1. Launch the installation (see Installing and Configuring HERO) and reply with 'n' when the installation procedure prompts you the question "Do you want to prune Hero volumes [y/n]:"

  2. Log into HERO UI and for all the already existing HERO servers click the gear button and select Refresh Server.

 

 

 

 

 

Leave feedback