Skip to content

Update Jellyfin bootstrap for health checks and wizard completion#16

Merged
KyleTryon merged 1 commit into
mainfrom
fix/jellyfin-dev-env
Apr 17, 2026
Merged

Update Jellyfin bootstrap for health checks and wizard completion#16
KyleTryon merged 1 commit into
mainfrom
fix/jellyfin-dev-env

Conversation

@KyleTryon
Copy link
Copy Markdown
Contributor

This pull request improves the reliability of the Jellyfin service startup process in the development environment by ensuring that dependent services wait until Jellyfin is fully healthy or its startup wizard is completed before proceeding. The changes update both the Docker Compose configuration and the bootstrap script to better handle Jellyfin's startup state.

Service health checks:

  • Changed the jellyfin service condition in docker-compose.dev.yml from service_started to service_healthy, ensuring that dependent services only start once Jellyfin passes its health check.

Bootstrap script improvements:

  • Added a new function startup_completed_from_public_info and replaced the previous wait logic with wait_for_startup_ready_or_completed, which waits until either the startup wizard is completed or the /Startup/User endpoint is available. This makes the startup process more robust and less prone to race conditions.
  • Updated the login process in login_jellyfin() to use the improved waiting mechanism, ensuring the script only proceeds once Jellyfin is truly ready.

@KyleTryon KyleTryon merged commit 8cde9f2 into main Apr 17, 2026
2 checks passed
@KyleTryon KyleTryon deleted the fix/jellyfin-dev-env branch April 17, 2026 04:56
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

Successfully merging this pull request may close these issues.

1 participant