Diagnose "Connecting MongoDB to Dashboard" Behaviors

Learn how to diagnose behaviors when connecting a MongoDB Database to the FaceTec Dashboard.

Verify FaceTec Server stores Data in MongoDB

  1. Connect to your MongoDB Database via mongo shell or another API.
  2. Run the following command: db.getCollection(“Session”).find({}).
  3. If successful, a non-zero number of records should be returned.

Verify FaceTec Server and Dashboard connect to Database

  1. Verify the MongoDB Connection String (uri) is the same in both the FaceTec Server's config.yaml and Dashboard's config.yaml.
  2. Verify the mongodb is set at the database in the FaceTec Server's config.yaml.
  3. Verify the Database Name (databaseName) is the same in both FaceTec Server's config.yaml and Dashboard's config.yaml.

FaceTec Server's config.yaml

 

Dashboard's config.yaml