PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Friday the 19th of July, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[11:40:20] <lope> I'm having trouble connecting to my mongodb database
[11:40:30] <lope> I'm logged into the container where it's running.
[11:40:44] <lope> To debug the situation I've set security transitionToAuth: true
[11:40:52] <lope> So I can login without any user/pass
[11:41:01] <lope> I've re-set the admin password, but still cannot login as admin
[11:41:29] <lope> it's saying connection refused
[11:41:51] <lope> But it's showing my localhost IP there, which isn't right, should be the lan IP, maybe that's what's wrong.
[11:43:12] <lope> I changed the bind IP to 0.0.0.0
[11:44:07] <lope> [thread1] User Assertion: 18:Authentication failed.
[11:44:35] <lope> mongod.log says user not found.
[11:44:54] <lope> Really weird. My user is on the admin database, is that right?
[11:45:00] <lope> or should it be on the local database?
[11:45:05] <lope> my DB is part of a replset.
[11:47:23] <lope> is uppercase and numbers a problem for usernames?
[11:50:25] <lope> I tried lowercase admin username and password without even using numbers, and it still doesn't work :/
[11:51:05] <lope> use admin; db.createUser({user:'work', pwd:'please', roles:[{role:'userAdminAnyDatabase',db:'admin'}] });
[11:52:35] <lope> Running mongodb 3.2
[13:37:29] <Kelsar> Has anyone heard of when they will add mongodb packages for buster?
[13:41:16] <Kelsar> https://jira.mongodb.org/browse/SERVER-37768
[16:30:04] <markizano> Hi all
[16:30:38] <markizano> So I have a gridFS db in MongoDB and am trying to do a mongodump of the filesystem. However, it's not so simple as just a plain dump as there's metadata in the fs.files collection upon which I want to match and export the fs.chunks as well.
[16:31:15] <markizano> I researched a bit on the aggregation pipeline and while it does extract the results I want using [{$match: ...}, {$lookup: ...}] - I am getting the results in a single document.
[16:31:31] <markizano> Is there something I can do to match against fs.files and export fs.chunks as it's own BSON result?
[16:43:15] <markizano> I think I was looking for: fs.chunks.aggregate([ {$lookup: {from: 'fs.files' ...}, {$match: ...}, {$project: ... } ])
[16:43:16] <markizano> ?