The default location of ThingworxPlatform directory should be Root Directory.
Could you please try moving the ThingworxPlatform directory to root Directory.
If desired, the location of the ThingworxPlatform can be changed by defining the environment variable THINGWORX_PLATFORM_SETTINGS and setting its value to the desired path where the platform-settings.json file can be found.
Do let us know if you still face any issue.
Please refer to the system requirement guide, only Ubuntu 14.04 LTE has been fully tested and therefore, supported.
What backend database are you installing? I'm assuming, postgresql. If so, what version? Only 9.4.5+ (but not 9.5) is supported.That being said, please do check that the ThingworxPlatform folder is in the root and same partition as tomcat and ThingworxStorage (unless otherwise specified in your Thingworx_Platform_Settings).
Also do check that the database scripts actually ran and conoleted for both database and schema setup. If you have pgadmin III installed, make sure tables were created for Thingworx database.
Thank you for your response.
I have done all the changes as advised by you. It is still refusing to work and stops at the same error.
I have moved all the 3 folders ThingworxPlatform, ThingworxBackupStorage and ThingworxStorage under Root folder of the Root user. Provided necessary permission to the Tomcat user.
Can we please connect through Teamviewer and guide me on this installation? Please let me know.
Could you please provide the answers to my questions above?
- What is your version of postgresql (if you are using postgresql)?
- If postgresql, have the scripts (database and schema setup) run and completed successfully? Check with PgadminIII that tables for thingworx database were indeed created.
- What is your version of Java and tomcat?
I got rid of the above exception. It now initialized the platform storage. Created all three folders in root and it solved my problem.
Got into another issue -
HTTP Status 401 – Unauthorized
Type Status Report
Message Could not handle request
Description The request has not been applied because it lacks valid authentication credentials for the target resource.
I am using the following -
Linux - Ubuntu 16.04
Tomcat - 8.5.13
Postgres - 9.5.6
Thingworx - 7.3 SP2
Java version - 1.8.0_121
I have verified in pgaadmin and all the tables, schema are intact.
Do you think is it the version issue now? Please advice