Skip to content

[Bug]: Help - Can't rebuild desktop and icon disappear. (can't even start the agent) #46693

Closed as not planned

Description

@KKTY-Agent

Bug Description

Hermes update try to rebuild desktop but failed, then icon disappeared. use Hermes desktop --force-build, but still doesn't work.

Image

Where can load the desktop version Hermes manually?

Steps to Reproduce

run the windows version hermes update.. then can't rebuild and file corrupted....

Expected Behavior

Update successes

Actual Behavior

Update successes

Affected Component

Setup / Installation

Messaging Platform (if gateway-related)

No response

Debug Report

nothing

Operating System

windows 11

Python Version

No response

Hermes Version

0.16.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

Activity

  1. added
    type/bugSomething isn't working
    comp/tuiTerminal UI (ui-tui/ + tui_gateway/)
    P3Low — cosmetic, nice to have
    on Jun 15, 2026
  2. alt-glitch commented on Jun 15, 2026

    @alt-glitch

    Related: #38046 — on Windows the built-in updater triggers Install mode instead of Update mode, which deletes apps/desktop files and skips the desktop rebuild (matching the broken rebuild + disappearing icon described here).

  3. KKTY-Agent commented on Jun 15, 2026

    @KKTY-Agent
    Author

    I tried the workaround process:

    Image

    But still doesn't work. Errors:

    Image Image

    Any idea?

  4. KKTY-Agent commented on Jun 15, 2026

    @KKTY-Agent
    Author

    I just checked and some of the sub folders are gone, so I have no idea how to fix this issue now. Can't open Hermes either CLI / Desktop mode now.
    First, how can I back up all the cron jobs and sub-agents to avoid rebuild the entire AI now.
    Please help.

  5. teknium1 commented on Jul 14, 2026

    @teknium1
    Collaborator

    Thanks for the report and the follow-up recovery details. This is now covered on current main; automated hermes-sweeper review found the Windows update path uses Update mode and rebuilds Desktop rather than entering the destructive Install-mode path.

    • apps/desktop/electron/main.ts:2656-2665 recognizes existing-install signals, including .hermes-bootstrap-complete, and selects --update for recovery.
    • apps/bootstrap-installer/src-tauri/src/lib.rs:35-50 maps --update to AppMode::Update.
    • apps/bootstrap-installer/src-tauri/src/update.rs:341-408 runs hermes desktop --build-only, retries once, and fails explicitly if the rebuild cannot complete.
    • The Windows recovery fix is ba37c910e0e2d19b3329a7e74dca21def8d4c3b6, shipped in v2026.7.1. The related report Desktop update triggers Install mode instead of Update mode, breaking desktop build #38046 identified the same Install-vs-Update failure class.
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

    P3Low — cosmetic, nice to havecomp/tuiTerminal UI (ui-tui/ + tui_gateway/)sweeper:implemented-on-mainSweeper: behavior already present on current maintype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions