Error when performing unattended installation of On-Premises Contrast UI

  • Updated

Issue

When running an unattended installation of the Contrast UI with a distributed database configuration, the following error is encountered:

Unpacking JRE ...
Starting Installer ...
The installation directory has been set to /usr/local/contrast.
Organization Name: Contrast Security
Applications: 100
Expires: Dec 31, 2024


This text field must not be left empty.
Rolling back changes ...

Cause

An unattended installation of the On-Premises Contrast UI requires a varfile which is generated by first running an interactive installation to ensure all user responses are captured and installation will be successful when running in unattended mode.

When the test installation is completed, the varfile is located at <CONTRAST_HOME>/.install4j/response.varfile

For security reasons, this file contains no sensitive data, so in the case of an installation configured to use a distributed database, the database password is omitted.  This is the empty text field referred to in the error message.

Resolution

To resolve the issue, add a line to the varfile as follows:

db_dist_password=<your database password>

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request