Your database looks empty! Please create some collections... MongoDB

My team is considering switching to Forest Admin, and I’m trying to get it to work in my local environment. The prepared lumber command is failing with the message: “Your database looks empty! Please create some collections”

I’ve added collections to the 4 dbs I see in the console, just a few small items, but I’m getting the same error

Expected behavior

I expected the lumber command to give me some kind of admin dashboard

Actual behavior

I’m getting an empty database error, even after adding some items to the databases.

Failure Logs

Please include any relevant log snippets, if necessary.
✓ Connecting to your database

:heavy_multiplication_x: Analyzing the database

Your database looks empty! Please create some collections before running the command.

Context

Please provide any relevant information about your setup.

  • Package Version: Node v 12.16.3
  • Express Version: 4.17.1
  • Sequelize Version:
  • Database Dialect: MongoDB
  • Database Version: 4.0.1
  • Project Name:

Hello @DennisJMurphy, and welcome to the Forest Admin community :tada:

It looks like the connection to the database you specified can’t find any collections.
Could you recheck the parameters, please?

You can also test with this demo mongo database : GitHub - marcperrinp/standalone-mongo for testing everything is working correctly.

Let me know if it helps :slight_smile:

solved: I had pointed Forest at the the mongoDB server and not to a specific DB…

1 Like