2024-05-14, 07:43 AM
(This post was last modified: 2024-05-14, 12:02 PM by penis. Edited 1 time in total.)
I installed jellyfin a week ago, running on debian. Everything worked fine until i dist-upgraded my system (including jellyfin)
Now, jellyfin is no longer works directly after booting. It only works if I run
I checked the logs and found this. It only binds to 127.0.0.1 for some reason.
Later in the logs, this happens:
So it seems like the jellyfin service is trying to start before the system even got to connect to LAN. After restarting the service with systemctl, the logs show a successful bind to the network IP
How can I fix this?
Now, jellyfin is no longer works directly after booting. It only works if I run
Code:
sudo systemctl restart jellyfin
I checked the logs and found this. It only binds to 127.0.0.1 for some reason.
Code:
[09:01:22] [INF] Defined LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[09:01:22] [INF] Defined LAN exclusions: []
[09:01:22] [INF] Using LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[09:01:22] [INF] Using bind addresses: ["127.0.0.1"]
Later in the logs, this happens:
Code:
jellyfin[484]: [09:01:34] [ERR] An error occurred while accessing the plugin manifest: https://repo.jellyfin.org/files/plugin/manifest.json
jellyfin[484]: System.Net.Http.HttpRequestException: Resource temporarily unavailable (repo.jellyfin.org:443)
jellyfin[484]: ---> System.Net.Sockets.SocketException (11): Resource temporarily unavailable
jellyfin[484]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
jellyfin[484]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
jellyfin[484]: at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken canc>
jellyfin[484]: at Jellyfin.Networking.HappyEyeballs.HttpClientExtension.AttemptConnection(AddressFamily addressFamily, SocketsHttpConnectionContext context, CancellationToken canc>
jellyfin[484]: at Jellyfin.Networking.HappyEyeballs.HttpClientExtension.OnConnect(SocketsHttpConnectionContext context, CancellationToken cancellationToken)
jellyfin[484]: at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellatio>
jellyfin[484]: --- End of inner exception stack trace ---
jellyfin[484]: at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellatio>
jellyfin[484]: at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
jellyfin[484]: at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
jellyfin[484]: at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
jellyfin[484]: at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
jellyfin[484]: at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken canc>
jellyfin[484]: at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
jellyfin[484]: at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
jellyfin[484]: at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellati>
jellyfin[484]: at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cance>
jellyfin[484]: at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean dispos>
jellyfin[484]: at System.Net.Http.Json.HttpClientJsonExtensions.<FromJsonAsyncCore>g__Core|12_0[TValue,TJsonOptions](HttpClient client, Task`1 responseTask, Boolean usingResponseH>
So it seems like the jellyfin service is trying to start before the system even got to connect to LAN. After restarting the service with systemctl, the logs show a successful bind to the network IP
Code:
jellyfin[933]: [09:11:44] [INF] Defined LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
jellyfin[933]: [09:11:44] [INF] Defined LAN exclusions: []
jellyfin[933]: [09:11:44] [INF] Using LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
jellyfin[933]: [09:11:44] [INF] Using bind addresses: ["127.0.0.1", "192.168.0.177"]
How can I fix this?