Skip to content
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

cache.py not picking up redis settings #668

Open
elvidence opened this issue Jun 16, 2024 · 1 comment
Open

cache.py not picking up redis settings #668

elvidence opened this issue Jun 16, 2024 · 1 comment

Comments

@elvidence
Copy link

misp-modules - INFO - Launch MISP modules server from current directory.
misp-modules - WARNING - Helpers failed cache.py due to Redis not running or not installed. Helper will be disabled.

All Redis settings were setup correctly and working, inc in MISP /servers/serverSettings/MISP. Redis is located on another AWS instance. Connectivity ok. Setting REDIS_BACKEND='redis.cache.amazonaws.com', REDIS_PORT=6379 and REDIS_DATABASE=13 in /var/www/MISP/venv/bin/activate did not help.

Edited /etc/systemd/system/misp-modules.service directly and added in the [Service] section
Environment="REDIS_BACKEND=redis.cache.amazonaws.com"
Environment="REDIS_PORT=6379"
Environment="REDIS_DATABASE=0"

run
systemctl daemon-reload
and
systemctl restart misp-modules

no more warning. The issue has bene fixed by editing misp-modules.service

@adulau
Copy link
Member

adulau commented Jul 13, 2024

Thanks for the feedback. We might need to update the documentation for the service configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants