Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
We have to upgrade Thingworx 8.5.1 to 9.3.x.
Tools:
Thingworx Installer - 8.5.1
Java - jdk1.8.0_171
PostgreSQL - 10
Trying to simulate in test environment. While installing Thingworx 8.5.1 getting following error,
Logs:
[2022-12-23T02:44:22-08:00] INFO: windows_service[ThingWorx-Foundation] configured.
[2022-12-23T02:45:23-08:00] ERROR: Running exception handlers
[2022-12-23T02:45:23-08:00] ERROR: Exception handlers complete
[2022-12-23T02:45:23-08:00] FATAL: Stacktrace dumped to c:/progra~2/thingw~1.1/installer/foundation/local-mode-cache/cache/chef-stacktrace.out
[2022-12-23T02:45:23-08:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2022-12-23T02:45:23-08:00] FATAL: Chef::Exceptions::MultipleFailures: Multiple failures occurred:
* Timeout::Error occurred in delayed notification: Timeout::Error
* Timeout::Error occurred in delayed notification: Timeout::Error
Attached logs from C:\Program Files (x86)\ThingWorxFoundation-8.5.1\installer\logs
Solved! Go to Solution.
Unfortunately, we don't find c:/progra~2/thingw~1.1/installer/foundation/local-mode-cache/cache/chef-stacktrace.out.
By seeing ThingWorxFoundation_install.log file,
[02:40:17] - Valid Java executable path: C:/Program Files/Java/jdk-11.0.13/bin/java.exe...
[02:40:17] - HOST_JAVA_HOME path: C:\PROGRA~1\Java\JDK-11~1.13...
That system environment variable JAVA path referring jdk 1.8. But, installer taking jdk 11.
So, i uninstalled java 11 and tried. Installed Thingworx 8.5.1 with installer.
If you look in the foundation- log, you'll see these 2 lines:
Stacktrace dumped to c:/progra~2/thingw~1.1/installer/foundation/local-mode-cache/cache/chef-stacktrace.out
[2022-12-23T02:45:23-08:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
It is documented in the Support Articles that you'd need to check that file in order to understand what went wrong.
(Since 9.3.3 for example, I had a very strange behavior when the upgrade failed because the powershell script files we use for this were not digitally signed, so I needed to modify the Execution Policy to remove this restriction - only then it worked).
In your case it can be anything, but you need to find the root cause first.
Unfortunately, we don't find c:/progra~2/thingw~1.1/installer/foundation/local-mode-cache/cache/chef-stacktrace.out.
By seeing ThingWorxFoundation_install.log file,
[02:40:17] - Valid Java executable path: C:/Program Files/Java/jdk-11.0.13/bin/java.exe...
[02:40:17] - HOST_JAVA_HOME path: C:\PROGRA~1\Java\JDK-11~1.13...
That system environment variable JAVA path referring jdk 1.8. But, installer taking jdk 11.
So, i uninstalled java 11 and tried. Installed Thingworx 8.5.1 with installer.