docker deployment debug
harshsuri opened this issue · 6 comments
Hi, I followed the steps in the docker deployment section on a fresh Ubuntu 16.04 LTS. Upon checking the services I get the following output
But none of the services are accessible at localhost:65080 or localhost.
Upon digging further, in the docker volume in the folder " contraxsuite_contraxsuite_internal_nginx_logs" I see two entries in error.logs:
8#8: *2 "/etc/nginx/html/index.html" is not found (2: No such file or directory), client: MY_INTERNAL_IP_ADDRESS, server: contrax-nginx, request: "GET / HTTP/1.1", host: "MY_IP_ADDRESS"
I am not able to find proper logs to debug what went wrong in docker deployment. It appears everything installed correctly but nginx logs say otherwise.
Any help or direction on docker deployment will be helpful. Am I missing any steps or pre-configuration in deploying a docker image on a clean ubuntu 16.04?
Hi All, I am experiencing the same issue. Some guidance would be much appreciated as I am sure we are simply missing one step to make it work.
Thanks.
After inspecting the logs from uwsgi container. Everything seems fine as the final message is spawned uWSGI worker 1 (and the only)
Please see attached log files.
But starting line 5703, we see warnings for sklearn version incompatibility
{"log":"/contraxsuite_services/venv/lib/python3.5/site-packages/sklearn/base.py:311: UserWarning: Trying to unpickle estimator SelectKBest from version 0.19.0 when usin g version 0.19.1. This might lead to breaking code or invalid results. Use at your own risk.\n","stream":"stderr","time":"2018-09-09T00:11:31.532591057Z"} {"log":" UserWarning)\n","stream":"stderr","time":"2018-09-09T00:11:31.532629457Z"}
Further in line 5811 and 5812 seems to suggest lacking PCRE support and likely an option --master
missing in config.
{"log":"!!! no internal routing support, rebuild with pcre support !!!\n","stream":"stderr","time":"2018-09-09T00:12:20.574118418Z"}
{"log":"*** WARNING: you are running uWSGI without its master process manager ***\n","stream":"stderr","time":"2018-09-09T00:12:20.574121218Z"}
Adding from nginx logs:
2018/09/09 04:17:43 [emerg] 1#1: host not found in upstream "contrax-uwsgi" in /etc/nginx/conf.d/default.conf:23
2018/09/09 04:35:22 [error] 9#9: *1 "/etc/nginx/html/index.html" is not found (2: No such file or directory), client: 10.255.0.2, server: contrax-nginx, request: "HEAD / HTTP/1.1", host: "52.167.2.22"
Further investingatingt he nginx container, the folder contraxsuite_frontend
is empty which leads to 404 not found. In the compose file a volume is created in contrax-nginx
container but I am not sure if any data is copied into this folder from other containers or volume. Any help is appreciated.
I think the issue is same as #35
No frontend is provided in the release.
Is it part of open source or only for paid customers? Any other way we can test it out ?
Hi - I am getting a similar error. Has this been resolved?