Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does meteor update mongodb version automatically?

Tags:

mongodb

meteor

I have Meteor 1.2.2 installed and, according to MeteorBlog, it should comes Mongodb v3.0 or higher installed.

However, if a go on Mongo shell (meteor mongo) and do:

 $ db.version()

I get: 2.6.7

Shouldn't it be 3.0? I tried meteor update and it says all packages are up to date.

Is there a way to update Mongodb to the latest version as accepted by Meteor?

like image 427
Juliomac Avatar asked May 29 '15 01:05

Juliomac


People also ask

Can MongoDB be updated?

The MongoDB shell provides the following methods to update documents in a collection: To update a single document, use db. collection. updateOne()

What version is meteor?

The Meteor PvP server is a 1.16 style combat server that features anchor, bed, and crystal PvP styles accessible to players on versions 1.14 and newer. This server also features a custom kit and duel plugin.

Which version is used in MongoDB?

2022 — MongoDB 6.0 General availability of Atlas Serverless instances, Atlas Data API, Atlas CLI, and Flexible Sync, which enables the cloud-to-edge synchronization of only the data that's relevant to a given user or device.

How do I access meteor MongoDB?

Open a terminal window and run meteor command. It will start running on localhost:3000 if you have not changed to port. Go to Robomongo (or your favorite mongodb client software) and create a new connection, making sure to change the connection address to localhost and the given the port number.


1 Answers

Meteor 1.1 came with MongoDB support up to version 3 and you're supposed to be able to use Meteor in production along a MongoDB 3.0 database without major problems.

However they decided to keep the 2.6 branch regarding the Mongo version shipped with the Meteor tool and wait until Mongo 3.0 is mature enough before including it along official Meteor releases.

It means that Meteor updates its internal tool MongoDB version automatically, but at their own pace.

The local Mongo environment shipped with the Meteor development tool is something different than the actual Mongo deployment you usually use in production, and it is not required that the 2 versions be the same.

like image 198
saimeunt Avatar answered Sep 17 '22 23:09

saimeunt