lexpredict-contraxsuite-deploy icon indicating copy to clipboard operation
lexpredict-contraxsuite-deploy copied to clipboard

Using Contraxsuite

Open Davidrokk opened this issue 7 years ago • 6 comments

I've deployed contraxsuite on server using SSH. Now, I am unable to understand that how the System will run. I wrote localhost:8001 and 127.0.0.1:8001 in browser but it doesn't respond. (I have convas theme and JQwidget as well and all components, i.e. celery, postgresql, elasticsearch are running.)

Davidrokk avatar Mar 17 '18 11:03 Davidrokk

Try to use localhost or 127.0.0.1 , i.e. don't use port

reddalexx avatar Mar 17 '18 14:03 reddalexx

screenshot from 2018-03-19 13-24-10

What should me do now?

Davidrokk avatar Mar 19 '18 08:03 Davidrokk

It means that uwsgi didn't start properly. If you have installation log we could check it. Either check uwsgi log file /var/log/uwsgi/contrax.log for errors

this command will restart uwsgi: sudo systemctl restart contrax_uwsgi and this command will give uwsgi status sudo systemctl status contrax_uwsgi

reddalexx avatar Mar 19 '18 09:03 reddalexx

Hi @reddalexx ! The issue is solved by using IP of server and respective port. i.e. http://X.X.X.X:65080

I have another issue while uploading documents, The progress is still at zero percent even after an hour.

screenshot from 2018-03-19 15-41-00

Log: INFO 2018-03-19 10:40:32,248 | Start task "Load Documents", id=4 INFO 2018-03-19 10:40:32,252 | Parse /media/data/documents/lexpredict-contraxsuite-samples/agreements/construction/ at NginxFileAccess: http://contrax_uwsgi:80/media/data/documents/ INFO 2018-03-19 10:40:32,259 | Detected 0 files. Added 0 subtasks. INFO 2018-03-19 10:40:32,265 | End of main task "Load Documents", id=4

Davidrokk avatar Mar 19 '18 10:03 Davidrokk

Firstly you should upload files into system: Main Menu > Tasks > Browse/Upload Documents just create a folder there and upload files The second step is Main Menu > Tasks > Admin Tasks > Run Task button > Load Data > Load Documents and point to that folder with documents you created above

I think you just missed step#1 and the application couldn't find files on server

reddalexx avatar Mar 19 '18 11:03 reddalexx

I uploaded Documents (step1), and then performed step2 again. But the log is same,

Task (name=Load Documents, celery_id=3dc9fd84-c84b-44e1-9403-27ed76a794b6)

ID | 9 Name | Load Documents Log | INFO 2018-03-19 11:30:31,054 | Start task "Load Documents", id=9INFO 2018-03-19 11:30:31,058 | Parse /media/data/documents/TestDocs/ at NginxFileAccess: http://contrax_uwsgi:80/media/data/documents/INFO 2018-03-19 11:30:31,068 | Detected 0 files. Added 0 subtasks.INFO 2018-03-19 11:30:31,073 | End of main task "Load Documents", id=9

Davidrokk avatar Mar 19 '18 11:03 Davidrokk