From 5d2d4a6186dbd4fbb0fd27cf8cf2e17657b463da Mon Sep 17 00:00:00 2001 From: "Alexander L." Date: Mon, 18 May 2026 18:07:25 +0200 Subject: [PATCH] Remove stuck docker files so apps start properly (#5674) --- arcane/hooks/pre-start | 13 +++++++++++-- arcane/umbrel-app.yml | 11 +++++++---- dockge/hooks/pre-start | 16 ++++++++++++++++ dockge/umbrel-app.yml | 8 ++++---- komodo/hooks/pre-start | 12 ++++++++++++ komodo/umbrel-app.yml | 17 +++++++++++++++-- openhands/hooks/pre-start | 16 ++++++++++++++++ openhands/umbrel-app.yml | 9 ++++++--- portainer/hooks/pre-start | 13 +++++++++++-- portainer/umbrel-app.yml | 6 ++---- 10 files changed, 100 insertions(+), 21 deletions(-) create mode 100755 dockge/hooks/pre-start create mode 100755 openhands/hooks/pre-start diff --git a/arcane/hooks/pre-start b/arcane/hooks/pre-start index 68be6a453..bdc3121ab 100755 --- a/arcane/hooks/pre-start +++ b/arcane/hooks/pre-start @@ -3,5 +3,14 @@ set -euo pipefail APP_DATA_DIR="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)/data" -# Remove stale docker.pid file that can cause issues after power outages or crashes -rm -f "${APP_DATA_DIR}/docker/docker.pid" +DOCKER_DIR="${APP_DATA_DIR}/docker" + +# Remove stale Docker-in-Docker runtime state that can survive power loss, +# crashes, restarts, or updates and prevent the nested Docker daemon from +# starting. +# +# Keep ${DOCKER_DIR}/data intact. It is the nested Docker graph root and may +# contain user-managed Portainer containers, images, volumes, and stacks. +rm -f "${DOCKER_DIR}/docker.pid" +rm -f "${DOCKER_DIR}/docker.sock" +rm -rf "${DOCKER_DIR}/exec" diff --git a/arcane/umbrel-app.yml b/arcane/umbrel-app.yml index 8c7f8ee3b..9de3e049f 100644 --- a/arcane/umbrel-app.yml +++ b/arcane/umbrel-app.yml @@ -2,7 +2,7 @@ manifestVersion: 1.1 id: arcane category: developer name: Arcane -version: "1.19.4" +version: "1.19.4-1" tagline: An easy and modern Docker management platform description: >- ⚠️ Make sure to only use named Docker volumes for your containers and projects. Data in bind-mounted volumes will be lost when the Arcane app is restarted or updated. @@ -48,12 +48,15 @@ path: "" defaultUsername: "arcane" defaultPassword: "arcane-admin" releaseNotes: >- - This update fixes agent endpoint behavior, template loading, gRPC/websocket tunnel commands, rate-limited update checks, project visibility when project folders are unreadable, and release-note population for manager instances. + This release maintains the current version but applies a fix for an issue where the Arcane app would fail to start. + + + Release notes for version 1.19.4 remain the same: + - This update fixes agent endpoint behavior, template loading, gRPC/websocket tunnel commands, rate-limited update checks, project visibility when project folders are unreadable, and release-note population for manager instances. + - It also blocks unsafe Docker Compose include file reads. - It also blocks unsafe Docker Compose include file reads. Full release notes are found at https://github.com/getarcaneapp/arcane/releases/tag/v1.19.4 - permissions: - GPU developer: Arcane diff --git a/dockge/hooks/pre-start b/dockge/hooks/pre-start new file mode 100755 index 000000000..bdc3121ab --- /dev/null +++ b/dockge/hooks/pre-start @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +set -euo pipefail + +APP_DATA_DIR="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)/data" + +DOCKER_DIR="${APP_DATA_DIR}/docker" + +# Remove stale Docker-in-Docker runtime state that can survive power loss, +# crashes, restarts, or updates and prevent the nested Docker daemon from +# starting. +# +# Keep ${DOCKER_DIR}/data intact. It is the nested Docker graph root and may +# contain user-managed Portainer containers, images, volumes, and stacks. +rm -f "${DOCKER_DIR}/docker.pid" +rm -f "${DOCKER_DIR}/docker.sock" +rm -rf "${DOCKER_DIR}/exec" diff --git a/dockge/umbrel-app.yml b/dockge/umbrel-app.yml index 94766e985..4c905251e 100644 --- a/dockge/umbrel-app.yml +++ b/dockge/umbrel-app.yml @@ -1,8 +1,8 @@ -manifestVersion: 1 +manifestVersion: 1.1 id: dockge category: developer name: Dockge -version: "1.5.0" +version: "1.5.0-1" tagline: Easy to use Docker Compose manager description: >- ⚠️ Make sure to only use named Docker volumes in your Compose files. Data in bind-mounted volumes @@ -46,10 +46,10 @@ path: "" defaultUsername: "" defaultPassword: "" releaseNotes: >- - This update comes with new features, improvements, and bug fixes to enhance your experience with Dockge. + This release maintains the current version but applies a fix for an issue where the Dockge app would fail to start. - Highlights: + Release notes for version 1.5.0 remain the same: - Docker client and Docker Compose updates - Console improvements - Various bug fixes and improvements diff --git a/komodo/hooks/pre-start b/komodo/hooks/pre-start index 3034fe7c8..c95f51fd4 100755 --- a/komodo/hooks/pre-start +++ b/komodo/hooks/pre-start @@ -6,6 +6,18 @@ set -euo pipefail APP_DIR="$(readlink -f "$(dirname "${BASH_SOURCE[0]}")/..")" KEYS_DIR="$APP_DIR/data/keys" ENV_FILE="$APP_DIR/settings.env" +APP_DATA_DIR="$APP_DIR/data" +DOCKER_DIR="${APP_DATA_DIR}/docker" + +# Remove stale Docker-in-Docker runtime state that can survive power loss, +# crashes, restarts, or updates and prevent the nested Docker daemon from +# starting. +# +# Keep ${DOCKER_DIR}/data intact. It is the nested Docker graph root and may +# contain user-managed Portainer containers, images, volumes, and stacks. +rm -f "${DOCKER_DIR}/docker.pid" +rm -f "${DOCKER_DIR}/docker.sock" +rm -rf "${DOCKER_DIR}/exec" mkdir -p "$KEYS_DIR" chown -R 1000:1000 "$KEYS_DIR" diff --git a/komodo/umbrel-app.yml b/komodo/umbrel-app.yml index e32f3c7fe..6bd6a0bfb 100644 --- a/komodo/umbrel-app.yml +++ b/komodo/umbrel-app.yml @@ -3,7 +3,7 @@ id: komodo name: Komodo tagline: A tool to build and deploy software category: developer -version: "2.2.0" +version: "2.2.0-1" port: 9120 description: >- 🦎 Komodo is an open-source platform focused on streamlining and automating the management of servers, application builds, deployments, and containerized environments. It offers a unified interface that enables users to monitor critical system metrics such as CPU load, memory consumption, and disk usage across multiple servers, providing comprehensive operational visibility. A key feature of Komodo is its ability to manage Docker containers and Docker Compose applications, delivering real-time insights into their status, logs, and uptime. This detailed container management simplifies troubleshooting and operational oversight, making it easier for teams to maintain and optimize their deployments. @@ -26,8 +26,21 @@ gallery: - 4.jpg - 5.jpg releaseNotes: >- - This update adds Swarm deployment fixes, global auto-update service exclusions, resource sync ordering improvements, a resource TOML schema, standard shell mode for commands, customizable security headers, expanded OIDC login and registration controls, and UI improvements. + This release maintains the current version but applies a fix for an issue where the Komodo app would fail to start. + + Release notes for version 2.2.0 remain the same: + - Swarm deployment fixes + - Global auto-update service exclusions + - Resource sync ordering improvements + - A resource TOML schema + - Standard shell mode for commands + - Customizable security headers + - Expanded OIDC login and registration controls + - UI improvements + + + Full release notes can be found at https://github.com/moghtech/komodo/releases dependencies: [] path: "" defaultUsername: "" diff --git a/openhands/hooks/pre-start b/openhands/hooks/pre-start new file mode 100755 index 000000000..bdc3121ab --- /dev/null +++ b/openhands/hooks/pre-start @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +set -euo pipefail + +APP_DATA_DIR="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)/data" + +DOCKER_DIR="${APP_DATA_DIR}/docker" + +# Remove stale Docker-in-Docker runtime state that can survive power loss, +# crashes, restarts, or updates and prevent the nested Docker daemon from +# starting. +# +# Keep ${DOCKER_DIR}/data intact. It is the nested Docker graph root and may +# contain user-managed Portainer containers, images, volumes, and stacks. +rm -f "${DOCKER_DIR}/docker.pid" +rm -f "${DOCKER_DIR}/docker.sock" +rm -rf "${DOCKER_DIR}/exec" diff --git a/openhands/umbrel-app.yml b/openhands/umbrel-app.yml index 9dab9cbf6..25128a7c2 100644 --- a/openhands/umbrel-app.yml +++ b/openhands/umbrel-app.yml @@ -1,9 +1,9 @@ -manifestVersion: 1 +manifestVersion: 1.1 id: openhands name: OpenHands tagline: A local AI agent for writing and improving code category: ai -version: "1.7.0" +version: "1.7.0-1" port: 3993 description: >- 👐 OpenHands is a local-first AI development assistant that helps developers automate repetitive programming tasks and concentrate on more meaningful work. It runs entirely on your own Umbrel server and respects your privacy by keeping all operations offline and under your control. OpenHands understands, edits, and improves code independently by using intelligent software agents that analyze your repositories, execute commands, work with files, and follow instructions written in natural language. @@ -29,7 +29,10 @@ gallery: - 4.jpg - 5.jpg releaseNotes: >- - This release brings several new features and improvements: + This release maintains the current version but applies a fix for an issue where the OpenHands app would fail to start. + + + Release notes for version 1.7.0 remain the same: - Added LLM model display on conversation cards and header - Added SANDBOX_KVM_ENABLED environment variable to enable KVM-accelerated virtual machines in sandbox containers - Exposed SDK settings schema to OpenHands diff --git a/portainer/hooks/pre-start b/portainer/hooks/pre-start index 68be6a453..bdc3121ab 100755 --- a/portainer/hooks/pre-start +++ b/portainer/hooks/pre-start @@ -3,5 +3,14 @@ set -euo pipefail APP_DATA_DIR="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)/data" -# Remove stale docker.pid file that can cause issues after power outages or crashes -rm -f "${APP_DATA_DIR}/docker/docker.pid" +DOCKER_DIR="${APP_DATA_DIR}/docker" + +# Remove stale Docker-in-Docker runtime state that can survive power loss, +# crashes, restarts, or updates and prevent the nested Docker daemon from +# starting. +# +# Keep ${DOCKER_DIR}/data intact. It is the nested Docker graph root and may +# contain user-managed Portainer containers, images, volumes, and stacks. +rm -f "${DOCKER_DIR}/docker.pid" +rm -f "${DOCKER_DIR}/docker.sock" +rm -rf "${DOCKER_DIR}/exec" diff --git a/portainer/umbrel-app.yml b/portainer/umbrel-app.yml index bb3329b55..6f4191499 100644 --- a/portainer/umbrel-app.yml +++ b/portainer/umbrel-app.yml @@ -2,7 +2,7 @@ manifestVersion: 1.1 id: portainer category: developer name: Portainer -version: "2.39.1-1" +version: "2.39.1-2" tagline: Run custom Docker containers on your Umbrel description: >- ⚠️ Make sure to only use named Docker volumes for your stacks and containers. Data in bind-mounted volumes @@ -51,9 +51,7 @@ path: "" defaultUsername: "admin" defaultPassword: "changeme" releaseNotes: >- - This release maintains the current LTS version (2.39.1) but applies two tiny updates: - - Adds a rule to skip Umbrel OS Auth Proxy (allowing machine-to-machine comms) - - Internal replacement that sets a different built version for Portainer itself + This release maintains the current LTS version (2.39.1) but applies a fix for an issue where the Portainer app would fail to start. Release notes for Portainer 2.39.1 LTS remain the same: