aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server
diff options
context:
space:
mode:
authorgnattu <gnattu@users.noreply.github.com>2025-10-27 15:43:07 -0400
committerBond_009 <bond.009@outlook.com>2025-10-27 15:43:07 -0400
commit9f8fb6d5886a645aceeb9782b93e0f8d550e6565 (patch)
treee07bfe3de8849623ba7120c7b190ad16790b73b5 /Jellyfin.Server
parentcee16d47cb515f268fe38b27f387a1e1a044b2a7 (diff)
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 <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
Diffstat (limited to 'Jellyfin.Server')
-rw-r--r--Jellyfin.Server/ServerSetupApp/SetupServer.cs1
-rw-r--r--Jellyfin.Server/ServerSetupApp/index.mstemplate.html5
2 files changed, 6 insertions, 0 deletions
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 @@
</ol>
</div>
{{#ELSE}}
+ {{#IF networkManagerReady}}
<p>Please visit this page from your local network to view detailed startup logs.</p>
+ {{#ELSE}}
+ <p>Initializing network settings. Please wait.</p>
+ {{/ELSE}}
+ {{/IF}}
{{/ELSE}}
{{/IF}}
</div>