Skip to content

Frontend crashes on login: Cannot read properties of undefined (reading 'currentActiveUsers') #6

Description

@andrewgl504

Describe the bug

Immediately after a successful login, the dashboard frontend crashes with a TypeError: Cannot read properties of undefined (reading 'currentActiveUsers') error.

The password, cookie handling, and MongoDB connection are all working correctly.

To Reproduce

  1. Deploy librechat-admin-dashboard via docker-compose, connected to a LibreChat v0.8.5.
  2. Log in to the dashboard via the web UI.
  3. Observe immediate crash upon loading the main dashboard view.

Environment & Debugging Performed

  • Deployment: Docker Compose (same network as LibreChat)
  • Database Status: We have confirmed the transactions collection is highly populated. Running db.transactions.countDocuments() returns over 15,000 records.
  • LibreChat Version: 0.8.5
  • Token Tracking: Explicitly enabled in librechat.yaml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions