Git Product home page Git Product logo

Comments (3)

AlekSi avatar AlekSi commented on June 12, 2024 2

According to https://www.mongodb.com/docs/drivers/java/sync/current/compatibility/, Java driver 3.4 supports MongoDB 3.4 at most. FerretDB is compatible with MongoDB 5.0+. More specifically, MongoDB 3.6 introduced a new type of wire protocol message OP_MSG that we implement; we mainly don't support older message types. I don't think there is an easy way for us to support that version, sorry.

That being said, becoming compatible with Unifi Controllers is something we are interested in, so let's keep that issue open.

from ferretdb.

noisersup avatar noisersup commented on June 12, 2024 1

Hi, I think I've managed to do some steps regarding this issue.

NixOS unifi module, by default, uses the 5.14.23 version of the controller. The newer versions of the controller support the more up-to-date versions of the protocol:

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.

I've tested FerretDB compatibility against the latest Unifi controller version by using services.unifi.unifiPackage = unifi8 and have managed to properly pair my access point, and do basic configuration with no issues.

I started working on modifying the NixOS module to optionally allow specifying the database URL, although I'm still not sure how to handle creation of system.properties file. It seems to me that both the file and it's parent data directory are mutable and can be modified by the service. It seems to take all of the user-set parameters, change the order, and set additional ones like reporter-uuid, or uuid.

from ferretdb.

conblem avatar conblem commented on June 12, 2024

I just stumbled into the same problem whilst testing ferretdb together with the unifi controller.

from ferretdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.