pe3zx / mthc

All-in-one bundle of MISP, TheHive and Cortex
MIT License
169 stars 37 forks source link

Service 'misp-web' failed to build #17

Closed TGuerillon closed 3 years ago

TGuerillon commented 3 years ago

I got an error while building the docker when it's installing the dependencies for misp-web. The module trustar uses setuptools and more specificaly use_2to3 which has been discontinued since v58.0.0 of setuptools. A solution I found is to modify the dockerfile for misp-web and downgrade setuptools to v57.5.0 and install trustar before upgrading setup tools again. Capture-d-cran-2021-09-07-171856 Screenshot_20210914_111930

pe3zx commented 3 years ago

Hi @TGuerillon. I just ran the build check and found the same issue.

More specifically, the error occurs on the misp-modules' dependencies installation process. I will try to fix this issue and also syncing misp-docker with the upstream soon. Thank you for your solution.

pe3zx commented 3 years ago

This issue has been fixed by updating the misp-docker to the latest commit. Review this change on b63d31a and the build check.

TGuerillon commented 3 years ago

Thanks for the fix. I think that the redis docker is not used anymore as the MISP docker is running its own redis-server

pe3zx commented 3 years ago

The redis service has been removed from docker-compose.yml, according to e147823677c208c172a39f9075545b13c91d510e. Thank you!