https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
r

ripe-gigabyte-66749

07/05/2023, 9:58 AM
Hi Team I was trying to run the self-hosted using docker-compose, but getting this mongoDB error. Does anyone know why?
w

white-fireman-22476

07/05/2023, 11:35 AM
It looks like a warning to me. Is MongoDB still running? Perhaps it is, but it is just not as performant. You are getting that error probably because the computer you are running on doesn't have AVX support. There probably is a different mongo image that doesn't have this requirement if it is not working.
The current app only need Mongo 4.14 so you could probably specify that version in the docker compose file.
r

ripe-gigabyte-66749

07/05/2023, 12:45 PM
@white-fireman-22476 I am getting this error on localhost:3000
w

white-fireman-22476

07/05/2023, 12:47 PM
Yes it seems like your service did not start up, probably because mongo is down. You can double check that by clicking the docker icon on the top of your screen. It is next to Zoom and has a ! by it, which probably isn't a good sign.
You can open up the dashboard
r

ripe-gigabyte-66749

07/05/2023, 12:47 PM
mongo was up and running
but, yeah I am getting mongodb connection error
image.png
w

white-fireman-22476

07/05/2023, 12:50 PM
So when you click on the docker logo and select dashboard what do you see?
r

ripe-gigabyte-66749

07/05/2023, 12:51 PM
i have checked using docker ps command, it was showing running mongo:latest
w

white-fireman-22476

07/05/2023, 12:53 PM
Can you post your
docker ps
output then?
r

ripe-gigabyte-66749

07/05/2023, 12:53 PM
image.png
w

white-fireman-22476

07/05/2023, 12:53 PM
Click on Containers there
r

ripe-gigabyte-66749

07/05/2023, 12:54 PM
image.png
w

white-fireman-22476

07/05/2023, 12:55 PM
Containers in the top left.
r

ripe-gigabyte-66749

07/05/2023, 12:55 PM
image.png
w

white-fireman-22476

07/05/2023, 12:56 PM
Thanks, yes it does seem to be running.
Ok so maybe that warning really is bad.
Try modifying your docker-compose.yml to have version 4 of mongo.
r

ripe-gigabyte-66749

07/05/2023, 12:57 PM
Okay
I have used 4.0.3, but I am getting this error
This message contains interactive elements.
w

white-fireman-22476

07/06/2023, 8:44 AM
Just try
image: "mongo:4"
1
15 Views