PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Sunday the 16th of December, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[13:56:52] <kapil____> how to keep group by multiple fields while aggregating?
[14:24:02] <adadelta> I bought a new SSD and I'm trying to move the mongodb data folder over to it. I'm always getting:
[14:24:04] <adadelta> Unable to determine status of lock file in the data directory /media/you/FastData/mongodb: boost::filesystem::status: Permission denied: "/media/you/FastData/mongodb/mongod.lock", terminating
[14:24:48] <adadelta> I've found a few answers online, but they're all about getting the permissions right (which they are, mongodb:mongodb)
[14:25:23] <adadelta> one answer says that the whole folder chain needs to be mongodb:mongodb too, that is /media/you/FastData/mongodb
[14:25:44] <adadelta> Which isn't what I want since more than mongodb will be using this SSD
[14:25:49] <adadelta> anyone know how I can fix thisÐ
[15:12:36] <kapil____> in group `sumWeight: { $sum: "$weight" }` weight is in string. how to convert it to number?
[16:33:21] <Derick> kapil____: https://docs.mongodb.com/manual/reference/operator/aggregation/toDouble/
[16:59:00] <kapil____> slajax: thanks
[16:59:25] <kapil____> Derick: thanks