Closed frakman1 closed 2 years ago
This error is caused by an incompatibility with the newest version of pymongo that was recently released. It already fixed in FACT_core (https://github.com/fkie-cad/FACT_core/pull/708). If you don't want to rebuild the docker container you could simply exec into it and run python3 -m pip install pymongo<4
to install a compatible version.
Thank you. Unfortunately, the container exits soon after it is launched due to this error so I can't exec into it. How do you recommend preventing it from exiting/failing long enough to run the pip installation?
There seem to be ("hacky") solutions to this: https://stackoverflow.com/questions/32353055/how-to-start-a-stopped-docker-container-with-a-different-command
Maybe it would make sense to restart the container or rebuild the image, though.
I had a previously working FACT docker container. I tried re-installing the "dtb finder" plugin today by going to
/opt/FACT_core/src
folder and running./install.py -B
I then restarted the FACT container but got this error:I tried touching
/media/data/fact_wt_mongodb/REINITIALIZE_DB
and restarting but that didn't help.I found the monogodb log file: