[PR #14327] [MERGED] Fix startup logger, startup health check #13941

Closed
opened 2026-02-07 07:21:40 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/14327
Author: @crobibero
Created: 6/17/2025
Status: Merged
Merged: 6/19/2025
Merged by: @Bond-009

Base: masterHead: fix-startup


📝 Commits (1)

  • 7256c9c Fix startup logger, startup health check

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 Jellyfin.Server/ServerSetupApp/SetupServer.cs (+4 -1)

📄 Description

Fixes https://github.com/jellyfin/jellyfin/issues/14318

Also fixes the startup logger

Before:

[18:31:26] [INF] [11] Main: Kestrel is listening on 0.0.0.0
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:8096/health - - -
warn: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[103]
      Health check StartupCheck with status Degraded completed after 2.383ms with message 'Server is still starting up.'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://localhost:8096/health - 200 - text/plain 39.1417ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:8096/health - - -
warn: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[103]
      Health check StartupCheck with status Degraded completed after 0.0263ms with message 'Server is still starting up.'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://localhost:8096/health - 200 - text/plain 5.4347ms

After

[18:32:00] [INF] [11] Main: Kestrel is listening on 0.0.0.0
[18:32:02] [WRN] [11] Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService: Health check StartupCheck with status Degraded completed after 1.5943ms with message 'Server is still starting up.'
[18:32:02] [WRN] [11] Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService: Health check StartupCheck with status Degraded completed after 0.0232ms with message 'Server is still starting up.'
[18:32:03] [WRN] [20] Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService: Health check StartupCheck with status Degraded completed after 0.0023ms with message 'Server is still starting up.'
[18:32:03] [WRN] [11] Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService: Health check StartupCheck with status Degraded completed after 0.0032ms with message 'Server is still starting up.'

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/14327 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 6/17/2025 **Status:** ✅ Merged **Merged:** 6/19/2025 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `fix-startup` --- ### 📝 Commits (1) - [`7256c9c`](https://github.com/jellyfin/jellyfin/commit/7256c9c89dc0d54b805658ef166ab1c3adb67d4f) Fix startup logger, startup health check ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server/ServerSetupApp/SetupServer.cs` (+4 -1) </details> ### 📄 Description Fixes https://github.com/jellyfin/jellyfin/issues/14318 Also fixes the startup logger Before: ``` [18:31:26] [INF] [11] Main: Kestrel is listening on 0.0.0.0 info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:8096/health - - - warn: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[103] Health check StartupCheck with status Degraded completed after 2.383ms with message 'Server is still starting up.' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:8096/health - 200 - text/plain 39.1417ms info: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 GET http://localhost:8096/health - - - warn: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[103] Health check StartupCheck with status Degraded completed after 0.0263ms with message 'Server is still starting up.' info: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/1.1 GET http://localhost:8096/health - 200 - text/plain 5.4347ms ``` After ``` [18:32:00] [INF] [11] Main: Kestrel is listening on 0.0.0.0 [18:32:02] [WRN] [11] Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService: Health check StartupCheck with status Degraded completed after 1.5943ms with message 'Server is still starting up.' [18:32:02] [WRN] [11] Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService: Health check StartupCheck with status Degraded completed after 0.0232ms with message 'Server is still starting up.' [18:32:03] [WRN] [20] Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService: Health check StartupCheck with status Degraded completed after 0.0023ms with message 'Server is still starting up.' [18:32:03] [WRN] [11] Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService: Health check StartupCheck with status Degraded completed after 0.0032ms with message 'Server is still starting up.' ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:21:40 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13941