tigase / tigase-mongodb

Tigase MongoDB
GNU Affero General Public License v3.0
1 stars 3 forks source link

mongodb driver may need upgrade #6

Open shenwii opened 1 year ago

shenwii commented 1 year ago

Environment

When I try to connect to mongo, it reports an error. Command failed with error 352: 'Unsupported OP_QUERY command: listDatabases. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal' on server mongo:27017. The full response is { "ok" : 0.0, "errmsg" : "Unsupported OP_QUERY command: listDatabases. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal", "code" : 352, "codeName" : "UnsupportedOpQueryCommand" }

woj-tek commented 1 year ago

We are aware of the issue and updated driver will be available in the next Tigase version - 8.4. For now, as a workaround, you can use older mongodb version (which should be quite easy considering you use docker).

(ref: mongodb-34)