center-for-threat-informed-defense / attack-workbench-frontend

An application allowing users to explore, create, annotate, and share extensions of the MITRE ATT&CK® knowledge base. This repository contains an Angular-based web application providing the user interface for the ATT&CK Workbench application.
https://mitre-engenuity.org/cybersecurity/center-for-threat-informed-defense/our-work/attck-workbench/
Apache License 2.0
306 stars 60 forks source link

Installation errors similar to: "Installation errors #235" #478

Open m4nbat opened 1 year ago

m4nbat commented 1 year ago

Hi I'm getting the same issue as: https://github.com/center-for-threat-informed-defense/attack-workbench-frontend/issues/235

Screenshot: image My docker-compose.yml:

image

I added the image: mongo:4.4.6 line but still getting the same issue.

docker and docker-compose versions: image

OS: image

Help is appreciated.

Cheers

ElJocko commented 1 year ago

At the docker compose level, the problem is:

Adding the line image: mongo:4.4.6 to the attack-workbench-collection-manager container is only going to make things worse. You should remove that line.

As for the root cause--that is, the thing that caused the MongoDB database to fail--that's difficult to diagnose. I would try deleting the attack-workbench-database container and running the docker-compose up command again. That will recreate the MongoDB container, start it, and restart the attack-workbench-rest-api container.

docker container rm attack-workbench-database
docker-compose up -f

Hopefully that will clear everything up.