SecurityRiskAdvisors / VECTR

VECTR is a tool that facilitates tracking of your red and blue team testing activities to measure detection and prevention capabilities across different attack scenarios
1.35k stars 159 forks source link

mongdb is not working #177

Closed arishwani closed 2 years ago

arishwani commented 2 years ago

Hi Team, I am having issue with migrating Vectr to the latest version. In process of doing so, I am receiving an issue that Mongodb server is stuck in "Restarting" point.

arishwani commented 2 years ago
Upgrading_issue
SRAPSpencer commented 2 years ago

What version were you trying to upgrade from?

What version of Ubuntu is this?

arishwani commented 2 years ago

Then when I go the link it goes me status code 404

error
arishwani commented 2 years ago

trying to update from 8.0.2

arishwani commented 2 years ago

Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic

SRAPSpencer commented 2 years ago

It's exiting under code 14, which is usually out of memory or otherwise resource constrained.

Do you know if the host is out of Disk Space? How much memory does the VM have?

arishwani commented 2 years ago
memory
SRAPSpencer commented 2 years ago

Hm, it was working correctly on 8.0.2?

We use the official MongoDB image, so it's not likely a VECTR specific issue.

I'd try to reboot the VM first, ensure there's nothing strange happening with the docker service.

The next likely candidate would be file permissions issues. However I do not believe we changed anything from 8.0.2 to latest. So it would be surprising if it stopped working.

arishwani commented 2 years ago

Yes, 8.0.2 was working great. But I even upgraded in our nonprod environment and it was all good no issue. when I tried upgrading in the prod environment I get the error.

SRAPSpencer commented 2 years ago

I don't have any further recommendations after considering it. It's likely an issue specific to that VM. Something is interfering specifically with the MongoDB container starting.

I'll leave this open if anyone else has anything to add.

arishwani commented 2 years ago

Thank you Paul for looking into this, I will further troubleshoot on my end to see it is possible to get it to work.

SRAPSpencer commented 2 years ago

Stale. @alishwani please reopen if you still need assistance with this.