PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Monday the 2nd of April, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[04:21:42] <HikaruBG> hello everyone
[04:24:15] <HikaruBG> wuestion - I have a document with field "roles": ["ceo", "cfo", "accountant"] how do I change it to "roles": [{"type":"ceo", "timestamp":"23425234545"}, {"type":"cfo" ...}]
[04:24:17] <HikaruBG> ?
[11:51:59] <kristian_> Hello, I am having troubles creating a new document with mongoengine (python3). It seems not possible to directly add to ListFields like: document = Document( x=[1, 2, 3])
[11:52:32] <kristian_> Is that expected behavior? I have pasted my simple code with the error message here: https://pastebin.com/83jpkBqP
[11:53:07] <kristian_> Instead of Document(x=[1, 2, 3]) , I have to do it in 2 steps:
[11:53:30] <kristian_> document = Document() and then document.x = [1, 2, 3]
[14:14:55] <iLogic> is it ok to ask mongoose questions here?
[16:22:05] <j2daosh> hello all. i have a head scratcher. On my raspberry pi, I did an apt-get install mongodb. it installed it. I looked at the /etc/mongodb.conf and see the dbpath=/var/lib/mongodb. when I start mongo (sudo mongod), it dies saying dbpath=/data/db doesn't exist. I tried doing mongod -vvvv to see where the config file it is reading is located at, but it doesn't tell me
[16:22:36] <j2daosh> Iss there any way I can figure out what conf file is being used by mongo to start up? it has bad data in it
[16:24:20] <threespades> starting mongod defaults to /data/db , the /etc/mongodb.conf works with your system service so start mongod as as service to use it
[16:24:49] <threespades> possibly with sudo service mongod start
[16:25:10] <threespades> https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/ should have some info
[17:46:38] <huck5> Trying to run the following query in RoboMongo, but I get the error "Error: Line 1: Unexpected token :
[17:46:38] <huck5> ". Any idea why? Query: { $match: {"f" : { $all : [ {$elemMatch : {"n" : "Ins_LastName", "v" : "parker+blanks" }} ]}} }
[21:43:59] <failproofshark> is there a specific channel for morphia/mongodb for java? I've forked the source code and have been trying to print debug statements from the code but log messages from morphia are being supressed
[21:44:18] <failproofshark> is there a sepcific build type I need to build against in order for these messages to not be surpressed