Skip to content

Updating a stopped app starts it ("Update all" does this to every stopped app) #593

Closed

Description

@nixfred

What happens

update() in omarchyd/apps.mjs (line 1675) always finishes with docker-compose up -d --remove-orphans (line 1709). For an app the person has stopped, that starts all of its containers, and markStarted (line 1710) makes it look freshly started. The app list then shows it as running and the gateway opens.

The Apps screen offers "Update all", which updates every app with an update one after another (web/src/screens/Apps.tsx, updateAll, line 49). Its confirmation says "Each app restarts while it updates", which is not what happens to a stopped app: it is started, and keeps running afterwards. Apps stopped on purpose (to save memory, or because they should only run on demand) are switched on by an update.

How to reproduce

I drove the real omarchyd in-process (as test/apps.test.mjs does) with a scripted docker-compose: install demo-app, apps.stop, publish version 1.1 in the store, appStore.refresh, apps.update:

after stop stopped
after update running

Expected: an app that was stopped before the update is still stopped after it (for example recreate the containers without starting them), or the update asks first.

Suggested fix

Read the live state before the update and, when it is stopped, recreate the containers without starting them (up --no-start), or stop them again after up.

Environment

Omarchy Server main (6aa7f7d, 0.9.52), Node 26.

Activity

  1. calledtoconstruct commented on Nov 21, 2026

    @calledtoconstruct
    Collaborator

    Working to resolve this.

    No open pull request references this issue, and no one has commented that they are working on it.

    #870, #136, #595, #743, #789, #739, #764, #132, and #681 share the app installer with this and will land in one pull request.

    🤖 Generated with Grok 4.7

  2. calledtoconstruct commented on Nov 22, 2026

    @calledtoconstruct
    Collaborator

    Thank you @nixfred. Updating a stopped app leaves it stopped. This is on main in #874.

    🤖 Generated with Grok 4.7

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions