Jellyfin Forum
After update Jellyfin Server no longer works. (MacOS) - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: After update Jellyfin Server no longer works. (MacOS) (/t-after-update-jellyfin-server-no-longer-works-macos)



After update Jellyfin Server no longer works. (MacOS) - BlakeBussey - 2023-06-25

Hello, Tonight I updated my Jellyfin server ( or at lest attempted to) from 10.8.9 to 10.8.10. Unfortunately, after following the steps on the jellyfin site I can no longer access my server. I also tried reverting back to 10.8.9 but got the same issue and the logs look the same. I also deleted the .cache, .local, and .config folders that Jellyfin creates in an attempt to just start from scratch but had no luck. I will attach machine and build details below as well as logs if someone would be kind enough to assist in what went wrong.

Machine:
Apple Mac Mini M1 (2020)
16 GB Unified Ram
M1 Apple Silicon Proccessor
MacOS Monterey and Ventura

Build:
Jellyfin.APP 10.8.10 and .App version of 10.8.9 ( issue occurs on both now)


Logs from when I try and boot jellyfin server:

[2023-06-24 21:37:55.908 -07:00] [INF] [1] Main: Jellyfin version: "10.8.9"
[2023-06-24 21:37:55.965 -07:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /Users/ryanbussey/.local/share/jellyfin/log]"]
[2023-06-24 21:37:55.972 -07:00] [INF] [1] Main: Arguments: ["/Applications/Jellyfin.app/Contents/MacOS/jellyfin.dll", "--webdir", "/Applications/Jellyfin.app/Contents/Resources/jellyfin-web"]
[2023-06-24 21:37:55.981 -07:00] [INF] [1] Main: Operating system: "macOS"
[2023-06-24 21:37:55.982 -07:00] [INF] [1] Main: Architecture: X64
[2023-06-24 21:37:55.982 -07:00] [INF] [1] Main: 64-Bit Process: True
[2023-06-24 21:37:55.983 -07:00] [INF] [1] Main: User Interactive: True
[2023-06-24 21:37:55.983 -07:00] [INF] [1] Main: Processor count: 8
[2023-06-24 21:37:55.983 -07:00] [INF] [1] Main: Program data path: "/Users/ryanbussey/.local/share/jellyfin"
[2023-06-24 21:37:55.983 -07:00] [INF] [1] Main: Web resources path: "/Applications/Jellyfin.app/Contents/Resources/jellyfin-web"
[2023-06-24 21:37:55.983 -07:00] [INF] [1] Main: Application directory: "/Applications/Jellyfin.app/Contents/MacOS/"
[2023-06-24 21:37:56.254 -07:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/Users/ryanbussey/.cache/jellyfin"
[2023-06-24 21:37:56.275 -07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2023-06-24 21:37:56.377 -07:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-06-24 21:37:56.378 -07:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
[2023-06-24 21:37:56.378 -07:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-06-24 21:37:56.392 -07:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[]"
[2023-06-24 21:37:56.392 -07:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]"
[2023-06-24 21:37:58.543 -07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.8.9.0"
[2023-06-24 21:37:58.545 -07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.8.9.0"
[2023-06-24 21:37:58.546 -07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.8.9.0"
[2023-06-24 21:37:58.546 -07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.8.9.0"
[2023-06-24 21:37:58.547 -07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.8.9.0"
[2023-06-24 21:37:58.628 -07:00] [INF] [1] Main: Kestrel listening on "Any IP4 Address"
[2023-06-24 21:37:59.049 -07:00] [ERR] [1] Main: Kestrel failed to start! This is most likely due to an invalid address or port bind - correct your bind configuration in network.xml and try again.
[2023-06-24 21:37:59.050 -07:00] [FTL] [1] Main: Error while starting server.
System.IO.IOException: Failed to bind to address http://0.0.0.0:8096: address already in use.
---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
---> System.Net.Sockets.SocketException (48): Address already in use
  at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
  at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
  at System.Net.Sockets.Socket.Bind(EndPoint localEP)
  at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
  at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
  --- End of inner exception stack trace ---
  at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
  at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
  at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
  at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass30_01.<<StartAsync>g__OnBind|0>d.MoveNext()
--- End of stack trace from previous location ---
  at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
  --- End of inner exception stack trace ---
  at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
  at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
  at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
  at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IEnumerable
1 listenOptions, AddressBindContext context, CancellationToken cancellationToken)
  at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
  at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
  at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken)
  at Jellyfin.Server.Program.StartApp(StartupOptions options)
[2023-06-24 21:37:59.069 -07:00] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[2023-06-24 21:37:59.121 -07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2023-06-24 21:37:59.122 -07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "EmbyTV"
[2023-06-24 21:37:59.123 -07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzAlbumProvider"
[2023-06-24 21:37:59.124 -07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "SchedulesDirect"
[2023-06-24 21:37:59.128 -07:00] [INF] [2] Main: Received a SIGTERM signal, shutting down



Thank you.


RE: After update Jellyfin Server no longer works. (MacOS) - Venson - 2023-06-25

Hey,

The logline

Failed to bind to address http://0.0.0.0:8096

Actually says a lot, that there is already a program running that uses the port. I think you might be running another jellyfin instance in the background, maybe the old one?