Skip to main content
1-Visitor
March 24, 2020
Question

Issue installing Thingworx 8.5.4

  • March 24, 2020
  • 2 replies
  • 5269 views

Hello community,

 i have a issue in last step of thingworx installation.

this is my the last rows of my  log:

 

Install ThingWorx Using Chef
Configuring Installer...
Executing C:\opscode\chef\embedded\bin\openssl
Configuring Installer...
Executing C:\opscode\chef\embedded\bin\openssl
Configuring Installer keystore...
Executing C:\opscode\chef\bin\knife
Encrypting installer secrets...
Executing C:\opscode\chef\bin\knife
ThingWorx Foundation for PostgreSQL Installation in Progress...
Executing C:\opscode\chef\bin\chef-client
Error running C:\opscode\chef\bin\chef-client -z --config "C:/THINGW~1\installer\foundation\knife.rb" -j "C:/THINGW~1\installer\foundation.json" -L "C:/THINGW~1\installer\logs\foundation-20200324180642.log": Program ended with an error exit code
[18:09:20] ThingWorx Foundation for PostgreSQL: rc=1
[18:09:20] foundation Installation Failed
[18:09:20] - Post Installation Action List: Step install via chef script failed :: 1
A problem occurred during installation that may cause an unsuccessful installation.
foundation Installation Failed
[18:09:30] - Clearing C:/THINGW~1\scripts" Directory

Post Installation Actions
[18:09:30] -
Default Install Dir :C:\Program Files (x86)\ThingWorxFoundation-8.5.4
Current Install Dir : C:\THINGW~1

[18:09:30] -
Clearing Default Installation Directory

 

 

Software is installed on Windows server 2016 with java version 

C:\Users\Administrator>java -version
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)

 

and postgres 10 

attached my path settings 

 

Could someone help me with this?

 

Thank you.

 

2 replies

Support
March 24, 2020

Hi @Giovanni.

 

Try removing JAVA_HOME from the environment variables and change the path to use the JRE instead of the JDK.  Before re-running the installer, you'll need to make sure artifacts from the previous attempt are removed, such as the service, etc., otherwise the next attempt may also fail.

 

Of your next installation attempt fails, once you get the message regarding the failure, hold off on hitting the OK button.  Then navigate to the installation folder on the file system and search for the installer logs.  Attach that here and then you can hit OK to proceed with the cleanup.

 

Regards.

 

--Sharon

Giovanni1-VisitorAuthor
1-Visitor
March 25, 2020

Hello Sharon,

 thank you for your reply.

Attached the logs requested.

 

Just for you information my server is a vm so i reverted the machine to original installation so the installation was made with clear windows settings.

 

Regards

17-Peridot
March 25, 2020

Hi,

 

JAVA_HOME should not contain bin, please change JAVA_HOME path without bin, e.g. C:\Program Files\Java\jdk1.8.0_191

 

After this, redo the installation on a clean VM.

 

Thanks,

Raluca Edu

Support
April 3, 2020

Hi @Giovanni.

 

If you have resolved your issue, please post the solution here.  If not, please advise if a case would be helpful.

 

Regards.

 

--Sharon