PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 20th of February, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[03:48:50] <patientplatypus> I have a SO question: https://stackoverflow.com/questions/54778520/mongo-go-driver-failing-to-connect
[09:27:12] <hungrywolf> How do I change the password of an existing user
[09:27:19] <hungrywolf> in mongodb database
[09:27:33] <hungrywolf> I've tried changeUserPassword
[09:27:42] <hungrywolf> and got Updating user failed: Use of SCRAM-SHA-256 requires undigested passwords
[09:28:26] <hungrywolf> can some one help me change my password
[09:33:52] <Banana51> can you access the admin user?
[09:36:02] <Banana51> or just add a new user?
[09:41:56] <wfq> Hi all
[09:44:24] <wfq> guys I need to document the 'relationships' between the collections of a Mongo db. I was a sort of thinking to create something similar to Entity Relationship model. How do you guys usually do that?
[09:45:47] <hungrywolf> Banana51: I just deleted the old user and created the new user, updating ws a mess
[09:52:19] <Banana51> good thing u got it fixed
[09:53:21] <hungrywolf> Banana51: https://media.tenor.com/images/162330df13f94b38aca1eb2af5bc75d8/tenor.gif
[09:53:23] <hungrywolf> hehe
[09:57:57] <hungrywolf> Banana51: thanks for your time, I hope the above did not offend you
[10:01:22] <Banana51> lol any time
[15:48:50] <kieron> Hey guys, I have the following collection and query: https://pastebin.com/zxGK3412 but I can't figure out how to get it working, can someone help me please?
[18:50:48] <wfq> Hi guys
[18:50:55] <wfq> I am getting this error Failed global initialization: InvalidSSLConfiguration One or more parameters passed to a function were not valid.
[18:51:09] <wfq> after months of using my local mondo server without any single problem
[18:51:27] <wfq> that just came out of the blue. I have not reinstalled or update Mongod at all
[18:51:30] <edrocks> wfq did you upgrade mongodb or change your cert?
[18:51:30] <wfq> any clue?
[18:51:46] <edrocks> does your install use a shared lib for ssl?
[18:52:06] <edrocks> ie not in docker or something that'd lock down that version. idk if they statically compile mongodb
[18:52:41] <wfq> edrocks, how would I need to configure Mongo so that it uses ssl?
[18:52:52] <wfq> I am not using ssl at all. It's a development box
[18:52:59] <edrocks> oh
[18:53:23] <wfq> I haven't touched, modified, updated, reinstalled, deleted or anything whatsoever relating Mongo
[18:53:41] <wfq> My laptop has no even restarted for months now
[18:55:24] <edrocks> wfq something with your ca store? https://groups.google.com/forum/?fromgroups#!topic/mongodb-user/Dr8nr73h91Q
[18:55:34] <edrocks> are you on linux?
[18:56:39] <wfq> edrocks, no I am on Macosx
[18:57:01] <edrocks> mongodb version?
[18:57:23] <wfq> 4.0.4
[18:58:15] <wfq> I have not updated my OS for months now. This is weird
[18:59:38] <edrocks> I'm not sure I'm still on 3.6.x and I've been running within docker for years so it's ssl system is more contained. Something has likely changed though
[19:00:44] <wfq> edrocks definitely
[19:00:48] <wfq> probably the ca has changed
[19:01:03] <wfq> perhaps macos has changed it
[19:01:39] <wfq> what I am puzzled is how mongo did actually assume I was going to use ssl
[19:03:30] <edrocks> wfq if you read that google group post it says it is error because it has to setup the ssl env even if you don't use it
[19:04:25] <wfq> edrocks, yes I read that. Oh god this is definitely the last thing I need right now. Sugar!
[19:05:15] <wfq> I need to understand where Mongo is looking for the certificates at
[19:06:54] <wfq> edrocks see that my error is different. It is not talking about ca but as if it was passing an invalid parameter
[19:07:11] <wfq> perhaps my mongo instance was just updated and I may not realise about it
[19:07:17] <edrocks> wfq same sub system though
[19:07:26] <edrocks> it's trying to init the ssl portion
[19:07:47] <edrocks> try upgrading for 4.0.6
[19:07:50] <edrocks> *to
[19:08:52] <wfq> before doing that I would like to know what the heck is going on here as I can't find the same error anywhere on Google
[19:09:57] <wfq> in the installed folder where mongo is I cannot find any log
[19:16:13] <wfq> edrocks, well just restarted my computer just in case something got screwed up and now all seems to work
[19:16:28] <edrocks> nice
[19:16:38] <wfq> I get this message now when running mongdb: I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
[19:16:54] <wfq> who knows what happened here :)
[19:17:01] <edrocks> that is fine. TLS 1.0 is insecure these days
[19:17:07] <wfq> thank you so much any way
[19:17:16] <edrocks> np happy you got it working
[19:18:38] <wfq> navigating now through my bookmarks in order to remember how to create users. I need to create a specific user for my CI environment
[19:25:51] <wfq> I'm a bit confused. Where are the users information stored? Is that stored at the admin collection?
[19:51:21] <Sammitch> if I'm only interested in a read-only mirror a two-node replicaset with the secondary's votes and priority set to 0 would work, yes?