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

Troubleshooting ThingWorx Analytics – Common Issues in 8.2 & 8.3

Highlighted
Level 9

Troubleshooting ThingWorx Analytics – Common Issues in 8.2 & 8.3

Continuing our series of Troubleshooting ThingWorx Analytics installations, in this IoT Tech Tip we will cover two items have been appearing for many users.

 

Error 1069 Encountered with Native Windows Installation of ThingWorx Analytics 8.2

 

In some instances, when a user successfully installs ThingWorx Analytics (TWAS) to a Windows Server operating system, they will encounter an error where TWAS will report an Error 1069: The Service did not start due to logon failure.

 

This can occur with any individual Service that is created by the installation, the following fix should work in addressing the issue.

 

Primary Reason This Happens:

 

This error can be encountered when the user provides incorrect credentials for associating the Services to an account during installation. In TWAS 8.2, there is a utility that will enable to the user to change the associated user on the Services. It is important the user provides the password for the User Account on Windows, and not the user/password combination for ThingWorx Foundation Platform Server.

 

Steps to Fix Issue

 

Solution 1:

 

Open a Command Prompt as Administrator, via Start Menu à Run à type CMD. Then right click on cmd.exe and Run As Administrator.

 

In the elevated command prompt, change your directory to the ThingWorxAnalyticsServer/bin directory, for example in the default installation path would be: cd C:\Program Files (x86)/ThingWorxAnalyticsServer/bin

Then execute the changeServiceUserAccount.bat <username>, for example: changeServiceUserAccount.bat user1

 

You will be prompted to change the password for the user.

 

Solution 2:

 

If Solution 1 does not resolve the issue, alternately you can manually change the Log On properties for each of the services. The changeServiceUserAccount.bat would do this via script, but on occasion this may work.

Open the Control Panel and navigate to Services, for example: Control Panel à All Control Panel Items à Administrative Tools

 

You will have to right click each individual service and go to Properties à Log On tab and enter the account name and password for the local account. Note: Local System account will not resolve this issue.

 

This issue was resolved in the ThingWorx Analytics Server 8.3 release, where all Services are associated with the Network Service account.

 

 

More information can be found in this Knowledge Article

 

Uploading of a Dataset hangs or does not complete in ThingWorx Analytics 8.3

 

On occasion, after a fresh installation of ThingWorx Analytics Server 8.3 on a Windows Server operating system, a dataset will not complete its upload. Typically no error message is displayed, and the upload wizard UI will just hang on the upload progress after:

 

Creating copy of Configuration File...

Submitting Create Dataset request...

Creating copy of Data File...

 

Primary Reason This Happens:

 

This is caused by twas-zookeeper service being stuck in a PAUSED state. This means that in the post installation, twas-zookeeper did not start.

 

Steps to Fix Issue

 

You will have to double check that the JAVA_HOME variable was defined as a System Variable. In the ThingWorx Analytics Installation guide, pages 12-14 outline the steps required as pre-requisites.

You can change this in Control Panel > System > Advanced Settings > Environment Variables, and ass a new variable named JAVA_HOME under System Variables. The value location should be the location of your deployment of JAVA software.

 

Typically this is located in C:\Program Files\Java\<jre or jdk>_<version number>

 

 

More information can be found in this Knowledge Article