LexPredict / lexpredict-contraxsuite

LexPredict ContraxSuite
GNU Affero General Public License v3.0
165 stars 61 forks source link

ContraxSuite live url - installation issues #30

Open pdombkins opened 6 years ago

pdombkins commented 6 years ago

Our contractor has faced issues with the ContraxSuite live url: whilst all links below the localhost url are working, when configured below localhost url with nginx then all links below the live url are broken and not working correctly - except for /jupyter url.

We have followed all docs of ContraxSuite to fix live url issues. but are still not able to fix issues.

Localhost url: http://localhost:8888 http://localhost:65080/advanced/ http://localhost:65080/api/ http://localhost:65080/rest-auth/ http://localhost:5601

live url: https://contraxsuite.logicontract.com.au/ (not working) https://contraxsuite.logicontract.com.au/jupyter (working) (password= Administrator ) https://contraxsuite.logicontract.com.au/advanced (not working) https://contraxsuite.logicontract.com.au/api (not working) https://contraxsuite.logicontract.com.au/rest-auth (not working) https://contraxsuite.logicontract.com.au/kibana (not working)

ericlex commented 6 years ago

Hello - We would need more information & logs in order to troubleshoot this, however, both environments should be running SSL. Also, we use nginx to allow everything to run on port 443, and not require port numbers in the URL. You may email us logs at support@lexpredict.com and we will respond to them as soon as possible.

For information on quick start packages, professional setup & support packages with SLAs please email contact@lexpredict.com

sysadmin1991 commented 6 years ago

Below is the error logs of nginx.

###############################

2018/06/05 11:50:32 [error] 4726#4726: 13 open() "/data/contraxsuite-frontend/static/js/project.js" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/js/project.js HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/advanced" 2018/06/05 11:50:32 [error] 4726#4726: 14 open() "/data/contraxsuite-frontend/static/vendor/tagsinput/bootstrap-tagsinput.js" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/vendor/tagsinput/bootstrap-tagsinput.js HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/advanced" 2018/06/05 11:50:33 [error] 4726#4726: 15 open() "/data/contraxsuite-frontend/static/images/contraxsuite_logo.png" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/images/contraxsuite_logo.png HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/advanced" 2018/06/05 11:50:33 [error] 4726#4726: 8 open() "/data/contraxsuite-frontend/static/theme/js/jquery.js" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/theme/js/jquery.js HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/rest-auth" 2018/06/05 11:50:33 [error] 4726#4726: 6 open() "/data/contraxsuite-frontend/static/theme/js/plugins.js" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/theme/js/plugins.js HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/rest-auth" 2018/06/05 11:50:33 [error] 4726#4726: 7 open() "/data/contraxsuite-frontend/static/vendor/tagsinput/bootstrap-tagsinput.js" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/vendor/tagsinput/bootstrap-tagsinput.js HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/rest-auth" 2018/06/05 11:50:33 [error] 4726#4726: 13 open() "/data/contraxsuite-frontend/static/js/project.js" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/js/project.js HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/rest-auth" 2018/06/05 11:50:33 [error] 4726#4726: 14 open() "/data/contraxsuite-frontend/static/theme/js/functions.js" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/theme/js/functions.js HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/rest-auth" 2018/06/05 11:50:33 [error] 4726#4726: 15 open() "/data/contraxsuite-frontend/static/images/contraxsuite_logo.png" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/images/contraxsuite_logo.png HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/rest-auth" 2018/06/05 11:50:33 [error] 4726#4726: 7 open() "/data/contraxsuite-frontend/static/vendor/tagsinput/bootstrap-tagsinput.js" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/vendor/tagsinput/bootstrap-tagsinput.js HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/advanced" 2018/06/05 11:50:34 [error] 4726#4726: 7 open() "/data/contraxsuite-frontend/static/vendor/tagsinput/bootstrap-tagsinput.js" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/vendor/tagsinput/bootstrap-tagsinput.js HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/rest-auth" 2018/06/05 11:50:34 [error] 4726#4726: 15 open() "/data/contraxsuite-frontend/static/js/project.js" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/js/project.js HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/advanced" 2018/06/05 11:50:34 [error] 4726#4726: 15 open() "/data/contraxsuite-frontend/static/js/project.js" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/js/project.js HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/rest-auth" 2018/06/05 11:50:34 [error] 4726#4726: 7 open() "/data/contraxsuite-frontend/static/images/favicon.ico" failed (2: No such file or directory), client: 157.39.201.180, server: contraxsuite.logicontract.com.au, request: "GET /static/images/favicon.ico HTTP/1.1", host: "contraxsuite.logicontract.com.au", referrer: "https://contraxsuite.logicontract.com.au/advanced" ###########################################