When running the FPRUtility I get an error message about being unable to repair the installation.properties file. It seems odd that it would be looking in /usr/bin when my install path is set to /opt/Fortify...
com.fortify.exceptions.FortifyException: Unable to repair installation.properties file. Please run scapostinstall at least once with a user that has permissions to write to the install directory (/usr/bin/../Core/config/installation.properties).
at com.fortify.util.InstallationConfiguration.checkGUID(InstallationConfiguration.java:202)
at com.fortify.util.InstallationConfiguration.loadInstallationProperties(InstallationConfiguration.java:219)
at com.fortify.util.InstallationConfiguration.getProductType(InstallationConfiguration.java:247)
at com.fortify.util.InstallationConfiguration.getProductWorkingDirectory(InstallationConfiguration.java:146)
at com.fortify.awb.AwbLaunch.run(AwbLaunch.java:84)
at com.fortify.awb.AwbLaunch.main(AwbLaunch.java:37)
Caused by: java.io.IOException: No such file or directory
at java.base/java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.base/java.io.File.createNewFile(File.java:1035)
at com.fortify.util.InstallationConfiguration.checkGUID(InstallationConfiguration.java:195)
... 5 more
Installer commands:
./Fortify_SCA_*.run --mode unattended --installdir "$INSTALL_DIR" --fortify_license_path $(pwd)/fortify.license
./Fortify_Apps_and_Tools_*.run --mode unattended --installdir /opt/Fortify/Fortify_Tools_and_Apps_"$FORTIFY_VERSION" --fortify_license_path $(pwd)/fortify.license
I tried creating an empty file at /usr/bin/opt/Fortify/Fortify_SCA_23.1.0/Core/config/installation.properties and /opt/Fortify/Fortify_Tools_and_Apps_23.1.0/Core/config/installation.properties, but that doesn't seem to fix anything.
I wouldn't expect to need to run scapostinstall after doing an unattended install from scratch without attempting migration or anything like that.
Any ideas would be appreciated, thanks.