Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Health probe fails when PHOTOPRISM_SITE_URL contains path prefix #2884

Open
KuuDS opened this issue Oct 22, 2024 · 0 comments
Open

Health probe fails when PHOTOPRISM_SITE_URL contains path prefix #2884

KuuDS opened this issue Oct 22, 2024 · 0 comments

Comments

@KuuDS
Copy link

KuuDS commented Oct 22, 2024

Description

When PHOTOPRISM_SITE_URL is configured with a path prefix (e.g. "http://192.168.1.100:20800/photoprism"), the Kubernetes health probes fail because they are hardcoded to check the root path "/". The probes attempt to access "http://192.168.1.100:20800/" instead of "http://192.168.1.100:20800/photoprism", resulting in 404 errors and failed liveness checks.

Steps to Reproduce

  1. Set PHOTOPRISM_SITE_URL to "http://192.168.1.100:20800/photoprism"
  2. Observe that health probes fail with 404 errors

Expected Behavior

Health probes should respect the path prefix defined in PHOTOPRISM_SITE_URL and check the correct endpoint.

Current Behavior

Health probes only check the root path "/", ignoring the configured path prefix, which causes 404 errors and failed health checks.

Environment

  • Truenas Dragonfish-24.04.2.3
  • App Version: 240915
  • Chart Version: 2.0.10
  • Using PHOTOPRISM_SITE_URL with path prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant