Skip to content

WebUI "Update" button surfaces raw SystemExit when run in Docker context #34347

@NOirBRight

Description

@NOirBRight

Environment

  • v0.15.1, dashboard webui (port 9119), running inside Docker

Symptom

Clicking "Update" in WebUI inside a Docker container shows raw output:

✗ `hermes update` doesn't apply inside the Docker container.
Hermes Agent runs as a published image ... [4 paragraphs of guidance]

The message text is excellent and points to the correct fix (docker pull && docker compose up -d --force-recreate). The issue is UX:

  • Button is enabled inside Docker context where it cannot succeed
  • Click triggers the CLI guard which exits non-zero → WebUI renders it as a generic error

Suggested fix

Detect Docker in /api/hermes/update endpoint (e.g. via /.dockerenv or the existing context detection used by the CLI guard) and either:

  • Hide the button in Docker mode, OR
  • Render a Docker-specific modal with copy-paste-ready commands instead of surfacing the SystemExit as an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havearea/dockerDocker image, Compose, packagingcomp/cliCLI entry point, hermes_cli/, setup wizardtype/bugSomething isn't working

    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