Git Product home page Git Product logo

Comments (2)

mokaddem avatar mokaddem commented on July 18, 2024

Hello,
I added the notice about start_all.sh to the README. Thanks for the feedback!

Regarding the log directory, having a relative path (directory=logs) allows the dashboard to work out of the box for default installations (MISP VM and local setup).
Of course, if you drift from the default setup, you are free to edit the configuration file as much as you want.

from misp-dashboard.

francesco-ficarola avatar francesco-ficarola commented on July 18, 2024

Thanks. Regarding the relative path of logs, please verify if it properly works using different paths for MISP Dashboard. I had some issues, for that reason I changed it into absolute path. Following the log:

[Fri Feb 08 10:22:18.365494 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392] mod_wsgi (pid=1137): Target WSGI script '/var/www/MISP/misp-dashboard/misp-dashboard.wsgi' cannot be loaded as Python module.
[Fri Feb 08 10:22:18.365545 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392] mod_wsgi (pid=1137): Exception occurred processing WSGI script '/var/www/MISP/misp-dashboard/misp-dashboard.wsgi'.
[Fri Feb 08 10:22:18.366236 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392] Traceback (most recent call last):
[Fri Feb 08 10:22:18.366269 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392]   File "/var/www/MISP/misp-dashboard/misp-dashboard.wsgi", line 4, in <module>
[Fri Feb 08 10:22:18.366275 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392]     from server import app as application
[Fri Feb 08 10:22:18.366297 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392]   File "/var/www/MISP/misp-dashboard/server.py", line 48, in <module>
[Fri Feb 08 10:22:18.366301 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392]     live_helper = live_helper.Live_helper(serv_redis_db, cfg)
[Fri Feb 08 10:22:18.366306 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392]   File "/var/www/MISP/misp-dashboard/helpers/live_helper.py", line 22, in __init__
[Fri Feb 08 10:22:18.366309 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392]     os.makedirs(logDir)
[Fri Feb 08 10:22:18.366314 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392]   File "/usr/lib/python3.6/os.py", line 220, in makedirs
[Fri Feb 08 10:22:18.366317 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392]     mkdir(name, mode)
[Fri Feb 08 10:22:18.366334 2019] [wsgi:error] [pid 1137] [client 192.168.10.203:60392] PermissionError: [Errno 13] Permission denied: 'logs'

from misp-dashboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.