Hi Team I was trying to run the self-hosted using ...
# ask-questions
r
Hi Team I was trying to run the self-hosted using docker-compose, but getting this mongoDB error. Does anyone know why?
w
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
@white-fireman-22476 I am getting this error on localhost:3000
w
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
mongo was up and running
but, yeah I am getting mongodb connection error
image.png
w
So when you click on the docker logo and select dashboard what do you see?
r
i have checked using docker ps command, it was showing running mongo:latest
w
Can you post your
docker ps
output then?
r
image.png
w
Click on Containers there
r
image.png
w
Containers in the top left.
r
image.png
w
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
Okay
I have used 4.0.3, but I am getting this error
This message contains interactive elements.
w
Just try
image: "mongo:4"
1