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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

The docker deployment of thingworx is failing.

SK_10166454
4-Participant

The docker deployment of thingworx is failing.

We are trying docker deployment of thingworx on the CentOS VM. We have followed the procedure as given in the documentation. On running the docker-compose command, the command is getting run successfully. But thingworx is not getting up. we checked the docker container status. The Thingworx container is exiting after running docker-compose command. Other containers i.e. ms-sql, mssql init, security-cli are in healthy state.

The logs for the thingworx container were checked. Logs say, "

"Merging reference conf with overrides
/docker-entrypoint.sh: line 65: /usr/local/bin/install-var-dirs.sh: Permission denied". This error was seen multiple times in the container logs. What is the root cause of this issue ? How to fix this and get thingworx running ?

Thanks.

 

 

3 REPLIES 3

Hello @SK_10166454 ,

 

pls check the article explaining the cause and solution of this issue:

https://www.ptc.com/en/support/article/cs350969

 

Also my suggestion is to register the case with PTC support for further analysis.

 

Regards

Bhawna

 

Hi Bhawna, Thanks for the sharing this document. We tried the solution provided in this article, but we are still seeing the same error again. This 'permission denied' error is still coming when we are running docker compose command.

We have also raised ticket on PTC Support.

Thanks.

From "Help Center" - "Using Security-Enhanced Linux for ThingWorx Docker": http://support.ptc.com/help//thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Installation/ThingWorxDockerGuide/thingworx_docker_se-linux.html 

 

Quote: "The most common issue with SELinux is that permission is denied, indicating that SELinux is not working. Permission denied error messages appear when are you are trying to access a system object that is not associated with the program or the user credentials you use for accessing that object. These errors are challenging to resolve; however, there are tools that can help you troubleshoot".

Top Tags