[06:24:41] <aps> While trying to start mongos, I get following error:
[06:24:41] <aps> "ERROR: error upgrading config database to v5 :: caused by :: could not write initial changelog entry for upgrade :: caused by :: failed to write to changelog: could not verify config servers were active and reachable before write"
[06:24:41] <aps> I can connect to config members. what is the reason for this error?
[06:43:23] <gemtastic> As a default it seems like MongoDB is accessable without any passwords or authentication. If I create users, will that change?
[07:03:31] <Boomtime> gemtastic: the existence of users only matter if auth is enabled on the server - without auth, you can still create users, and you can even test auth'ing, but you'll also still be able to connect without auth'ing at all
[07:04:28] <gemtastic> That makes it sound like authing is completely pointless
[07:05:32] <gemtastic> How do I protect my Mongodb database?
[07:06:02] <Boomtime> you enable auth on the server
[07:06:15] <Boomtime> "the existence of users only matter if auth is enabled on the server" <- is this not clear?
[07:06:30] <Boomtime> if auth is enabled on the server you MUST auth every user
[07:06:52] <gemtastic> No, that is not clear to me at all, I'm still a n00b :(
[07:07:23] <Boomtime> sorry, if that sounded harsh, but auth'ing is not exactly unique to mongodb
[07:07:46] <gemtastic> I have no idea how to put auth on the server or what that actually implies :/
[07:08:37] <Boomtime> that tutorial will guide you through the steps, including creating the necessary user account needed to create further users
[07:09:05] <Boomtime> the first thing everybody does when they enable auth is lock themselves out of the database - be sure to read it all before you start
[07:09:52] <gemtastic> Well, this is the first time I'm building something that's gonna be pushed to a real server. Atm I'm still just trying to get a secure testing environment working on my computer...
[09:59:53] <Repox> Hi guys. I have a setup with a master node and a replica node. It's running and all is well. Is it possible for me to enable authentication now? And should it be done in a specific way when a replica set is setup?
[10:32:13] <bonhoeffer> what datatype is Meteor.userId()
[11:13:55] <aps> Hi. I get this error while trying to start mongos - "configServer connection startup check failed"
[11:13:56] <aps> I checked that mongoc servers are running. Any ideas?
[11:31:50] <aps> Okay, so I have found out that my config servers are out of sync. How can I fix this if I *don't* care about the data?
[15:58:06] <diegoaguilar> Hello, can someone help me with this mongodb query? http://stackoverflow.com/questions/31210584
[16:24:00] <pamp> I cant connect to mongo cluster with .Net driver 2.0, here is my code: http://dpaste.com/382ZMZ6. I tried to connect to a standalone local instance and it works, but when I try connect to the cluster I get an exception TimeOut
[16:24:16] <pamp> I m missing something in the connection string?
[16:34:13] <bybb> I get a permission error on a mounted volume
[16:59:38] <pqatsi> This error can lead mongo to crash? NETWORK [conn609] SocketException handling request, closing client connection: 9001 socket exception [SEND_ERROR] server [127.0.0.1:57658]
[17:00:59] <joannac> pqatsi: no, that's a socket exception, a single connection closing
[17:01:33] <pqatsi> joannac: even if repeat a lot of times?
[17:02:26] <pqatsi> joannac: because filtering WRITE, QUERY and COMMAND from mongo log, i got a lot of these one after other and a server crash at last
[19:30:41] <bros> I have an array of subdocuments.They each have a timestamp on them. How can I make an aggregation that allows me to figure out the differences between the timestamps?
[19:31:00] <bros> For example, the difference between subdocument index 1 and subdocument index 0?
[23:22:04] <brunoj_rs> so, not $in but sort show strange behavior which depends on the number of entries in the original query. I am querying documents, which subsequently i want to sort by their "timeline" field, which is a simple integer (not datetime) representing the epoch
[23:22:25] <brunoj_rs> if I leave out sort, and do the sorting at the application level, the system works fine
[23:22:53] <brunoj_rs> however, if I let mongo do it, it simply cuts off the sorted list at an arbitrary point
[23:24:36] <brunoj_rs> now, this only happens if in the original query, of this shape: {"keyword": {"$in": [some keywords]}, "timestamp":{"$gte": from_time, "$lt": to_time}}
[23:43:17] <Boomtime> interesting claim about the $in and sort, it is obviously not true, but it would have been nice to see the actual query
[23:44:31] <Boomtime> and to confirm, tested with a result set of a few hundred thousand, with and without sort - with a predicate $in array of 10,11, or 12 items - also with the timestamp range predicate