From 9c70c0d129d753835e653add8e2d4915b091d486 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 3 Nov 2026 08:54:11 +0100 Subject: [PATCH] photoprism: fix permanently unhealthy healthcheck under ingress (#3187) * photoprism: fix permanently unhealthy healthcheck under ingress (#3183) photoprism status queries /api/v1/status at the server root, but with ingress enabled PhotoPrism is served under the ingress sub-path (set via PHOTOPRISM_SITE_URL in cont-init, which the healthcheck never sees), so the check always failed. Use the repo's standard curl healthcheck, without -f so any HTTP response counts as healthy. Co-Authored-By: Claude Opus 5.5 * photoprism: reword CHANGELOG entry for healthcheck fix Co-Authored-By: Claude Opus 5.5 --------- Co-authored-by: BirdNET-Go Addon Builder Co-authored-by: Claude Opus 5.5 --- photoprism/CHANGELOG.md | 3 +++ photoprism/Dockerfile | 2 +- photoprism/config.yaml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/photoprism/CHANGELOG.md b/photoprism/CHANGELOG.md index d6fb594082..dde99e7c8f 100644 --- a/photoprism/CHANGELOG.md +++ b/photoprism/CHANGELOG.md @@ -1,4 +1,7 @@ +## 2026.10.29.1 (03-11-2026) +- Fix permanent unhealthy status by probing PhotoPrism's local HTTP port with curl instead of relying on `photoprism status`, which picks an unsuitable URL inside the healthcheck process (#3183) + ## 2026.10.29 (2026-10-29) - Update to latest version from photoprism/photoprism - Upstream tag : ubuntu-2026-10-29 diff --git a/photoprism/Dockerfile b/photoprism/Dockerfile index e2f4c66601..02c3d87adf 100644 --- a/photoprism/Dockerfile +++ b/photoprism/Dockerfile @@ -141,4 +141,4 @@ HEALTHCHECK \ --retries=5 \ --start-period=30s \ --timeout=60s \ - CMD photoprism status || exit 1 + CMD curl -A "HealthCheck: Docker/1.0" -s -o /dev/null "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" || exit 1 diff --git a/photoprism/config.yaml b/photoprism/config.yaml index 6d231e986d..23af0fd9d3 100644 --- a/photoprism/config.yaml +++ b/photoprism/config.yaml @@ -131,5 +131,5 @@ services: slug: photoprism udev: true url: https://github.com/alexbelgium/hassio-addons -version: "2026.10.29" +version: "2026.10.29.1" video: true