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

ThingWorx fails to start after fresh installation

Re: ThingWorx fails to start after fresh installation

Hello,

Some colleagues of mine and I have been facing the same exact issues while trying to install Thingworx. We have done the same troubleshooting as outlined above and no solution has worked.

Hopefully the issue is resolved soon... any other suggestions would be much appreciated!

Re: ThingWorx fails to start after fresh installation

Have you previously installed another version of postgresql?

We can do a quick webex tomorrow.

Re: ThingWorx fails to start after fresh installation

Can you include me on the WebEx as well?

Re: ThingWorx fails to start after fresh installation

Sure,  what timezone are you in?

Re: ThingWorx fails to start after fresh installation

Hi Polina,

Yes I installed postgresql 9.4.9-1 for Thingworx 7.4 previously.

For Thingworx 8.0, I uninstalled it and installed 9.4.13-1 now.

A WebEx will be perfect. I'm in Istanbul/Turkey UTC+3:00 time zone. Anytime between10:00-17:00 would be fine. Thanks

Re: ThingWorx fails to start after fresh installation

I am in PST, so it may be hard to coordinate with Ozgur.

It seems like it may be a licensing error on my end...

Re: ThingWorx fails to start after fresh installation

I can have a separate session with you tomorrow as I'm out of the office right now. In the meantime, if you search the community for "licensing error in Windows", there should be a blog post authored by me. Please try applying that method (specifying the license path as an environment variable in system path *instead* of tomcat Java options).

Re: ThingWorx fails to start after fresh installation

You might have traces of an old installation in your system if uninstalled improperly. One way to check is to look for the registry entries. Since this is a new installation and there is no fear of data loss, I would do a clean install. Please refer to this blog on how to clean up your registry and fully remove postgresql. Ensuring PostgreSQL database is fully removed

Re: ThingWorx fails to start after fresh installation

Hi Polina,

I uninstalled everything and started to install from scratch. I used:

- Java: jdk-8u144-windows-x64.exe

- Tomcat: apache-tomcat-8.5.20.exe

- PostgreSQL: postgresql-9.4.13-1-windows-x64.exe

Tomcat is working, user "twadmin" is created in postgresql and "ThingworxPostgresqlStorage" folder is created with full access. Read only check can't be removed in Windows 10 (I don't know why)

When I want to run thingworxPostgresDBSetup.bat below issues occur:

1. "thingworx" tablespace is created but no thingworx database!

2. An empty "PG_9.4_201409291" folder is created in C:\ThingworxPostgresqlStorage

3. Below error message returns.

Re: ThingWorx fails to start after fresh installation

Problem solved!

I found out that the path for "ThingworxPostgresqlStorage" folder in the thingworxPostgresDBSetup.bat file needs to be edited according to the used drive (C,D...)