Skip to main content
1-Visitor
May 1, 2020
Solved

Error Installing Thingworx 8.5 trial version on Windows Azure VM

  • May 1, 2020
  • 2 replies
  • 7314 views

I am trying to install the most recent Thingworx 8.5 trial on a Windows 10 Pro Azure VM. The installer always fails with "A problem occurred during installation that may cause an unsuccessful installation. foundation Installation Failed" and then I get another message, "There has been an error. ThingWorx Foundation Trial for H2 installation failed. Please check the logs. The application will exit now." We've tried this install multiple times, with different developer accounts, both SSL and not, to no avail. Upon checking the logs, it looks like the install of the chef client failed (this happens every time). See below (also attached log files). I need this install to develop a POC for a customer, and cannot begin development until we can actually install the trial. Any help is appreciated.

 

"Executing C:\opscode\chef\bin\chef-client
Error running C:\opscode\chef\bin\chef-client -z --config "C:/PROGRA~2/ThingWorxFoundationH2Trial-8.5.0\installer\foundation\knife.rb" -j "C:/PROGRA~2/ThingWorxFoundationH2Trial-8.5.0\installer\foundation.json" -L "C:/PROGRA~2/ThingWorxFoundationH2Trial-8.5.0\installer\logs\foundation-20200501171939.log": Program ended with an error exit code
[17:22:00] ThingWorx Foundation Trial for H2: rc=1
[17:22:00] foundation Installation Failed
[17:22:00] - Post Installation Action List: Step install via chef script failed :: 1"

Best answer by cmorfin

Hi @atidwel 

 

From the log it appears that you are having a JRE installed on the machine which is pointed by the JAVA_HOME environment variable.

You should have a JDK.

Could you please make sure to install a 1.8 JDK and set JAVA_HOME to point to this JDK

Also could be useful to look at  c:/progra~2/thingworxfoundationh2trial-8.5.0/installer/foundation/local-mode-cache/cache/chef-stacktrace.out 

 

Hope this helps

Christophe

 

2 replies

cmorfin19-TanzaniteAnswer
19-Tanzanite
May 4, 2020

Hi @atidwel 

 

From the log it appears that you are having a JRE installed on the machine which is pointed by the JAVA_HOME environment variable.

You should have a JDK.

Could you please make sure to install a 1.8 JDK and set JAVA_HOME to point to this JDK

Also could be useful to look at  c:/progra~2/thingworxfoundationh2trial-8.5.0/installer/foundation/local-mode-cache/cache/chef-stacktrace.out 

 

Hope this helps

Christophe

 

atidwel1-VisitorAuthor
1-Visitor
May 4, 2020

I do have a 1.8 Oracle JDK installed on the machine, but my JAVA_HOME wasn't pointing to it. I'll try that out, thanks!

atidwel1-VisitorAuthor
1-Visitor
May 4, 2020

This worked, thank you so much!

Community Manager
May 4, 2020

Hi @atidwel.

 

If you have run the installer several times, you will need to fully remove the remnants of the previous attempts.  It may be easier to create a new VM.  Also, be sure to fully comply with the system requirements.

 

Regards.

 

--Sharon

atidwel1-VisitorAuthor
1-Visitor
May 4, 2020

I used Program & Features to uninstall, and then used CCleaner to clean the registry files. If there are any remnants of the previous install left, the installer will throw an error and won't run.