Article - CS301943

ThingWorx Navigate 1.8 installer fails leaving only Navigate and Postgres install logs

Modified: 12-Oct-2023   


Applies To

  • Windchill Navigate (formerly ThingWorx Navigate) 1.8.0

Description

  • ThingWorx Navigate 1.8 installer fails leaving only Navigate and Postgres install logs
  • ThingWorx Navigate 1.9 installer fails leaving only Navigate and Postgres install logs
  • Installer failure automatically invokes uninstaller
  • Uninstaller deletes folder structure beneath ThingworxNavigate folder
  • Deleted folders include all detailed logs
  • Only ThingworxNavigate-install.log and twxFoundationPostgres_install.log are left for troubleshooting
  • ThingworxNavigate-install.log contains this sequence:
Deploy ThingWorx Platform...
Executing C:\Program Files (x86)\PTC\ThingworxNavigate\SubInstallers\ThingWorxPostgresInstaller\twxFoundationPostgres-1.0.3-windows-installer.exe
Error running C:\Program Files (x86)\PTC\ThingworxNavigate\SubInstallers\ThingWorxPostgresInstaller\twxFoundationPostgres-1.0.3-windows-installer.exe --mode unattended --accept_eula YES --installdir C:\PROGRA~2\PTC\THINGW~1 --NEW_TWX_PASSWORD **** --TWX_PORT 8088 --SSLTWX_PORT "" --CERTIFICATE_ALIAS_NAME "" --CERTIFICATE_ALIAS_PASSWORD "" --INITIAL_HEAP 1024 --MAX_HEAP 2048 --CONFIGURE_SSL 0 --KEYSTORE_FILE_PATH "" --KEYSTORE_FILE_PASSWORD "" --POSTGRES_IP_ADDR <host> --POSTGRES_PORT 5432 --POSTGRES_ADMIN_USERNAME postgres --POSTGRES_ADMIN_PASSWORD **** --TWX_DB_LOGIN_USERNAME usctxnav --TWX_DB_LOGIN_PASSWORD **** --TWX_DB_NAME txnavigate --forceInstallDir 1 --CONFIG_USER ""
                    : Program ended with an error exit code
Problem running post-install step. Installation may not complete correctly
  • Main installer invokes twxFoundationPostgres subinstaller
  • twxFoundationPostgres_install.log contains this sequence:
[11:44:32] - Creation of specified user [SUCCEEDED]
Setting up ThingWorx database ...
Executing cmd
[11:44:33] - ThingWorx database setup: return code = 0
Setting up ThingWorx database schema ...
Executing cmd
[11:44:35] - ThingWorx database schema setup: return code = 0
Unpacking Thingworx...
Executing E:\ptc\Navigate\ThingworxNavigate\scripts\uncompress-files\uncompress-files
Encrypting db password...
Executing E:/ptc/Java/jre/bin/java.exe
Starting Thingworx Foundation Tomcat Service...
Executing tomcat_as_service.bat
Waiting for ThingWorx platform...
Executing .\check-http-response
An error occurred during installation. For more information, review the installation log files. Clicking OK will stop the current installation.
[11:59:14] Step check-http-response script failed  :: 1
  • Logs show that creating database schema and encrypting the database password succeeded
    • twxFoundationPostgres subinstaller continued past database setup steps
    • twxFoundationPostgres subinstaller invoked check-http-response utility
    • check-http-response tries to connect to ThingWorx
    • check-http-response fails if any response code other than 200 is received
    • check-http-response fails if timeout (5 minutes) is exceeded
  • twxFoundationPostgres_install.log shows check-http-response failed
  • twxFoundationPostgres subinstaller passes error code to main installer and terminates
  • Main installer logs error condition returned by twxFoundationPostgres subinstaller
  • Main installer continues to execute installation code
  • Many subsequent installation steps fail because there is no connection to ThingWorx
  • Main installer logs failure of Main installer and invokes uninstaller
  • Uninstaller deletes folders and files
  • ThingworxNavigate-install.log and twxFoundationPostgres_install.log provide no specifics as to why check-http-response failed
  • Troubleshooting staff is left to speculate about possible causes
    • This is time consuming and usually unproductive
This is a printer-friendly version of Article 301943 and may be out of date. For the latest version click CS301943