PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 8th of April, 2020

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[11:44:39] <mutante> Hi. I am trying to upgrade a Debian server using mongo from "jessie" to basically anything newer than that. but the service owner says they need to migrate data and they can't find any upgrade path from "MongoDB 2.4 (jessie) to MongoDB 3.2 (stretch)". Is there a dump or export format so we can dump data and import it on a newer version?
[11:44:59] <mutante> specifically how to get off of 2.4 and to 3.x
[11:47:52] <kali> mutante: you need too look at the release notes from the even minor versions, they state what are the update constraints. it is very possible you need one or two intermediries
[11:58:00] <mutante> kali: i see.. thanks .. ugh. i guess i should also ask Debian and/or the package maintainer for their expected path
[12:00:16] <kali> according to the doc, you need to go through 2.6 and 3.0
[12:00:42] <kali> note that it is not necessarily long or dangerous
[12:01:15] <mutante> kali: thanks! i think the longest part of it is how i get these debian packages with the right versions
[12:01:30] <mutante> and then i need to import them into our repo
[12:01:37] <mutante> and then use puppet to install them ..
[12:01:53] <kali> yeah, there may be a bit of logistics
[12:02:13] <mutante> it's valuable info that i need 2.6 and then 3.0, thanks
[12:02:42] <kali> you're aware that mongodb offers apt repos (not for jessie anymore though) ?
[12:02:45] <mutante> "MongoDB 2.6 can read 2.4 data and prepare it for 3.x. Might need a manual process. Alternatively, there may be some kind of "dump" or "export" format we can use as intermediary."
[12:03:56] <kali> i don't recommend going through the dump, and even less export data
[12:04:01] <mutante> i am not allowed to install software directly from third party. i'd have to get an exception or something and start a process
[12:04:13] <mutante> but maybe
[12:04:40] <mutante> ok, good to know. it seemed good at first to dump/export
[12:05:28] <kali> as much as i like debian, i would recommend you to try and obtain the exception to use mongodb apt repos
[12:07:54] <mutante> kali: ok, fair enough. i'll try it
[12:44:22] <mutante> kali: looks like i can't use the 2.6 and 3.2 versions because they are not open source anymore. there might now be talk to replace mongo altogether. i'll see how it goes.
[15:36:20] <ngc0202> Hello, quick question I was wondering how to make a case insensitive match against an array of strings
[15:36:51] <ngc0202> Like to query whether "foo" exists in an array ["FOO", "BAR"]
[15:37:08] <ngc0202> This is part of a larger aggregate query