The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
The install in linux was interrupted. Now I am getting the dialog
There has been an error.
Previous installation of Thingworx_Foundation is found. Please uninstall the existing installation and then re-install.
I can't seem to find any docs on how to uninstall.
Solved! Go to Solution.
I finally got it installed. After trying every combination of update-alternatives and update-java-alternatives, I had to uninstall openjdk-11. Only then would TX use oracle-jdk-8.
So what, 5 hours to install the trial. Good thing I was motivated.
I dug around and deleted various directories `*worx*`. Then the install would run again.
But how I get this error dialog, which does not give me much to go on.
Problem running post-install step. Installation may not complete correctly
Error running ./check-http-response --username "Administrator" --password **** --hostname "localhost" --hostport "8448" --useSSL=1: 1
Clicking thru the dialogs results in the main install dialog just saying it "failed"?
Is linux an uncommon install for thingworx?
Found and ran the uninstall script in /opt/twxFoundationH2Trail-8.3.2.
The tried installing again, this time without SSL.
Same error dialog at the end. However there was no install log created this time around.
Was using openjdk, so installed oracle jdk8 and tried again to install...
same error, again no install log (but there was an uninstall log)
Hi @memelet.
For the Administrator password, are you making it at least 10 characters in length? For our newest versions, we require a 14 character password, so you may want to try that instead.
Regards.
--Sharon
The install dialog enforces the password format.
So even though oracle jdk is the default, the install script sets JAVA_HOME as openjdk.
I manually change the JAVA_HOME in the places it is set incorrectly, then started the server. It starts. Can't login with the Adminstrator password I set during the install now...
Is there a way to change it without starting all over (again)?
So I did just ininstall, the install again. Still cannot login as Administrator.
Hi @memelet.
Is the installation now completing successfully? When you say you can't login as Administrator, you're seeing the login dialog, correct?
Can you check for logs located in ..../ThingworxStorage/logs and post them here? We might also need the Tomcat logs.
I did some checking and found there were some issues with the Linux installer. We will have a new version of the ThingWorx trial versions being released in a few weeks which may resolve the issue if we are unable to resolve it in the meantime.
Regards.
--Sharon
(ok, third time trying to reply. I keep getting the big red screen of death)
The install does not complete. But it might be just the final verification that fails.
(so it seems attaching the log is what cause the forum to error out)
here is the tail end of the install log
[12:06:45] - systemd reloaded: rc=0
Configuring Thingworx_Foundation.service service ...
Executing systemctl enable Thingworx_Foundation.service
Script exit code: 0
Script output:
Script stderr:
Created symlink /etc/systemd/system/multi-user.target.wants/Thingworx_Foundation.service → /etc/systemd/system/Thingworx_Foundation.service.
[12:06:45] - service_name service configured:
Starting Thingworx_Foundation.service ...
Executing systemctl start Thingworx_Foundation.service
Script exit code: 0
Script output:
Script stderr:
[12:06:46] - Thingworx_Foundation.service started: rc=0
Waiting for the ThingWorx Platform...
Executing ./check-http-response --username "Administrator" --password **** --hostname "localhost" --hostport "8080" --useSSL=0
Script exit code: 1
Script output:
Verifying ThingWorx Foundation connection ...url http://localhost:8080/Thingworx/Subsystems/PlatformSubsystem/Services/IsRunning
Waiting for platform to start
Waiting for platform to start
Waiting for platform to start
Waiting for platform to start
Waiting for platform to start
Waiting for platform to start
Waiting for platform to start
Waiting for platform to start
Waiting for platform to start
Waiting for platform to start
Error: Status code was not 200 after 5 minutes
Script stderr:
1
Error running ./check-http-response --username "Administrator" --password **** --hostname "localhost" --hostport "8080" --useSSL=0: 1
[12:11:46] Post-Install validation step failed check-http-response script returned ::1 writing file to mark install as failed.
[12:11:46] Post-Install validation step failed
Problem running post-install step. Installation may not complete correctly
Error running ./check-http-response --username "Administrator" --password **** --hostname "localhost" --hostport "8080" --useSSL=0: 1
[12:11:48] - The installation failed. Cleaning up
Problem running post-install step. Installation may not complete correctly
Error occured while running postInstall Validation scripts
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
twxFoundationH2Trial_install.log lines 5705-5764/5768 100%
I finally got it installed. After trying every combination of update-alternatives and update-java-alternatives, I had to uninstall openjdk-11. Only then would TX use oracle-jdk-8.
So what, 5 hours to install the trial. Good thing I was motivated.
Hi @memelet.
Glad to hear you got it working.
For the benefit of others on the community, please mark your last post containing the solution as the Accepted Solution for the benefit of others that may encounter the same issue.
Kudos on your persistence!
Regards.
--Sharon