RocketChat / feature-requests

This repository is used to track Rocket.Chat feature requests and discussions. Click here to open a new feature request.
21 stars 9 forks source link

MongoDB 4.2.1 support #241

Open GiviMAD opened 4 years ago

GiviMAD commented 4 years ago

Any plans to support the latest version of MongoDB in a short time?

reetp commented 4 years ago

Mongo 3.6 & 4.0 currently have no EOL date.

So your answer is 'unlikely', and whenever they are ready, and not before.

This is really a feature request because Rocket.Chat is not broken on the officially supported versions.

pkolmann commented 4 years ago

The issue for Debian Users is, that MongoDB 4.0 is only supported on the old stable release, the new stable release only supports MongoDB 4.2 (from mongodb.com).

https://docs.mongodb.com/manual/administration/production-notes/#prod-notes-supported-platforms

So we need to either stick to an old debian Release for now to be in a supported envorionment. I tested mongodb 4.2 on a fresh install of rc 3.0.0 and it seems to work. Has anyone any experience with running mongo4.2 and rc?

pkolmann commented 4 years ago

Additionally Debian Jessie will no longer receive support after June 30, 2020:

https://wiki.debian.org/LTS/Jessie

BarnumD commented 4 years ago

The on the release page the latest versions of RocketChat (3.0.3) list Mongo 4.0 under 'Engines'. I assume that means it's supported. Meanwhile the docker-compose examples still use --smallfiles, which is no longer supported. It would be nice to have some documentation updates. Thanks!

WolfWings commented 4 years ago

At this point skipping MongoDB 4.2 entirely for 4.4 as another engine to support might be prudent? MongoDB 4.0 is not being supported at all on newer distributions now; Ubuntu 20.04.1 point release is out, and Debian 10 released over a year ago now so having some kind of supportable path for these (among others based on them) seems prudent.

MongoDB 3.6 is end of life in less than a year, and MongoDB 4.0 now has a marked end-of-life date as well of January 2022 which will in turn leave all of these without a supported way to run RocketChat (ignoring distro's that would be EOL by that time themselves):

jacotec commented 4 years ago

At this point skipping MongoDB 4.2 entirely for 4.4 as another engine to support might be prudent? MongoDB 4.0 is not being supported at all on newer distributions now; Ubuntu 20.04.1 point release is out, and Debian 10 released over a year ago now so having some kind of supportable path for these (among others based on them) seems prudent.

I'm currently migrating from Matrix and have installed a RC server on Sunday. Ubuntu 20.04, and of course I have installed the latest MongoDB 4.4.1.

Just read this morning about "supported versions", lol. However, I see no issues. Any concerns here? I don't want to downgrade to 4.0 unless it's really necessary.

WolfWings commented 4 years ago

Just read this morning about "supported versions", lol. However, I see no issues. Any concerns here? I don't want to downgrade to 4.0 unless it's really necessary.

In MongoDB 4.2 they have:

In MongoDB 4.4 they have:

That's just what I could find with a quick review of the release notes for each version, they have entire pages dedicated just to compatibility-breaking changes for 4.2 and 4.4. But the fact they were releases that removed one system Rocket.Chat explicitly tells you to use, and rebuilt the other system Rocket.Chat switched over to requiring to be enabled, means subtle bugs in the data storage layer may well exist so I don't believe it's safe to use in a production environment blindly.

jacotec commented 4 years ago

OK ... so I'll reinstall all again. Sh1t ...

zedar187 commented 3 years ago

Half a year later... any updates on this?

MatthiasKuehneEllerhold commented 3 years ago

RocketChat cant be installed on current debian releases. The only active Debian 10 Release is Buster and only MongoDB 4.2+ is available for it. Debian 9 Stretch is EOL since 2020-07-06.

BarnumD commented 3 years ago

In addition to MongoDB 4 support, would rocketchat also be supportable on Azure's CosmosDB now that it has 4.0 compatibility?

MatthiasKuehneEllerhold commented 3 years ago

We've upgraded our servers to Busters. Running RocketChat 3.12.1 with MongoDB 4.2.12 (dbCompatibility: 4.0) seems to work fine in our setup. Chatting, file attachments, groups work perfectly. Did anybody else test this? Encountered any problems despite it being "inofficial"?

MatthiasKuehneEllerhold commented 3 years ago

Seems like release 3.15 added official support for MongoDB 4.2? Theres nothing in the release notes itself but in the top half it says "MongoDB: 3.4, 3.6, 4.0, 4.2".

hanoii commented 3 years ago

Seems like release 3.15 added official support for MongoDB 4.2? Theres nothing in the release notes itself but in the top half it says "MongoDB: 3.4, 3.6, 4.0, 4.2".

Found this: https://github.com/RocketChat/Rocket.Chat/pull/21550, so yes, looks supported now.

amottier commented 3 years ago

The documentation recommends to use MongoDB version 3.6.9 but also states that "version 3.6 and higher" are supported.
In GitHub CI configuration, for current Rocket.Chat version (3.16.3) I can see that versions 3.4, 3.6, 4.0 and 4.2 are tested.
According to MongoDB documentation version 3.4 and 3.6 have reached End of Life.

So I guess it would make sense to update the documentation to recommend usage of version 4.0 or 4.2. And probably also run some test on version 4.4 and work on supporting version 5.0.