Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mongodb version compatibility #8305

Open
mxsrm opened this issue Oct 20, 2024 · 7 comments
Open

mongodb version compatibility #8305

mxsrm opened this issue Oct 20, 2024 · 7 comments

Comments

@mxsrm
Copy link

mxsrm commented Oct 20, 2024

Nightscout recommends running very old versions of mongodb (4.2 or 4.4) which are no longer receiving security support (4.4 ended 29.02.2024).

5.0 security support is ending 31.10.2024.

Does the software support 6.0 (EOS: 31.07.2025), 7.0 (EOS: 31.08.2026) or 8.0 (EOS: not yet determined; newest stable version) versions of mongodb?

@sulkaharo
Copy link
Member

AFAIK the reason for this is the codebase still uses Mongo API that requires old drivers, which don't work with newer Mongo versions. I refactored the code to support the new drivers, which got merged, but there was a bug so the change was reverted and sadly in a way that causes a lot of work to re-apply the patch, but guess I'll have to find the time to do this. See here for the changes needed (minus one additional persistence call) https://github.com/nightscout/cgm-remote-monitor/pull/8026/files

@ChanceHarrison
Copy link

Running Nightscout 15.0.3 ("nightscout/cgm-remote-monitor:latest_dev", @sha256:9b50be982ff51fb53eaeb64537c386b321b7e510e035c38451338d10435bd493) with Mongo 7.0.9 (docker.io/library/mongo:7, sha256:4c8c4201f105329a913671cc3e8cf78999367e2cb1c6321b5c99fd993c6f81ee) seems to work fine for me?

@Philoul
Copy link

Philoul commented Oct 31, 2024

Hi, I just received this mail today
Screenshot_20241031-154838_Email.jpg

-->It looks like I will have no choice very soon 😥... (I have a free account in Azure / Atlas).

Any idea when you will be able to provide a fix? (I suppose I'll not be the only one in this situation...).

@OpossumGit
Copy link
Contributor

Received the same mail as Atlas user. Are we afraid that MongoDB 8.0 will not be compatible with current code base?

@bewest
Copy link
Member

bewest commented Nov 5, 2024

Apologies, Sulka, I'll look at restoring your prior work on this.

@thedewi
Copy link

thedewi commented Nov 22, 2024

That bug hasn't been completely reverted, since the last GitHub Release still has it, as per #8208.

This might be further confusing issues reported by users around mongo compatibility.

@thedewi
Copy link

thedewi commented Nov 22, 2024

@sulkaharo I'm pretty good with git patch wrangling and am happy to raise a mergeable branch, but where is the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants