

sudo service mongod stopĪfter upgrading to 3.0, you have to upgrade 2.6 MONGODB-CR Users to SCRAM-SHA-1 for Authorization changes. In that case, run the following commands. You might still find that you still have 2.6 running.

If possible create a backup image of your server.Įcho 'deb trusty/mongodb-org/3.0 multiverse' | sudo tee /etc/apt//mongodb-org-3.0.list Keep backups of your existing databases first.Please follow the steps below to proceed. Now that you have updated MongoDB version to 2.6, you have to update it to 3.0 next. Connect to the MongoDB instance and run the following command to upgrade Authorization Schema. MongoDB 2.6 has significant changes to the authorization model, which requires changes to the way that MongoDB stores users’ credentials.

