From 9f8fb6d5886a645aceeb9782b93e0f8d550e6565 Mon Sep 17 00:00:00 2001 From: gnattu Date: Mon, 27 Oct 2025 15:43:07 -0400 Subject: Backport pull request #15055 from jellyfin/release-10.11.z Log the message more clear when network manager is not ready Original-merge: a245605152c2871c413102a32c30230e6c603eae Merged-by: crobibero Backported-by: Bond_009 --- Jellyfin.Server/ServerSetupApp/SetupServer.cs | 1 + Jellyfin.Server/ServerSetupApp/index.mstemplate.html | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'Jellyfin.Server/ServerSetupApp') diff --git a/Jellyfin.Server/ServerSetupApp/SetupServer.cs b/Jellyfin.Server/ServerSetupApp/SetupServer.cs index 72626e853..00d9fcc02 100644 --- a/Jellyfin.Server/ServerSetupApp/SetupServer.cs +++ b/Jellyfin.Server/ServerSetupApp/SetupServer.cs @@ -250,6 +250,7 @@ public sealed class SetupServer : IDisposable { "isInReportingMode", _isUnhealthy }, { "retryValue", retryAfterValue }, { "logs", startupLogEntries }, + { "networkManagerReady", networkManager is not null }, { "localNetworkRequest", networkManager is not null && context.Connection.RemoteIpAddress is not null && networkManager.IsInLocalNetwork(context.Connection.RemoteIpAddress) } }, new ByteCounterStream(context.Response.BodyWriter.AsStream(), IODefaults.FileStreamBufferSize, true, _startupUiRenderer.ParserOptions)) diff --git a/Jellyfin.Server/ServerSetupApp/index.mstemplate.html b/Jellyfin.Server/ServerSetupApp/index.mstemplate.html index 523f38d74..9ec6efa2b 100644 --- a/Jellyfin.Server/ServerSetupApp/index.mstemplate.html +++ b/Jellyfin.Server/ServerSetupApp/index.mstemplate.html @@ -213,7 +213,12 @@ {{#ELSE}} + {{#IF networkManagerReady}}

Please visit this page from your local network to view detailed startup logs.

+ {{#ELSE}} +

Initializing network settings. Please wait.

+ {{/ELSE}} + {{/IF}} {{/ELSE}} {{/IF}} -- cgit v1.2.3