Jellyfin Forum
SOLVED: Jellyfin setup - 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: SOLVED: Jellyfin setup (/t-solved-jellyfin-setup)



Jellyfin setup - Laxxius - 2024-12-10

Apologies for the vague title. In this thread I'll try to go over all the issues I've had and why I've been unable to get Jellyfin setup. My end goal, and when this query can be marked with the SOLVED tag, is when the following conditions are met: I have a Jellyfin server running on my desktop with its current OS (openSUSE Tumbleweed), I am able to connect to the server on my other devices, I am able to playback media files from my Jellyfin server.

First: The Flatpak Method:

My first attempt to run the server was my most successful. I installed Jellyfin Server Flatpak from the Discover store. I launched it, and successfully setup the server. I created a media library and was able to put media into it. I was able to access the media library by going to http://IP_ADDRESS:8096, and from there I could watch said media. I installed Jellyfin Media Player from Flatpak on the same device running the server. I was able to access the server from there and watch media on it.

The issues came in connecting to the server from other devices. No other device, regardless of what device it was or what OS it ran on, was able to access the server. I tried going to my router gateway settings, however these settings are blocked absolutely by my router provider/ISP. Instead, I had to download an app to manage my router's settings to enable port forwarding from :8096. However, this didn't fix the issue. I read up on some Android phones using out-of-date certificate authorization (specifically, something from Let's Encrypt). However, even non-Android devices couldn't connect to the Jellyfin server. Also, getting into certificate authorization stuff became way too complicated for my level of tech ability.

Giving up on Flatpak and trying the Generic Linux Distribution method

I uninstalled Jellyfin Server Flatpak, and instead tried getting Jellyfin to work by manually setting it up with generic linux builds. The series of steps outlined here all went well. However, at the last step where you run jellyfin, it just didn't start up. When I went to my server in the browser, I couldn't login as Jellyfin stated it couldn't connect to that server. In the logs, there was some red text mentioning some misconfiguration in the network.xml file, but this file didn't exist. According to one reddit thread it is meant to be under config/network.xml. But it wasn't there.
Giving up on the Generic Linux install and trying the community openSUSE repository

There is a community openSUSE repo, here. I followed the command-line steps, which had me replace ffmpeg 7 with ffmpeg 4, and then moved on to enabling jellyfin. I opened the terminal and entered:
Code:
sudo systemctl enable jellyfin
, then
Code:
sudo systemctl start jellyfin
. I still was unable to access my Jellyfin server from http://IP_ADDRESS:8096, so I checked the status with
Code:
sudo systemctl status jellyfin
. It showed that Jellyfin was loaded, but that it was inactive. When I checked the logs, there was again the error message about network.xml. Once again, network.xml didn't exist anywhere.

Going back to Flatpak

Since none of the other ways worked, I tried going back to Flathub. I reinstalled Jellyfin Server, and launched it. But it failed to launch. I got a system notification saying the application was not responding. My server failed to load up on the web, and when I checked the logs I once again got some error about network.xml.

Conclusion

I only saved the log files from attempting to launch the server with flathub. They are very long so here:

Code:
[2024-12-10 14:00:42.059 -08:00] [INF] [4] Main: Jellyfin version: "10.10.3"
[2024-12-10 14:00:42.072 -08:00] [INF] [4] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/baraka/.var/app/org.jellyfin.JellyfinServer/data/jellyfin/log]"]
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: Arguments: ["/app/bin/jellyfin.dll"]
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: Operating system: "Freedesktop SDK 24.08 (Flatpak runtime)"
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: Architecture: X64
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: 64-Bit Process: True
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: User Interactive: True
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: Processor count: 24
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: Program data path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/data/jellyfin"
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: Log directory path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/data/jellyfin/log"
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: Config directory path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/config/jellyfin"
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: Cache path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/cache/jellyfin"
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: Temp directory path: "/tmp/jellyfin"
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: Web resources path: "/app/bin/jellyfin-web"
[2024-12-10 14:00:42.073 -08:00] [INF] [4] Main: Application directory: "/app/bin/"
[2024-12-10 14:00:42.078 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration", "MigrateEncodingOptions"]
[2024-12-10 14:00:42.107 -08:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/cache/jellyfin"
[2024-12-10 14:00:42.118 -08:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2024-12-10 14:00:42.184 -08:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-12-10 14:00:42.185 -08:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[2024-12-10 14:00:42.185 -08:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-12-10 14:00:42.185 -08:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "192.168.5.19", "192.168.4.155"]
[2024-12-10 14:00:42.185 -08:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[2024-12-10 14:00:42.186 -08:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
[2024-12-10 14:00:42.186 -08:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[2024-12-10 14:00:42.566 -08:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: There are pending EFCore migrations in the database. Applying... (This may take a while, do not stop Jellyfin)
[2024-12-10 14:00:42.716 -08:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"ImageInfos"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2024-12-10 14:00:42.716 -08:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"ImageInfos"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2024-12-10 14:00:42.717 -08:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Permissions"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2024-12-10 14:00:42.717 -08:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Permissions"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2024-12-10 14:00:42.717 -08:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Preferences"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2024-12-10 14:00:42.717 -08:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Preferences"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2024-12-10 14:00:42.718 -08:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Users"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2024-12-10 14:00:42.718 -08:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Users"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2024-12-10 14:00:42.828 -08:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: EFCore migrations applied successfully
[2024-12-10 14:00:43.021 -08:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2024-12-10 14:00:43.021 -08:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/cache/jellyfin"
[2024-12-10 14:00:43.023 -08:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.10.3.0"
[2024-12-10 14:00:43.024 -08:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.10.3.0"
[2024-12-10 14:00:43.024 -08:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.10.3.0"
[2024-12-10 14:00:43.028 -08:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.10.3.0"
[2024-12-10 14:00:43.029 -08:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.10.3.0"
[2024-12-10 14:00:43.046 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["DisableTranscodingThrottling", "CreateLoggingConfigHeirarchy", "MigrateActivityLogDatabase", "RemoveDuplicateExtras", "MigrateUserDatabase", "MigrateDisplayPreferencesDatabase", "RemoveDownloadImagesInAdvance", "MigrateAuthenticationDatabase", "FixPlaylistOwner", "MigrateRatingLevels", "FixAudioData", "RemoveDuplicatePlaylistChildren"]
[2024-12-10 14:00:43.047 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"AddDefaultPluginRepository"'
[2024-12-10 14:00:43.047 -08:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2024-12-10 14:00:43.047 -08:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/cache/jellyfin"
[2024-12-10 14:00:43.047 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration '"AddDefaultPluginRepository"' applied successfully
[2024-12-10 14:00:43.047 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"ReaddDefaultPluginRepository"'
[2024-12-10 14:00:43.047 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration '"ReaddDefaultPluginRepository"' applied successfully
[2024-12-10 14:00:43.047 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"AddDefaultCastReceivers"'
[2024-12-10 14:00:43.048 -08:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2024-12-10 14:00:43.048 -08:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/cache/jellyfin"
[2024-12-10 14:00:43.048 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration '"AddDefaultCastReceivers"' applied successfully
[2024-12-10 14:00:43.048 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"UpdateDefaultPluginRepository10.9"'
[2024-12-10 14:00:43.048 -08:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2024-12-10 14:00:43.048 -08:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/cache/jellyfin"
[2024-12-10 14:00:43.048 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration '"UpdateDefaultPluginRepository10.9"' applied successfully
[2024-12-10 14:00:43.048 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"MoveTrickplayFiles"'
[2024-12-10 14:00:43.087 -08:00] [INF] [4] Jellyfin.Server.Migrations.Routines.MoveTrickplayFiles: Moved 0 items in 00:00:00.0378888
[2024-12-10 14:00:43.087 -08:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration '"MoveTrickplayFiles"' applied successfully
[2024-12-10 14:00:43.098 -08:00] [INF] [4] Main: Kestrel is listening on "0.0.0.0"
[2024-12-10 14:00:43.107 -08:00] [WRN] [4] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {ae6d0d5a-a0f0-442d-a31a-482918375a39} may be persisted to storage in unencrypted form.
[2024-12-10 14:00:43.131 -08:00] [ERR] [4] Jellyfin.Networking.AutoDiscoveryHost: Unable to bind to "0.0.0.0":7359
System.Net.Sockets.SocketException (98): Address already in use
  at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
  at System.Net.Sockets.Socket.Bind(EndPoint localEP)
  at Jellyfin.Networking.AutoDiscoveryHost.ListenForAutoDiscoveryMessage(IPAddress listenAddress, CancellationToken cancellationToken)
[2024-12-10 14:00:43.266 -08:00] [WRN] [4] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: "/home/baraka/wwwroot". Static files may be unavailable.
[2024-12-10 14:00:43.274 -08:00] [ERR] [4] Microsoft.Extensions.Hosting.Internal.Host: Hosting failed to start
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 (98): Address already in use
  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__DisplayClass28_0`1.<<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(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, 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.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
  at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
  at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[2024-12-10 14:00:43.274 -08:00] [ERR] [4] 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
[2024-12-10 14:00:43.274 -08:00] [FTL] [4] 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 (98): Address already in use
  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__DisplayClass28_0`1.<<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(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, 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.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
  at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
  at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[2024-12-10 14:00:43.274 -08:00] [INF] [4] Main: Running query planner optimizations in the database... This might take a while
[2024-12-10 14:00:43.279 -08:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2024-12-10 14:00:43.279 -08:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzArtistProvider"
[2024-12-10 14:00:43.279 -08:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzAlbumProvider"
[2024-12-10 14:00:43.279 -08:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: Disposing "PluginManager"
[2024-12-10 14:08:27.297 -08:00] [INF] [1] Main: Jellyfin version: "10.10.3"
[2024-12-10 14:08:27.310 -08:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/baraka/.var/app/org.jellyfin.JellyfinServer/data/jellyfin/log]"]
[2024-12-10 14:08:27.311 -08:00] [INF] [1] Main: Arguments: ["/app/bin/jellyfin.dll"]
[2024-12-10 14:08:27.311 -08:00] [INF] [1] Main: Operating system: "Freedesktop SDK 24.08 (Flatpak runtime)"
[2024-12-10 14:08:27.311 -08:00] [INF] [1] Main: Architecture: X64
[2024-12-10 14:08:27.312 -08:00] [INF] [1] Main: 64-Bit Process: True
[2024-12-10 14:08:27.312 -08:00] [INF] [1] Main: User Interactive: True
[2024-12-10 14:08:27.312 -08:00] [INF] [1] Main: Processor count: 24
[2024-12-10 14:08:27.312 -08:00] [INF] [1] Main: Program data path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/data/jellyfin"
[2024-12-10 14:08:27.312 -08:00] [INF] [1] Main: Log directory path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/data/jellyfin/log"
[2024-12-10 14:08:27.312 -08:00] [INF] [1] Main: Config directory path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/config/jellyfin"
[2024-12-10 14:08:27.312 -08:00] [INF] [1] Main: Cache path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/cache/jellyfin"
[2024-12-10 14:08:27.312 -08:00] [INF] [1] Main: Temp directory path: "/tmp/jellyfin"
[2024-12-10 14:08:27.312 -08:00] [INF] [1] Main: Web resources path: "/app/bin/jellyfin-web"
[2024-12-10 14:08:27.312 -08:00] [INF] [1] Main: Application directory: "/app/bin/"
[2024-12-10 14:08:27.366 -08:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/cache/jellyfin"
[2024-12-10 14:08:27.379 -08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2024-12-10 14:08:27.432 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-12-10 14:08:27.432 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[2024-12-10 14:08:27.432 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-12-10 14:08:27.433 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "192.168.5.19", "192.168.4.155"]
[2024-12-10 14:08:27.433 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[2024-12-10 14:08:27.433 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
[2024-12-10 14:08:27.433 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[2024-12-10 14:08:27.996 -08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.10.3.0"
[2024-12-10 14:08:27.996 -08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.10.3.0"
[2024-12-10 14:08:27.997 -08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.10.3.0"
[2024-12-10 14:08:28.005 -08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.10.3.0"
[2024-12-10 14:08:28.005 -08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.10.3.0"
[2024-12-10 14:08:28.033 -08:00] [INF] [1] Main: Kestrel is listening on "0.0.0.0"
[2024-12-10 14:08:28.041 -08:00] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {718fc646-8d6a-44d4-ae6c-db4f6749b695} may be persisted to storage in unencrypted form.
[2024-12-10 14:08:28.089 -08:00] [ERR] [1] Jellyfin.Networking.AutoDiscoveryHost: Unable to bind to "0.0.0.0":7359
System.Net.Sockets.SocketException (98): Address already in use
  at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
  at System.Net.Sockets.Socket.Bind(EndPoint localEP)
  at Jellyfin.Networking.AutoDiscoveryHost.ListenForAutoDiscoveryMessage(IPAddress listenAddress, CancellationToken cancellationToken)
[2024-12-10 14:08:28.220 -08:00] [WRN] [1] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: "/home/baraka/wwwroot". Static files may be unavailable.
[2024-12-10 14:08:28.229 -08:00] [ERR] [1] Microsoft.Extensions.Hosting.Internal.Host: Hosting failed to start
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 (98): Address already in use
  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__DisplayClass28_0`1.<<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(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, 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.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
  at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
  at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[2024-12-10 14:08:28.229 -08: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
[2024-12-10 14:08:28.229 -08: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 (98): Address already in use
  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__DisplayClass28_0`1.<<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(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, 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.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
  at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
  at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[2024-12-10 14:08:28.230 -08:00] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[2024-12-10 14:08:28.235 -08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2024-12-10 14:08:28.235 -08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzArtistProvider"
[2024-12-10 14:08:28.236 -08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzAlbumProvider"
[2024-12-10 14:08:28.236 -08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "PluginManager"
[2024-12-10 14:56:48.371 -08:00] [INF] [1] Main: Jellyfin version: "10.10.3"
[2024-12-10 14:56:48.384 -08:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/baraka/.var/app/org.jellyfin.JellyfinServer/data/jellyfin/log]"]
[2024-12-10 14:56:48.385 -08:00] [INF] [1] Main: Arguments: ["/app/bin/jellyfin.dll"]
[2024-12-10 14:56:48.385 -08:00] [INF] [1] Main: Operating system: "Freedesktop SDK 24.08 (Flatpak runtime)"
[2024-12-10 14:56:48.385 -08:00] [INF] [1] Main: Architecture: X64
[2024-12-10 14:56:48.386 -08:00] [INF] [1] Main: 64-Bit Process: True
[2024-12-10 14:56:48.386 -08:00] [INF] [1] Main: User Interactive: True
[2024-12-10 14:56:48.386 -08:00] [INF] [1] Main: Processor count: 24
[2024-12-10 14:56:48.386 -08:00] [INF] [1] Main: Program data path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/data/jellyfin"
[2024-12-10 14:56:48.386 -08:00] [INF] [1] Main: Log directory path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/data/jellyfin/log"
[2024-12-10 14:56:48.386 -08:00] [INF] [1] Main: Config directory path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/config/jellyfin"
[2024-12-10 14:56:48.386 -08:00] [INF] [1] Main: Cache path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/cache/jellyfin"
[2024-12-10 14:56:48.386 -08:00] [INF] [1] Main: Temp directory path: "/tmp/jellyfin"
[2024-12-10 14:56:48.386 -08:00] [INF] [1] Main: Web resources path: "/app/bin/jellyfin-web"
[2024-12-10 14:56:48.386 -08:00] [INF] [1] Main: Application directory: "/app/bin/"
[2024-12-10 14:56:48.438 -08:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/home/baraka/.var/app/org.jellyfin.JellyfinServer/cache/jellyfin"
[2024-12-10 14:56:48.452 -08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2024-12-10 14:56:48.494 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-12-10 14:56:48.494 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[2024-12-10 14:56:48.494 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-12-10 14:56:48.495 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "192.168.5.19", "192.168.4.155"]
[2024-12-10 14:56:48.495 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[2024-12-10 14:56:48.495 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
[2024-12-10 14:56:48.495 -08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[2024-12-10 14:56:49.072 -08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.10.3.0"
[2024-12-10 14:56:49.072 -08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.10.3.0"
[2024-12-10 14:56:49.072 -08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.10.3.0"
[2024-12-10 14:56:49.080 -08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.10.3.0"
[2024-12-10 14:56:49.080 -08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.10.3.0"
[2024-12-10 14:56:49.110 -08:00] [INF] [1] Main: Kestrel is listening on "0.0.0.0"
[2024-12-10 14:56:49.118 -08:00] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {5bcc9658-bc9c-4927-a332-3531d4c2c96e} may be persisted to storage in unencrypted form.
[2024-12-10 14:56:49.166 -08:00] [ERR] [1] Jellyfin.Networking.AutoDiscoveryHost: Unable to bind to "0.0.0.0":7359
System.Net.Sockets.SocketException (98): Address already in use
  at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
  at System.Net.Sockets.Socket.Bind(EndPoint localEP)
  at Jellyfin.Networking.AutoDiscoveryHost.ListenForAutoDiscoveryMessage(IPAddress listenAddress, CancellationToken cancellationToken)
[2024-12-10 14:56:49.299 -08:00] [WRN] [1] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: "/home/baraka/wwwroot". Static files may be unavailable.
[2024-12-10 14:56:49.307 -08:00] [ERR] [1] Microsoft.Extensions.Hosting.Internal.Host: Hosting failed to start
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 (98): Address already in use
  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__DisplayClass28_0`1.<<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(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, 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.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
  at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
  at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[2024-12-10 14:56:49.307 -08: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
[2024-12-10 14:56:49.308 -08: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 (98): Address already in use
  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__DisplayClass28_0`1.<<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(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, 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.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
  at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
  at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
  at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
  at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[2024-12-10 14:56:49.308 -08:00] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[2024-12-10 14:56:49.314 -08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2024-12-10 14:56:49.314 -08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzArtistProvider"
[2024-12-10 14:56:49.314 -08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzAlbumProvider"
[2024-12-10 14:56:49.314 -08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "PluginManager"

If there's any other details you need, please let me know as I can't think of any other relevant details off the top of my head.


RE: Jellyfin setup - TheDreadPirate - 2024-12-10

Do you have emby installed? Or a zombie jellyfin process?

Code:
System.IO.IOException: Failed to bind to address http://0.0.0.0:8096: address already in use.



RE: Jellyfin setup - Laxxius - 2024-12-11

(2024-12-10, 11:18 PM)TheDreadPirate Wrote: Do you have emby installed?  Or a zombie jellyfin process?

Code:
System.IO.IOException: Failed to bind to address http://0.0.0.0:8096: address already in use.

I don't have Emby installed. How do I tell if I have a zombie Jellyfin process?


RE: Jellyfin setup - Laxxius - 2024-12-11

Well, you saying "zombie Jellyfin" got me to look into it a bit more. Turns out I had Jellyfin Server running as a process, even though I uninstalled it... Anyway, I got my server working again!

Unfortunately, I am unable to connect to it with other devices. I'm not sure how to provide logs from my phone or from my smart TV regarding this.

Things I've tried:

- Accessing the server with Jellyfin Android app (Err: Tried these 5 connections without success)
- Accessing the server by putting the server's IP into a web browser on my Android (Err: Unable to connect)
- Accessing the server with RokuTV (Err: Are you sure the server is running?)
- Enabling IPv6 in the server's settings + all of the above
- Port-forwarding port 8096 in the wifi router's settings + all of the above

Needless to say, none of these work. How might I even approach troubleshooting this? Nothing I've found online seems to indicate at a way to do this.


RE: Jellyfin setup - TheDreadPirate - 2024-12-11

Did you open port 8096 in the host firewall? I'm not familiar with OpenSUSE so I can't provide specific instructions for how to do that.

The router's firewall doesn't come into play unless you want to remotely access Jellyfin. And doesn't matter, regardless, if the host, itself, is blocking connections on its firewall.


RE: Jellyfin setup - Laxxius - 2024-12-11

(2024-12-11, 02:16 PM)TheDreadPirate Wrote: Did you open port 8096 in the host firewall?  I'm not familiar with OpenSUSE so I can't provide specific instructions for how to do that.

The router's firewall doesn't come into play unless you want to remotely access Jellyfin.  And doesn't matter, regardless, if the host, itself, is blocking connections on its firewall.

I did not do this! I wasn't aware that I had to. Is this outlined anywhere in Jellyfin's documentation or Quick Start guide?

In any case, I've been looking at how to open a port in openSUSE for the past hour but to no avail. I'm stuck because there seem to be a million 'zones' on which I can open a port. If I open a port in one zone, it doesn't mean it's open in all zones. I don't know which zone will matter to open a port in for the purposes of Jellyfin, and nothing I've found online seems to indicate at this. Everyone in forums is suggesting not to port-forward and instead to do a reverse proxy. However, every explanation of how to do this seems to assume some prior knowledge about things I do not have. And looking those up led to even more rabbit holes, so I think figuring out how to do a reverse proxy might be more effort than it's worth for now.

Also, I can open ports in different... ports. There seem to be ports with names like "TCP" and "UDP", but within these ports, you can open sub-ports (e.g. 8096, 8920). I'll explain my understanding of how everything works, and why I need help regarding what to do to "open port 8096 on the host machine".

So it seems Networks are protected with firewalls. Firewalls prevent services from accessing my Network. The Network is divided into several zones, so that the firewall can be configured for each zone (i.e. each subsection of the Network) in a modular way. So for instance, I may want a service to only have access to a *section* of my Network. In which case, I don't need to disable the firewall for the entire network; I can disable the firewall for only a particular zone. Next, Each zone is subdivided once again into ports. These are: TCP, UDP, SCTP, and DCCP. These aren't really ports, but rather they are each sets of ports with identical members. This is done so that Networks can be configured even more precisely. A service can be allowed to bypass the firewall if and only if they are going through one specific port within one set of ports within one zone of a given Network. That makes enough sense. But the problem for me arises in "opening port 8096 on the host machine."

In which zone, and in which set of ports do I open port 8096?


RE: Jellyfin setup - TheDreadPirate - 2024-12-11

It is assumed that you understand that everything is blocked by default. This is the default behavior in both Windows and Linux to block unsolicited incoming connections.

You can use our docs here. Step #5 in this section.

https://jellyfin.org/docs/general/installation/linux#manual-installation-via-the-rpm-packages

I'm also seeing people mention "YAST" as a GUI that you can use to add firewall rules.


RE: Jellyfin setup - Laxxius - 2024-12-11

(2024-12-11, 09:20 PM)TheDreadPirate Wrote: It is assumed that you understand that everything is blocked by default.  This is the default behavior in both Windows and Linux to block unsolicited incoming connections.

You can use our docs here.  Step #5 in this section.

https://jellyfin.org/docs/general/installation/linux#manual-installation-via-the-rpm-packages

I'm also seeing people mention "YAST" as a GUI that you can use to add firewall rules.

I looked at step 5 in that section and tried inputting the command. However, it gives me the message Error: INVALID_SERVICE: Zone 'public': 'jellyfin' not among existing services

I had been trying to use YAST for a large portion of the hour I spent trying to figure out what to do. I can navigate to the section for opening ports, but the problem I described in my previous comment still applies.

Well, after going through each zone one by one out of desperation, I eventually found the right one (it was the zone called "public"). I am able to connect on my Android at least. Will update this message just to ensure everything works.

My Jellyfin server works! It runs and I am able to connect to it with other devices. Finally!

The steps to solve my issue in particular were:

  1. Kill the zombie Jellyfin server running in the background. Uninstalling Jellyfin isn't enough; you MUST manually kill the Jellyfin server in the System Monitor
  2. You have to manually port forward port 8096 on the host machine, NOT the router.
  3. To do that on openSUSE: open YaST -> Security and Users -> Firewall -> goto Zones->public -> click the 'Ports' tab -> enter "8096" in the text field below 'TCP Ports'

In conclusion: You CAN setup Jellyfin Server on openSUSE Tumbleweed using the Jellyfin Server Flatpak.