Upgrade mongodb version


#1

I’m on mongo 3.4 on my local install, and want to move to 3.6. I did a meteor update, meteor reset, etc., but I’m still on 3.4. What command would I need to do to upgrade it? I dont care if I nuke the db in the process.


#2

The next release of Meteor will come with 3.6.3:

If you absolutely cannot wait, you can always install MongoDB yourself, set the MONGO_URL (and MONGO_OPLOG_URL) accordingly, and run with that.


#3

Sweet, sounds good.
For others that want to copy-paste code until next release, heres some commands to launch mongo in docker and connect to the db named “meteor”, assuming your install isnt that complex.

docker run --name some-mongo -d -p 27017:27017 mongo
export MONGO_URL="mongodb://localhost:27017/meteor" 
meteor