Data Insight Upgrade or Install Hangs at Extracting Files on Non-English OS

Data Insight Upgrade or Install Hangs at Extracting Files on Non-English OS

Article: 100051549
Last Published: 2021-10-08
Ratings: 2 0
Product(s): Data Insight

Problem

During the installation or upgrade of Data Insight 6.1.6 or 6.2 on non English OS, the installer may hang at the extracting files stage

Error Message

No error message is reported

Cause

During the installation or upgrade the TLS certificates are deported and imported into the keystore

On certain non-English OS deployments a confirmation prompt is not handled properly by the installer causing the certificate process to fail 

Solution

To confirm the issue, you can refer to the <INSTALLDIR>\Program Files\DataInsight\log\cli0.0.log to see that the process ends as per this example:

2021-06-02 15:44:29 INFO:    #{1} [ConfigUtils.createCerts] Generating SSL related certificates
2021-06-02 15:44:30 INFO:    #{1} [ConfigUtils.getDataDir] Matrix data dir: E:/DataInsight/data
2021-06-02 15:44:30 INFO:    #{1} [ConfigUtils.getNodename] Reading nodename from E:\DataInsight\data\conf\nodename.conf
2021-06-02 15:44:30 INFO:    #{1} [ConfigUtils.getNodename] nodename: ms.domain.com
2021-06-02 15:44:30 INFO:    #{1} [ConfigUtils.addTrustedCertificate] Adding trusted-certificate to: E:/DataInsight/data\keys\commd.keystore

A normal log will continue past this point like so:

2021-05-31 07:29:40 INFO:    #{1} [ConfigUtils.createCerts] Generating SSL related certificates
2021-05-31 07:29:41 INFO:    #{1} [ConfigUtils.getDataDir] Matrix data dir: E:/DataInsight/data
2021-05-31 07:29:41 INFO:    #{1} [ConfigUtils.getNodename] Reading nodename from E:\DataInsight\data\conf\nodename.conf
2021-05-31 07:29:41 INFO:    #{1} [ConfigUtils.getNodename] nodename: ms.domain.com
2021-05-31 07:29:41 INFO:    #{1} [ConfigUtils.addTrustedCertificate] Adding trusted-certificate to: E:/DataInsight/data\keys\commd.keystore
2021-05-31 07:29:42 INFO:    #{1} [ConfigUtils.addTrustedCertificate] trustedCertEntry added successfully to keystore: E:/DataInsight/data\keys\commd.keystore
2021-05-31 07:29:42 INFO:    #{1} [ConfigUtils.addTrustedCertificate] Deleting C:/DataInsight/data\keys\trustedAlias.crt
2021-05-31 07:29:42 INFO:    #{1} [ConfigUtils.addTrustedCertificate] Adding trusted-certificate to: E:/DataInsight/data\keys\webserver.keystore
2021-05-31 07:29:43 INFO:    #{1} [ConfigUtils.addTrustedCertificate] trustedCertEntry added successfully to keystore: E:/DataInsight/data\keys\webserver.keystore
2021-05-31 07:29:43 INFO:    #{1} [ConfigUtils.addTrustedCertificate] Deleting E:/DataInsight/data\keys\trustedAlias.crt

The installation log will also indicate it has stopped recording during the certificate creation process

[INFO] com.install4j.runtime.beans.actions.control.RunScriptAction [ID 15732]: Execute action
Property script: com.install4j.script.I4jScript_Internal_49
Property rollbackSupported: false
Property rollbackScript: null
Executing: [E:\DataInsight/bin/configcli.exe, create_certs, ms]

If either log continues past processing the certificates, there is a different issue that should be investigated by Veritas Support

Process to resolve certificate issue

This process will require the use of a 3rd party tool known as KeyStore Explorer to be installed on the Data Insight Management Server which can be downloaded here:

KeyStore Explorer (keystore-explorer.org)

There are two certificates that will need to be exported and imported before running the upgrade again.

Import commd certificate to commd.keystore

  1. Using KeyStore Explorer open the commd.keystore located in <DATADIR>\DataInsight\data\keys and check if there is a Tomcat entry
  2. Open a Command Prompt with elevated permissions (Run as administrator) and navigate to <INSTALLDIR>\Program Files\DataInsight\jre\bin

  3. Run the following command to export the certificate from the commd.keystore

    1. > keytool.exe -export -alias tomcat -storepass changeit -keystore commd.keystore -rfc -file tomcattrustedAlias.crt

  4. Using KeyStore Explorer, import the newly created tomcattrustedAlias.crt file with the alias of tomcatTrustedCA

  5. Save and close the commd.keystore in KeyStore Explorer

Import webserver certificate to webserver.keystore

  1. Using KeyStore Explorer open the webserver.keystore located in <DATADIR>\DataInsight\data\keys and check if there is a Tomcat entry

  2. Open a Command Prompt with elevated permissions (Run as administrator) and navigate to <INSTALLDIR>\Program Files\DataInsight\jre\bin

  3. Run the following command to export the certificate from the webserver.keystore

    1. > keytool.exe -export -alias tomcat -storepass changeit -keystore webserver.keystore -rfc -file tomcattrustedAliasWeb.crt

  4. Using KeyStore Explorer, import the newly created tomcattrustedAliasWeb.crt file with the alias of tomcatTrustedCA

  5. Save and close the webserver.keystore in KeyStore Explorer

You can now run the installer once again and it should complete successfully

 

 

Was this content helpful?