gj's picture


I have one question about the Turnkey MongoDB appliance.

The MongoDB version used is quite old (1.4.4). The newest mongodb version is 2.2.

Why doesn't appliance use newer version of MongoDB and are there any plans to upgrade to 2.* release of MongoDB soon?

Thanks, and sorry if this has been answered already, but I could not find any information about this.

Robert's picture

The 32 bit version has the infamous 2GB limit.

Also, MongoDb version v1.4.4 is old. Latest is 2.2.3.

	Sat Aug 11 14:30:28 Mongo DB : starting : pid = 15478 port = 27017 dbpath = /var/lib/mongodb master 
= 0 slave = 0 32-bit
** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data
**       see http://blog.mongodb.org/post/137788967/32-bit-limitations for more                     
Sat Aug 11 14:30:28 db version v1.4.4, pdfile version 4.5
Jeremy Davis's picture

But that is the way that Debian (and many other Linux distros) work. They sacrifice having the 'latest and greatest' versions of software for stability and reliability. Security is covered too by backporting security patches. So unless there are features that you need that are not supported or non-security bugs which have been fized in later versions you can rest easy.

If you want a newer version then 2.0.0 is available from the 'squeeze-backports' repo.

The upcoming version of TKL (v13.x based on Debian Wheezy) should have version 2.0.6.

Also TKL v13.x will be available as 64 bit (as well as 32 bit).

Moshe's picture

Why don't we use the official MongoDB package source from 10gen instead of the old versions?

From the MongoDB documentation: Install MongoDB on Debian

Even though it is definitely easier (and some would argue "better") to use the Debian-controlled package, I feel that this is not the best way to go for two reasons:

  1. There are plenty of other packages in various TurnKey appliances that come from other places.
  2. MongoDB is still fairly new and is evolving extremely fast from version to version.  For example. the 1.x version currently available is incompatible with some of the current MongoDB clients, for example the C# client which gives the error "Command 'ping' failed: no > such cmd (response: { "errmsg" : "no such cmd", "ok" : 0.0 })"


If this change is not made, here is a note for future visitors who are trying to switch to the new version themselves: You must "apt-get remove" all MongoDB packages, both client and server, before you can install the 10genb package (which combines both the client and the server into a single package).  apt-get knows that the two servers cannot be installed together so it uninstalls the old server automatically but it does not automatically uninstall the client - you need to do that yourself.

Add new comment