Mongo installation outdated

Trying to install mongodb on WSL, completely failed, as a file WiredTiger is apparently broken. Raised the issue to mongodb team and now waiting for their reply.

Changed everything to my macbook pro and started the installation on macos. Found out that the installation that Mosh taught in the course is completely outdated.

  1. brew installation is now:
$ brew tap homebrew/services

followed by

$ brew services start mongodb-community

And neither with Catalina nor with Big Sur you can create the dir /data/db in your root dir, the current solution is with symlinks.

COME ON MOSH!!! the course is basically useless after mongodb installation.

When will this be fixed? Do you have a pdf or any document explaning the current methods? otherwise i’m stucked.

I’d a similar issue and after several trials the following steps worked:

/bin/bash -c "$(curl -fsSL"

brew tap mongodb/brew
brew install mongodb-community@4.4

sudo mkdir -p /data/db
sudo chown -R `id -un` /data/db`Preformatted text`

Maybe it helps…

really I wish he updates the course based on latest updates
this was not something that was expected of mosh

1 Like

This is unacceptable for a paid course. If you’re reading this, ask for your your money back and find a better and updated course.

It’s super annoying to almost halfway through a paid course and have to deal with this outdated content.

Of course, this is annoying and I totally agree. Another great example (a bit out of topic but related to Mosh quality courses). Try to take the Docker course. The problem there isn’t about being outdated but you will have to troubleshoot SO MANY THINGS ON YOUR OWN! Mosh doesn’t explain at all the problems people most likely will have, and I took the course on Linux (Docker was developed exactly in linux/for linux and adapted then for other OS, so my issues were supposed to be “minor”). I can’t imagine someone finishing the Docker course from Mosh in a windows machine xD that is mission impossible. Hopefully mosh startes making courses like in the past.
BTW, i haven’t finished the docker course, simply stuck one lesson since weeks.

1 Like

Just wrote a Medium article on installing MongoDB with newer versions of mac. Hope this helps.