Git Product home page Git Product logo

Comments (2)

talisk avatar talisk commented on June 16, 2024

It looks that there's some migration work to support MongoDB 6.x.x.

from unpub.

PauloYR avatar PauloYR commented on June 16, 2024

I start the server and it works perfectly, when I go to publish a package I receive the message "Successfully uploaded package" but when consulting the packages I receive the following error:

Error thrown by handler. {ok: 0.0, errmsg: Unsupported OP_QUERY command: count. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal, code: 352, codeName: UnsupportedOpQueryCommand} package:shelf/src/middleware/logger.dart 30:62 logRequests...

If you consult the url directly https://server:port/api/packages/{name of the package} you can see that the package was inserted correctly because it returns the json of the package, the problem is when displaying it. I think that the problem is related with the legacy opcodes unsupported since mongodb 5.1 as shown here https://dochub.mongodb.org/core/legacy-opcode-removal and I'm using the latest community version 6.0.4.

Is there any solution that doesn't be downgrade the mongodb version?

Thanks in advance!

You can downgrade MongoDB to 5.0.15

from unpub.

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.