pd4d10 / unpub

Self-hosted private Dart Pub server for Enterprise

Home Page:https://pub.dev/packages/unpub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package not visible after succesful publishing

mishraaditya595 opened this issue · comments

I am running unpub on my localhost and I created a test package and published it.
Screenshot 2024-05-08 at 11 13 54

But when I launch unpub in my browser, I get this error:
GET /webapi/packages?size=10&page=0&q=h 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/shelf_io.dart 138:16 handleRequest

I am using mongodb-community@4.4

commented

Any update? facing the same problem

Because unpub is based on an older version of the mongo_dart package, you should downgrade your MongoDB server to version 5 or earlier. Hopefully, this package will receive an update soon

Any update? facing the same problem

I tried a couple of things but was not quite worth the hassle. So, I gave up.