Files
ProxmoxVE/ct
Tim Moore 90d80949c1 Immich: download before stopping, and clear maintenance mode after an interrupted update (#18553)
* fix(immich): download before stopping, and clear maintenance mode after an interrupted update

setup_uv and the Immich release fetch ran after maintenance mode, the service stop and rm -rf app/*, so a failed download (e.g. a GitHub releases/download 504) left the container with no app at all. They now run first, while the old install is still serving.

The fetch writes the new version to ~/.immich, so the old version is put back until the update finishes and a failed run can still be retried.

Maintenance mode is now disabled whenever immich-admin exists at the end, not only when this run enabled it. Since #17798 a re-run after an interrupted update skips the enable, so it skipped the disable too and left the web UI on the maintenance page.

* fix(immich): trim comments to the AGENTS.md limit

* fix(immich): rely on the core pending marker, and only clear maintenance mode this run owns

fetch_and_deploy_release already keeps ~/.immich.pending until a clean exit and redoes the update while it exists, so the hand-rolled version swap is dropped; PREV_IMMICH now reads CS_PREVIOUS_VERSION so a redo sees the real old version.

Maintenance mode is disabled when this run enabled it, or when app/ was empty at the start (an interrupted run left it on), rather than whenever immich-admin exists.

* immich: drop comment per review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 09:42:03 +01:00
..
2026-11-01 21:21:56 +01:00
2026-10-10 09:10:51 +02:00
2026-10-03 08:19:10 +02:00
2026-10-30 22:06:11 +01:00
2026-10-01 23:21:35 +02:00
2026-10-19 19:22:08 +02:00
2026-10-26 09:07:06 +01:00
2026-10-10 09:11:09 +02:00
2026-10-30 22:05:13 +01:00
2026-11-08 14:50:13 +01:00
2026-10-03 08:19:10 +02:00
2026-10-22 13:50:33 +02:00
2026-10-28 07:24:22 +01:00
2026-10-03 08:19:10 +02:00
2026-10-03 08:19:10 +02:00
2026-10-03 08:19:10 +02:00
2026-10-16 21:45:39 +02:00
2026-10-25 19:47:32 +01:00
2026-10-25 13:10:08 +01:00
2026-11-07 21:00:38 +01:00
2026-10-03 08:19:10 +02:00
2026-10-09 08:31:48 +02:00
2026-10-01 23:23:26 +02:00
2026-10-03 08:19:10 +02:00
2026-10-03 08:19:10 +02:00
2026-10-03 08:19:10 +02:00
2026-10-26 10:08:20 +01:00
2026-10-26 09:18:22 +01:00
2026-10-03 16:58:20 +02:00
2026-10-03 08:19:10 +02:00
2026-10-17 15:50:25 +02:00
2026-10-19 19:20:35 +02:00
2026-10-16 21:44:38 +02:00
2026-10-03 08:19:10 +02:00
2026-10-03 08:19:10 +02:00
2026-10-03 08:19:10 +02:00
2026-10-06 10:48:36 +02:00
2026-11-01 21:18:19 +01:00
2026-10-30 22:06:33 +01:00
2026-10-03 08:19:10 +02:00
2026-10-03 08:19:10 +02:00
2026-09-30 19:40:34 +02:00
2026-10-26 08:48:57 +01:00
2026-10-26 09:09:36 +01:00
2026-10-03 08:19:10 +02:00
2026-10-03 08:19:10 +02:00
2026-10-03 08:19:10 +02:00
2026-10-25 13:10:27 +01:00
2026-11-03 09:08:34 +01:00
2026-10-09 08:27:27 +02:00
2026-10-31 21:46:03 +01:00
2026-10-26 17:48:05 +01:00
2026-10-12 14:02:50 +02:00
2026-10-10 22:49:16 +02:00
2026-11-03 16:45:19 +01:00
2026-10-03 08:19:10 +02:00
2026-10-17 15:50:13 +02:00
2026-10-26 09:17:02 +01:00