Skip to main content
1-Visitor
May 29, 2020
Solved

Thingworx Analytics Installation error ERLANG_HOME

  • May 29, 2020
  • 1 reply
  • 7312 views

My issue is similar to this thread, however I have followed the documentation I believe: https://community.ptc.com/t5/ThingWorx-Developers/Issues-installing-Analytics-Setup-ERLANG-HOME/m-p/655100

 

I have Thingworx Foundation installed, now I need to install Analytics.

 

Analytics installation fails. Specifically, "ERLANG_HOME system environment variable is not set correctly. Set ERLANG_HOME to point to where Erlang software is located, for example, C:\Program Files\erl10.0"

 

I do have installed Erlang and set the environment variable for the system. The installation of Analytics still fails.

Possibly relevant: I have not yet installed Analytics Server, as I don't think that is required.

 

To troubleshoot this issue I have done the following:

I have set the environment variable to

C:\Program Files\erl10.0\

C:\Program Files\erl10.0

C:\Program Files\erl10.0\bin\

C:\Program Files\erl10.0\bin

 

I have uninstalled and reinstalled Erlang. 

I have tried version 21.3 (latest supported version)

I have tried an earlier supported version 20.3 (currently installed).

I have done a few restarts.

 

Thanks for any assistance you can provide.

Best answer by Matt-H

Thanks @slangley I logged in today to try again and got in using localhost:8080/Thingworx/Composer/index.html

Though I haven't gotten Platform Analytics installed, I'll close this thread off here because we've resolved the problem of getting Thingworx installed (after uninstalling) has been resolved. When I want to try install Platform Analytics again, I will try and if I have any further issues I will create a new thread. This one has been a beast. Thanks to you and also @nsampat  for your help. Hopefully this thread is helpful to others.

1 reply

17-Peridot
May 29, 2020

Hello @Matt-H ,

 

Thank you for posting to the PTC Community.

 

I understand you are having difficulty with deploying ThingWorx Analytics, around the Erlang pre-requisite.

 

Can you provide more specifics, as Erlang is not required for the Base Application, ThingWorx Analytics Server. Erlang is required for ThingWorx Platform Analytics, which is a separate application.

 

Are you able to provide the versions of ThingWorx Platform Server, ThingWorx Analytics Server you wish to deploy?

 

Also, please note, these variables must be set as a System Variable, not a User Variable.

 

Regards,

 

Neel

17-Peridot
May 29, 2020

@Matt-H ,

 

As a followup, I have taken a screenshot of my working ERLANG_HOME for your reference.

 

Please note the location highlighted in my screenshot:

 

Capture.PNG

 

Regards,

 

Neel