Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello, I have been trying to upgrading my Thingworx foundation installation to V9.3.1 Windows / MSSQL and each time I attempt to run the upgrade, the apache thingworx foundation service gets removed as a windows service and gives me a warning of "ThingWorx Foundation is not running. Please start ThingWorx Foundation and try again". My instance is now stuck and I cannot get the platform up with previous version.
Following the upgrade, I have both Java 8 and java 11 installed following the prerequisites shown via the link below.
However; when I run java -version in cmd prompt, it states Java 11 which I believe should not be the case until the updated version of thingworx is installed.
Any help would be appreciated.
Solved! Go to Solution.
Hi @Ecko665
Which method of upgrade are you using? If you originally used the installer method, check this file to make sure all parameters are still valid:
\ThingWorxFoundation\twxfoundation_report.json
Also, please check the logs located here for insights into the failure:
C:\Users\<userID of user running the installer>\AppData\Local\Temp\ThingWorxFoundation_Failed_installs\
You can also run the installer using this option for capturing more information: --debuglevel 4
Be sure to run the installer as Administrator.
Regards.
--Sharon
Hi @Ecko665
There are a few things to consider when upgrading:
Best practice dictates that you take all backups necessary to ensure recovery if the upgrade fails. If you're running on a VM, a snapshot of the app server and database export should allow for full recovery. If you're not running on a VM, you will need to backup <tomcat_home>, ThingworxStorage, ThingworxPlatform and the folder containing your certificates if not included in the folders already mentioned. As you successfully complete a step, create new backups before proceeding with the next step.
It's also strongly advised that you test the upgrade process in a non-prod environment prior to upgrading prod. Start by refreshing the non-prod database with a copy of the production db. This will allow you to better assess the timing needed for scheduling Prod downtime. You should also run a full regression test once the upgrade has been completed in order to identify any custom extensions, mashups, etc. that require update to run under the new version of ThingWorx.
Please let us know if you have further questions.
Regards.
--Sharon
Hi Sharon,
Thanks for the update.
I am also running Man Apps V 8.5 which I plan on upgrading to v9.1 and I am aware of the requirements and settings for setting up man apps.
I took a full backup of the original platform, along with tomcat and when I try to re-deploy the original version i get an error stating my credentials are incorrect. https://www.ptc.com/en/support/article/CS348472
I verified my Java Home / path settings are as they were prior to the failed upgrade, but the instance does not load and no changes were done to the host or fqdn parameters.
Hi @Ecko665
Which method of upgrade are you using? If you originally used the installer method, check this file to make sure all parameters are still valid:
\ThingWorxFoundation\twxfoundation_report.json
Also, please check the logs located here for insights into the failure:
C:\Users\<userID of user running the installer>\AppData\Local\Temp\ThingWorxFoundation_Failed_installs\
You can also run the installer using this option for capturing more information: --debuglevel 4
Be sure to run the installer as Administrator.
Regards.
--Sharon