Skip to content

[Bug]: linux: update fails  #35026

Closed as not planned
Closed as not planned

Description

@ardias

Bug Description

version: 0.15.1 (2026.5.29) [38c4f8c]
os: Linux 6.19.14-ogc5.1.fc44.x86_64 x86_64
python: 3.11.15
openai_sdk: 2.24.0
profile: default
hermes_home: ~/.hermes
model: Qwen3.6-35B-A3B.gguf
provider: custom
terminal: local

hermes update fails with error :


✗ ``hermes update`` doesn't apply inside the Docker container.

Hermes Agent runs as a published image (nousresearch/hermes-agent), not a
git checkout — the container has no working tree to pull into.  Update by
pulling a fresh image and restarting your container instead:

The backend is set to local, and I run the agent directly (in a VM) not through the container. Previous version updated correctly to current version, so the issue is with the current version.

If you need more information please tell how to gather more information in the update process.

Steps to Reproduce

  1. run hermes update
  2. error is shown

Expected Behavior

hermes update should update as before, in-place.

Affected Component

Setup / Installation

Messaging Platform (if gateway-related)

No response

Debug Report

error is not in agent. debug data does not show update errors.

Operating System

Fedora 43

Python Version

3.11.15

Hermes Version

Hermes Agent v0.15.1 (2026.5.29)

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

Activity

  1. changed the title [-][Bug]: linux[/-] [+][Bug]: linux: update fails [/+] on May 29, 2026
  2. added
    type/bugSomething isn't working
    P2Medium — degraded but workaround exists
    comp/cliCLI entry point, hermes_cli/, setup wizard
    on May 29, 2026
  3. alt-glitch commented on May 29, 2026

    @alt-glitch

    Duplicate/competing: Competing fix in the launchd restart cluster — same XPC_SERVICE_NAME detection as #19940, #24898, #33393. More comprehensive approach in #34230/#34988. Also see merged #28341.

  4. ardias commented on May 29, 2026

    @ardias
    Author

    Just tried something similar as stated in #35034 using "git" in the install_method file, and it "fixed" the issue (update via git.

    echo git > ~/.hermes/.install_method

    enables updating via git again. just fyi for anyone else having this issue. hopefully next update fixes the bug

  5. teknium1 commented on May 30, 2026

    @teknium1
    Collaborator

    Already fixed on main — this is a duplicate of #34397.

    Root cause: detect_install_method() checked is_container() and returned "docker" before the .git check. On your Fedora VM is_container() false-positives (the /proc/1/cgroup substring match for "docker" is loose), so hermes update bailed with the container guidance even though you run a local git checkout.

    Your build is 38c4f8c3 (May 29 12:36). PR #35139 (commit c1b2d091, May 30 00:22 — about 12h after your build) dropped that bare is_container() -> "docker" fallback. Unstamped git checkouts now fall through to the .git check, resolve to "git", and update in-place as before.

    Fix: pull the latest. Since hermes update is the thing that's broken, update manually once:

    cd ~/.hermes/hermes-agent && git pull && pip install -e .
    

    After that hermes update will work in-place again. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existsarea/install-updateInstaller, updater, packaging, wheels, doctorcomp/cliCLI entry point, hermes_cli/, setup wizardtype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions