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

8.0.24+ needs a new mongo #108

Closed
ryansch opened this issue Jan 3, 2024 · 10 comments
Closed

8.0.24+ needs a new mongo #108

ryansch opened this issue Jan 3, 2024 · 10 comments
Assignees

Comments

@ryansch
Copy link
Owner

ryansch commented Jan 3, 2024

The hack we've been using to pull in mongo 3.6.x has finally broken.

Unifi 7.5 and greater supports mongo 4.4. I'm looking at upgrading to it.

@ryansch ryansch self-assigned this Jan 3, 2024
@mhzawadi
Copy link

Hello 👋🏼

Any update on this?

@loganmarchione
Copy link
Contributor

The Release Candidate for 8.1.113 just dropped.

https://community.ui.com/releases/UniFi-Network-Application-8-1-113/af46fd38-8afe-4cef-8de1-89636b02b52c

I find this part the most interesting...

UniFi Network Application 7.5 and newer requires MongoDB 3.6 and Java 17.

  • Version 7.5 till 8.0 supports up to MongoDB 4.4.
  • Version 8.1 and newer supports up to MongoDB 7.0.

@ryansch
Copy link
Owner Author

ryansch commented Mar 25, 2024

@loganmarchione Whoa.

@ryansch
Copy link
Owner Author

ryansch commented Mar 25, 2024

Honestly, I might just skip straight to 8.1 at this point.

@loganmarchione
Copy link
Contributor

FYI if you plan to upgrade MongoDB while upgrading Unifi. Versions 5 and later require AVX512 CPU instructions, or they won't boot.

docker-library/mongo#485
https://www.mongodb.com/docs/manual/administration/production-notes/#x86_64

@kfken
Copy link

kfken commented Mar 27, 2024

FYI if you plan to upgrade MongoDB while upgrading Unifi. Versions 5 and later require AVX512 CPU instructions, or they won't boot.

docker-library/mongo#485 https://www.mongodb.com/docs/manual/administration/production-notes/#x86_64

This calls out ARMv8.2-A as required for arm64 (I think AVX-512 is x64 specific)

I came across this project that may help expand the support for newer Mongo versions on Pi:
https://github.com/themattman/mongodb-raspberrypi-binaries

@ryansch
Copy link
Owner Author

ryansch commented Apr 18, 2024

Your feedback is incredibly helpful! This pain is part of the reason why there hasn't been a new release in a while.

@ryansch
Copy link
Owner Author

ryansch commented May 10, 2024

I'm not dead. This is still on my radar.

@mhzawadi
Copy link

If it helps in any way, I have run the GlennR install a unifi on my mac (an M1 Pro) and I can see it might have worked.

Will get it running with exposed ports and confirm its really working

@ryansch
Copy link
Owner Author

ryansch commented Jun 18, 2024

I just shipped 8.1 with mongo 4.4.18. Works on my pi4.

@ryansch ryansch closed this as completed Jun 18, 2024
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

4 participants