mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-11-04 11:42:15 +00:00
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 <noreply@anthropic.com> * photoprism: reword CHANGELOG entry for healthcheck fix Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: BirdNET-Go Addon Builder <addon-builder@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
3 files changed
+5
-2
No files matched your search
@@ -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)
|
## 2026.10.29 (2026-10-29)
|
||||||
- Update to latest version from photoprism/photoprism
|
- Update to latest version from photoprism/photoprism
|
||||||
- Upstream tag : ubuntu-2026-10-29
|
- Upstream tag : ubuntu-2026-10-29
|
||||||
|
|||||||
@@ -141,4 +141,4 @@ HEALTHCHECK \
|
|||||||
--retries=5 \
|
--retries=5 \
|
||||||
--start-period=30s \
|
--start-period=30s \
|
||||||
--timeout=60s \
|
--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
|
||||||
@@ -131,5 +131,5 @@ services:
|
|||||||
slug: photoprism
|
slug: photoprism
|
||||||
udev: true
|
udev: true
|
||||||
url: https://github.com/alexbelgium/hassio-addons
|
url: https://github.com/alexbelgium/hassio-addons
|
||||||
version: "2026.10.29"
|
version: "2026.10.29.1"
|
||||||
video: true
|
video: true
|
||||||
Reference in new issue
Block a user