I use macOS monterey (intel). I tried installing mongodb manually. Same problem. I used homebrew to install [email protected]. Same problem.
Nomatter what I try. I get this error. Please help!!!
I use macOS monterey (intel). I tried installing mongodb manually. Same problem. I used homebrew to install [email protected]. Same problem.
Nomatter what I try. I get this error. Please help!!!
2
Answers
I have had exactly the same problem, though on an M1 Mac. After a lot of googling mongo.log messages and changing ownership and group of various files, I managed to get mongo up and running again by reverting to version 5.
The sequence which should get you up and running is:
A quick check using mongosh indicated all was up and running with no loss of data. I made a copy of my data before I made any changes, just in case:
For me, it worked just by
stopping
andstarting
the MongoDB community serviceFirst Stop the service
brew services stop mongodb-community
then Start it again
brew services start mongodb-community