Cannot start misp-modules
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 377
- Forks
- 280
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 10
Description
Dear Team,
I have a Problem that I cannot start misp-modules. I fallowed the documentation and on the command sudo -u www-data /var/www/MISP/venv/bin/pip install -I -r REQUIREMENTS, I received fallowing error
Obtaining file:///usr/local/src/misp-modules (from -r REQUIREMENTS (line 2))
Obtaining pybgpranking from git+https://github.com/D4-project/BGP-Ranking.git/@429cea9c0787876820984a2df4e982449a84c10e#egg=pybgpranking&subdirectory=client (from -r REQUIREMENTS (line 3))
Skipping because already up-to-date.
Obtaining pyipasnhistory from git+https://github.com/D4-project/IPASN-History.git/@47cd0f2658ab172fce42126ff3a1dbcddfb0b5fb#egg=pyipasnhistory&subdirectory=client (from -r REQUIREMENTS (line 4))
Skipping because already up-to-date.
Obtaining pyintel471 from git+https://github.com/MISP/PyIntel471.git@0df8d51f1c1425de66714b3a5a45edb69b8cc2fc#egg=pyintel471 (from -r REQUIREMENTS (line 5))
Skipping because already up-to-date.
Obtaining pymisp from git+https://github.com/MISP/PyMISP.git@3e8c36dc2f34b5d812a6b6d1bd1a619f01286657#egg=pymisp (from -r REQUIREMENTS (line 6))
Skipping because already up-to-date.
Obtaining uwhois from git+https://github.com/Rafiot/uwhoisd.git@411572840eba4c72dc321c549b36a54ed5cea9de#egg=uwhois&subdirectory=client (from -r REQUIREMENTS (line 7))
Skipping because already up-to-date.
Obtaining odtreader from git+https://github.com/cartertemm/ODTReader.git/@49d6938693f6faa3ff09998f86dba551ae3a996b#egg=odtreader (from -r REQUIREMENTS (line 8))
Skipping because already up-to-date.
Obtaining pydnstrails from git+https://github.com/sebdraven/pydnstrails@48c1f740025c51289f43a24863d1845ff12fd21a#egg=pydnstrails (from -r REQUIREMENTS (line 9))
Skipping because already up-to-date.
Obtaining pyonyphe from git+https://github.com/sebdraven/pyonyphe@cbb0168d5cb28a9f71f7ab3773164a7039ccdb12#egg=pyonyphe (from -r REQUIREMENTS (line 10))
Skipping because already up-to-date.
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/home/cyber/.cache/pip/wheels/9e/fc/df/442b636248b5960ee06d9b6f2aaf944d217ffad39d129c8436'
Consider using the `--user` option or check the permissions.
So I tried to run it with root and also with www-data without sudo and it worked, but when I try to start /var/www/MISP/venv/bin/misp-modules -l 127.0.0.1 -s, I receive an other error
No module named 'misp_modules.modules.expansion._ransomcoindb'
2020-01-23 13:43:17,692 - misp-modules - INFO - Launch MISP modules server from package.
INFO:misp-modules:Launch MISP modules server from package.
2020-01-23 13:43:17,693 - misp-modules - INFO - Helper loaded cache
INFO:misp-modules:Helper loaded cache
2020-01-23 13:43:17,694 - misp-modules - INFO - Unable to load MISP modules from package.
INFO:misp-modules:Unable to load MISP modules from package.
Can please someone look into it, thank you
Mike
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with REQUIREMENTS and the misp-modules startup command, then inspect the package path for the missing expansion module _ransomcoindb. Reproduce the pip permission error and the subsequent module-loading failure; done means the virtual environment installs successfully and misp-modules -l 127.0.0.1 -s loads the package without the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100