hermes - 💡(How to fix) Fix [Bug]: Hermes dashboard not working on NixOS (container)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Traceback (most recent call last): File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/bin/hermes", line 10, in <module> sys.exit(main()) ^^^^^^ File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/lib/python3.12/site-packages/hermes_cli/main.py", line 14171, in main args.func(args) File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/lib/python3.12/site-packages/hermes_cli/main.py", line 10815, in cmd_dashboard from hermes_cli.web_server import start_server File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/lib/python3.12/site-packages/hermes_cli/web_server.py", line 4822, in <module> from hermes_cli.dashboard_auth.routes import router as _dashboard_auth_router # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'hermes_cli.dashboard_auth'

Root Cause

Root Cause Analysis (optional)

Code Example

Traceback (most recent call last):
  File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/bin/hermes", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/lib/python3.12/site-packages/hermes_cli/main.py", line 14171, in main
    args.func(args)
  File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/lib/python3.12/site-packages/hermes_cli/main.py", line 10815, in cmd_dashboard
    from hermes_cli.web_server import start_server
  File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/lib/python3.12/site-packages/hermes_cli/web_server.py", line 4822, in <module>
    from hermes_cli.dashboard_auth.routes import router as _dashboard_auth_router  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'hermes_cli.dashboard_auth'

---

services.hermes-agent = {
    enable = true;
    container.enable = true;
    container.backend = "podman";
    container.hostUsers = [ "user" ];
    settings.model.default = "gemini-3.1-flash-lite";
    settings.model.provider = "google";
    settings.web.search_backend = "brave_search";
    settings.web.extract_backend = "";
    addToSystemPackages = true;
    settings.gateway.platforms.signal.enable = true;
    environmentFiles = [ config.sops.secrets."hermes-env".path ];
    environment = { };
  };

---

Report       https://paste.rs/603VO
agent.log    https://paste.rs/cDjbd
gateway.log  https://paste.rs/dH596

---
RAW_BUFFERClick to expand / collapse

Bug Description

When running hermes dashboard:

Traceback (most recent call last):
  File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/bin/hermes", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/lib/python3.12/site-packages/hermes_cli/main.py", line 14171, in main
    args.func(args)
  File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/lib/python3.12/site-packages/hermes_cli/main.py", line 10815, in cmd_dashboard
    from hermes_cli.web_server import start_server
  File "/nix/store/z4ap7yz79cyqdhi2l6a45ihjvlmbafl7-hermes-agent-env/lib/python3.12/site-packages/hermes_cli/web_server.py", line 4822, in <module>
    from hermes_cli.dashboard_auth.routes import router as _dashboard_auth_router  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'hermes_cli.dashboard_auth'

Steps to Reproduce

Nix config:

  services.hermes-agent = {
    enable = true;
    container.enable = true;
    container.backend = "podman";
    container.hostUsers = [ "user" ];
    settings.model.default = "gemini-3.1-flash-lite";
    settings.model.provider = "google";
    settings.web.search_backend = "brave_search";
    settings.web.extract_backend = "";
    addToSystemPackages = true;
    settings.gateway.platforms.signal.enable = true;
    environmentFiles = [ config.sops.secrets."hermes-env".path ];
    environment = { };
  };

Run hermes dashboard.

Expected Behavior

Dashboard should start.

Actual Behavior

Error

Affected Component

Other

Messaging Platform (if gateway-related)

No response

Debug Report

Report       https://paste.rs/603VO
agent.log    https://paste.rs/cDjbd
gateway.log  https://paste.rs/dH596

Operating System

NixOS 25.11

Python Version

3.12.13

Hermes Version

0.14.0

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING