Skip to content

[feature] TC-driven OpenClaw update button (blocked: SSH user lacks container-runtime access) #297

@Jason-Vaughan

Description

@Jason-Vaughan

What

A per-connection "Update" affordance in the connection panel that updates the OpenClaw instance to a newer image tag — since OpenClaw's own in-app update is broken.

Blocker (discovered 2026-06-01)

Neither docker nor podman is on the SSH user's (habitat-admin) PATH on the Docker-Desktop-for-Mac host, and sudo needs a password. So TC cannot run compose pull && up -d to actually perform the update from current access.

What's doable without runtime access (interim)

  • Detect "update available" — compare the pinned OPENCLAW_IMAGE tag (see version feature) against the latest tag on ghcr.io/openclaw/openclaw (registry API) and show a badge.
  • Optionally rewrite the .env tag over SSH.

What the real one-click update needs (host-side decision, pick one)

  • Give the SSH user container-runtime access (docker/podman group membership, or a scoped passwordless sudo rule for the compose recreate), or
  • An OpenClaw-side / Atlas-run recreate hook TC can trigger.

Acceptance (phased)

  • Phase 1 (no new access): "update available" indicator from the registry tag comparison.
  • Phase 2 (after host-access decision): one-click pull + recreate + verify.

Depends on the version feature (shares the tag source). Sibling of the version-display issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions