cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Thingworx 10 foundation installation failed !

Mayur_B
10-Marble

Thingworx 10 foundation installation failed !

I am trying to install Thingworx 10 using foundation installer for postgresql.

I have met all the prerequisite to install thingworx and also checked all the required configuration for postgresql required for thingworx. while installing thingworx using installer its failing in the end saying installation failed exiting now. There is not additional message provided so its kind of unknown to me why it is failing.

Key points: - 

  • I am not using any ssl while going through setup process. 
  • created required db and all the configuration is done for connection.
  • all the paths are inplace
  • phb_conf file is updated as per requirement.
  • after exit from installation there are no residue of process so can't track the root cause.

Need help on this issue unable to install thingworx 10.

 

ACCEPTED SOLUTION

Accepted Solutions

Thanks @slangley  for you response.

residue of previous installation gets wiped out automatically whenever installation gets failed due to unknown error and also i have set required env. variables too. but it was still happening but later even before you posted this response i was trying out different things with it and I'm thinking one of the things which worked for my installation got successful its passing the full path of variable in path instead using variables (it should work with variables too but that is what i tried) along with adding postgres path with and without bin earlier it was without bin along with some other minor things i tried which help me complete the installation successful.

View solution in original post

10 REPLIES 10
VladimirN
24-Ruby III
(To:Mayur_B)

remy
21-Topaz I
(To:VladimirN)

By chance was this article of any help : https://www.ptc.com/en/support/article/CS329897?source=search 

Mayur_B
10-Marble
(To:remy)

Thanks @remy  for the article as per article i have those things in place already but still issue is there.

Thanks for these articles out of them one article is something has similar problem mentioned but, in my case, resolution is already the same having right language set. I'm still looking into it this time im trying to see if i can capture some logs to share it here.

Mayur_B
10-Marble
(To:Mayur_B)

These are the saved logs before installation got failed. 

Wanted to also highlight I'm not continuing with ssl fields so i uncheck the box and also jdk21 path have been given till bin in the system variable instead of %Java_Home%. im also having JavaHome system variable.

 

 

 

 

slangley
23-Emerald III
(To:Mayur_B)

Hi @Mayur_B 

 

We would need to take a look at the installation logs.  Refer to section H on this page for log locations.

 

 If you're installing on Windows, be sure to run the installer as Administrator.  Since you're having issues, it's best to open a command prompt Window (as Administrator) and run the executable with the --debuglevel 4 switch.  For example:

 

 

Some things to check:

 

  • The database and database user have to be created before running the installer.  While the installer is running, validate that tables are getting created.  If not, the issue may be in the PostgreSQL config.
  • Is the Tomcat service getting created?  In some environments, restrictions can prevent service creation.

 

Just as a sanity check, what versions are you running of the following:

 

  • Operating system
  • Java JDK
  • PostgreSQL

 

Regards.

 

--Sharon

slangley
23-Emerald III
(To:slangley)

Hi @Mayur_B 

 

Apologies that I failed to see that you had provided logs in your last post.  It would still be best to run the installer again with the --debuglevel 4 option as it will capture more logging that will aid in our investigation.

 

Also, if you are installing on a system that previously had a ThingWorx install, you may need to clean up old artifacts, such as the THINGWORX_PLATFORM_SETTINGS in the system environment variable, and any old folders.  Make sure Java home is set correctly.  I wasn't clear on what you were saying in this regard in your last post. If you provide a screenshot, we can validate.  You also need to add the <jdk_home>/bin directory to the path. 

 

Regards.

 

--Sharon

Thanks @slangley  for you response.

residue of previous installation gets wiped out automatically whenever installation gets failed due to unknown error and also i have set required env. variables too. but it was still happening but later even before you posted this response i was trying out different things with it and I'm thinking one of the things which worked for my installation got successful its passing the full path of variable in path instead using variables (it should work with variables too but that is what i tried) along with adding postgres path with and without bin earlier it was without bin along with some other minor things i tried which help me complete the installation successful.

slangley
23-Emerald III
(To:Mayur_B)

Hi @Mayur_B 

 

Glad you got it to work.

 

One note.....On Windows, the logs for a failed installation are saved under the profile that ran the install.  For example:
 

C:\Users\<userID>\AppData\Local\Temp\ThingWorxFoundation_Failed_installs\

 

Section H of the Help Center documents the location of all logs.

 

Regards.

 

--Sharon

yeah @slangley  I did check that and also uploaded them in above reply. 

In those logs I couldn't find main issue, but it was mainly showing errors for chef knife installation even after installing it separately it was keep failing and those logs get disappear once installation fails so it's difficult to retrieve all the logs before they get disappear but yeah it is a very helpful way to track the issue.

Announcements


Top Tags