-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web server will not start #26
Comments
You need to activate the virtualenv as mentioned in the README:
I hope this helps. |
I have done this as stated in the ticket but still no joy. I am going to try it again today.
From: Alexandre Dulaunoy <notifications@github.com>
Reply-To: MISP/misp-dashboard <reply@reply.github.com>
Date: Wednesday, January 3, 2018 at 3:15 AM
To: MISP/misp-dashboard <misp-dashboard@noreply.github.com>
Cc: Robert Nixon <nixonrobert81@gmail.com>, Author <author@noreply.github.com>
Subject: Re: [MISP/misp-dashboard] Web server will not start (#26)
You need to activate the virtualenv as mentioned in the README:
Activate your virtualenv . ./DASHENV/bin/activate
I hope this helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Dear @robertnixon2003 You do not need to run it as root. Normal privileges are fine. Just before running ./server.py do a: echo $DASH_HOME What does that return? More debug? Do this: export FLASK_DEBUG=1 Let us know what it gives. I tried a fresh install and it worked on 16.04 Sincerely, Steve |
@robertnixon2003 could you run the latest version? @SteveClement did some additional clean-up to make the debugging easier 0fa7140 Thank you |
I just installed the newest version. Had to run it in debug to get it to show up. It was refusing the connection when attempting to view in a browser on my host machine. That is configure able somewhere I guess. Getting this error now when after publishing an event to ZMQ in MISP. (DASHENV) test@ubuntu:~/misp-dashboard$ flask run --host=0.0.0.0 --port=8001 #
|
Ubuntu redis package is old for 16.04.03. I had to download it from the source and use that one. All is working now. Also saw in the config file where to change the host to allow remote access. |
When I run server.py it hangs and does nothing.
If I try as sudo I get:
Traceback (most recent call last):
File "./zmq_subscriber.py", line 13, in
configfile = os.path.join(os.environ['DASH_CONFIG'], 'config.cfg')
File "/usr/lib/python3.5/os.py", line 725, in getitem
raise KeyError(key) from None
KeyError: 'DASH_CONFIG'
Using Ubuntu Server 16. Also have to point to a config file when starting redis and have to be in the virtual environment to it to see the .data directory. Instructions do not state this.
The text was updated successfully, but these errors were encountered: