Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

MongooseError: Operation `users.countDocuments()` buffering timed out after 10000ms

default discord avatar
generator1012 years ago
6

I keep getting this error when trying to run graphQLSchema

PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:graphQLSchema



const err = new MongooseError(message);
                      ^
MongooseError: Operation `users.countDocuments()` buffering timed out after 10000ms


any idea why this is happening?

  • discord user avatar
    jarrod_not_jared
    2 years ago

    What version of payload are ya on?

  • default discord avatar
    generator1012 years ago

    the latest one

    "payload": "1.6.3",
  • discord user avatar
    jarrod_not_jared
    2 years ago

    Thats odd, the command under the hood runs with mongo disabled

  • default discord avatar
    generator1012 years ago
    @281120856527077378

    I just updated to

    "payload": "1.6.4",

    and still have the issue



    keeps saying

    MongooseError: Operation

    users.countDocuments()

    buffering timed out after 10000ms

    changed to a fresh mongo db too

  • discord user avatar
    denolfe
    2 years ago
    @944284724824801302

    This was an issue that was fixed in 1.6.9.



    Give it a try and let us know.

  • default discord avatar
    ssyberg2 years ago

    I'm still getting this issue, I'm on 1.8.2



    JFYI - resolved here:

    https://discord.com/channels/967097582721572934/1069809115544694805
Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.