hex7c0 / mongodb-backup

backup data for mongodb for Nodejs
https://github.com/hex7c0/mongodb-backup
Apache License 2.0
134 stars 49 forks source link

Error [MongoError]: Unsupported OP_QUERY command: listCollections. #51

Open m0x61h0x64i opened 1 year ago

m0x61h0x64i commented 1 year ago

Error [MongoError]: Unsupported OP_QUERY command: listCollections. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal at Function.MongoError.create (C:\Users\user\Desktop\poetry\node_modules\mongodb-core\lib\error.js:31:11) at queryCallback (C:\Users\user\Desktop\poetry\node_modules\mongodb-core\lib\cursor.js:212:36) at C:\Users\user\Desktop\poetry\node_modules\mongodb-core\lib\connection\pool.js:455:18 at processTicksAndRejections (node:internal/process/task_queues:78:11) { ok: 0, errmsg: 'Unsupported OP_QUERY command: listCollections. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal', code: 352, codeName: 'UnsupportedOpQueryCommand' }

"mongodb-backup": "^1.6.9"

maxis7567 commented 1 year ago

I got the same error

gabrielfava commented 1 year ago

same here

anotherbird commented 1 year ago

same.. mongod --version

Build Info: {
    "version": "6.0.4",
    "gitVersion": "44ff59461c1353638a71e710f385a566bcd2f547",
    "openSSLVersion": "OpenSSL 1.1.1f  31 Mar 2020",
    "modules": [],
    "allocator": "tcmalloc",
    "environment": {
        "distmod": "ubuntu2004",
        "distarch": "x86_64",
        "target_arch": "x86_64"
    }
}
Bonjour123 commented 9 months ago

Any maintainer to answer ? Maybe it is no more maintained ? Then it should be stated in the docs..