agendash icon indicating copy to clipboard operation
agendash copied to clipboard

Can't connect to MongoDB Atlas anymore

Open jr00n opened this issue 2 years ago • 1 comments

This morning I tried agendash after a few months again but now suddenly I've got this message: node_modules/agendash/lib/controllers/agendash.js:125 const collection = agenda._collection.collection || agenda._collection; ^ TypeError: Cannot read properties of undefined (reading 'collection')

using latest versions of agendash (standalone with npx) npx agendash --db=mongodb+srv://username:[email protected]/databasename --collection=agendaJobs --port=3002

working with a local instance of MongoDB is fine. npx agendash --db=mongodb://localhost:27017/databasename --collection=agendaJobs --port=3002

what do I do wrong?

jr00n avatar May 26 '22 10:05 jr00n

Any news?

jr00n avatar Jul 14 '22 13:07 jr00n

I am getting the same issue here hosting from an express app. Any ideas on this?

checkrcarter avatar Dec 19 '22 19:12 checkrcarter

Hey! I'm checking this tool out and I've managed to resolve this issue (as well as other ones) but had to pull down the code and use my own local version.
A lot of the issues have fixes in open PRs open but they aren't getting merged.

Let me know if you want any help with resolving these.

kratoskat avatar Mar 07 '23 15:03 kratoskat

This looks like a bug. Any chance you have time to submit a PR? I'd love to merge a fix. Make sure to @ at-mention me when PR is ready. Thanks!

koresar avatar Apr 11 '23 02:04 koresar