Skip to content

[Bug]: Debian package procps is missing in the Docker image #7020

@nhranitzky

Description

@nhranitzky

Bug Description

The Docker image (Dockerfile) does not contain the procps Debian package. The method find_gateway_pids() in hermes_cli/gateway.py uses ps to find the gateway process. Because ps is not present, the CLI command hermes cron status returns "Gateway is not running"

hermes cron status

✗ Gateway is not running — cron jobs will NOT fire

  To enable automatic execution:
    hermes gateway install    # Install as a user service
    sudo hermes gateway install --system  # Linux servers: boot-time system service
    hermes gateway            # Or run in foreground

Steps to Reproduce

  1. Run the hermes Docker image
  2. Run the CLI hermes cron list or hermes cron status

Expected Behavior

The ps must be present

Actual Behavior

ps is not installed

Affected Component

Other

Messaging Platform (if gateway-related)

No response

Operating System

Docker

Python Version

3.13.5

Hermes Version

0.8.0

Relevant Logs / Traceback

hermes cron status

✗ Gateway is not running — cron jobs will NOT fire

  To enable automatic execution:
    hermes gateway install    # Install as a user service
    sudo hermes gateway install --system  # Linux servers: boot-time system service
    hermes gateway            # Or run in foreground

Root Cause Analysis (optional)

Debian package procps is not installed

Proposed Fix (optional)

Add apt-get install -y procps to Dockerfile

Are you willing to submit a PR for this?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/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