PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Monday the 1st of July, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[06:34:38] <Rojola> hi
[06:34:43] <Rojola> may I please ask for help?
[06:34:53] <Rojola> I believe, that mongoDB is crashing
[06:34:58] <Rojola> but I have no prove
[06:35:11] <Rojola> I only know, that Wekan (a software) and rocket.chat (also a software) crash at the same time
[06:35:14] <Rojola> and both use MongoDB
[06:35:26] <Rojola> at first, I thought it was a Wekan related issue
[06:35:35] <Rojola> but now I think it's MongoDB which crashes in the background
[06:35:41] <Rojola> how I can I find prove for this in the logs?
[07:21:40] <lqez> Rojola: did you read the log of MongoDB?
[07:22:20] <Rojola> where is it?
[07:22:23] <Rojola> lqez,
[07:24:10] <lqez> Rojola: you can find it in your configuration file
[07:24:24] <lqez> by default it's in like /var/log/mongodb/mongod.log
[07:24:48] <lqez> And also, configuration file is in /etc/mongod.conf by default
[07:25:01] <lqez> `logpath` locates the log file
[07:25:54] <lqez> https://docs.mongodb.com/manual/reference/program/mongos/index.html#cmdoption-mongos-logpath
[07:26:41] <Rojola> thank you lqez !
[07:26:53] <lqez> you can start by there
[07:26:55] <lqez> good luck
[07:43:17] <Rojola> lqez, mongodb runs in a snap-container
[07:43:29] <Rojola> lqez, is it possible that the logfile is somewhere else then?
[07:43:42] <Rojola> snap on Ubuntu
[07:46:05] <lqez> I'm not familiar with Snap but it looks like a docker system backed by Canonical
[07:47:12] <lqez> Rojola: you can change the running configuration by modifying snap manifest like https://stackoverflow.com/a/51453813/366908
[07:58:10] <Rojola> thank you lqez !
[14:58:52] <vfuse> I'm trying to upgrade from 3.4 to 3.6 and getting the following error when performing updates on some documents: Fatal error: Uncaught MongoDB\Driver\Exception\BulkWriteException: The key is too long
[14:59:17] <vfuse> These updates are really simple like updateOne({'_id': id}, {$set: {'status': 'OK'}})