Server has already started issue #6791

Closed
opened 2026-02-07 04:07:04 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @iamironz on GitHub (Mar 3, 2025).

Description of the bug

The container spontaneously enters a boot loop, with logs showing "Server has already started" error due to a duplicate instance binding to port 8096, despite no changes in the container’s configuration or network.xml.

Reproduction steps

  1. Deploy Jellyfin version 10.10.6 on Docker using the official image (lscr.io/linuxserver/jellyfin:latest).
  2. Configure container with standard environment variables and network settings.
  3. Observe container behavior during startup over multiple restarts.

What is the current bug behavior?

The container initiates multiple instances where one instance attempts to bind to port 8096 while another is already running, causing the error:

System.InvalidOperationException: Server has already started.

What is the expected correct behavior?

The container should start once, bind to port 8096, and not attempt a duplicate startup.

Jellyfin Server version

10.10.0+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.10.6

Environment

- OS:Ubuntu Server 22.04 on Raspberry Pi 4
- Linux Kernel: 5.15
- Virtualization: Docker
- Clients: N/A (server issue)
- Browser: N/A (server issue)
- FFmpeg Version: Not specified (Jellyfin default)
- Playback Method: Not applicable
- Hardware Acceleration: Not applicable
- GPU Model: Not applicable
- Plugins: AniDB, Apple Music, ListenBrainz, Session Cleaner, TheTVDB, Trakt, TMDb, Studio Images, OMDb, MusicBrainz, AudioDB
- Reverse Proxy: Not applicable
- Base URL: Not applicable
- Networking: Bridge mode with published ports
- Storage: external SSD with folder volume mounted

Jellyfin logs

[18:50:12] [INF] [1] Main: Jellyfin version: 10.10.6
[18:50:12] [INF] [1] Main: Environment Variables: ["[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]", "[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_PublishedServerUrl, 192.168.1.10]"]
[18:50:12] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
[18:50:12] [INF] [1] Main: Operating system: Ubuntu 24.04.2 LTS
[18:50:12] [INF] [1] Main: Architecture: Arm64
[18:50:12] [INF] [1] Main: 64-Bit Process: True
[18:50:12] [INF] [1] Main: User Interactive: True
[18:50:12] [INF] [1] Main: Processor count: 4
[18:50:12] [INF] [1] Main: Program data path: /config/data
[18:50:12] [INF] [1] Main: Log directory path: /config/log
[18:50:12] [INF] [1] Main: Config directory path: /config
[18:50:12] [INF] [1] Main: Cache path: /config/cache
[18:50:12] [INF] [1] Main: Temp directory path: /tmp/jellyfin
[18:50:12] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web
[18:50:12] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
[18:50:13] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[18:50:13] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniDB, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/AniDB_9.0.0.0/Jellyfin.Plugin.AniDB.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly AngleSharp.XPath, Version=2.0.4.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea from /config/data/plugins/Apple Music_2.0.0.2/AngleSharp.XPath.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ITunes, Version=2.0.0.2, Culture=neutral, PublicKeyToken=null from /config/data/plugins/Apple Music_2.0.0.2/Jellyfin.Plugin.ITunes.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly AngleSharp, Version=1.1.2.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea from /config/data/plugins/Apple Music_2.0.0.2/AngleSharp.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly InfuseSync, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/InfuseSync_1.5.0.0/InfuseSync.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin 8.0.0.4 of Last.fm 
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ListenBrainz.Http, Version=5.1.1.3, Culture=neutral, PublicKeyToken=null from /config/data/plugins/ListenBrainz_5.1.1.3/Jellyfin.Plugin.ListenBrainz.Http.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ListenBrainz.Api, Version=5.1.1.3, Culture=neutral, PublicKeyToken=null from /config/data/plugins/ListenBrainz_5.1.1.3/Jellyfin.Plugin.ListenBrainz.Api.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ListenBrainz, Version=5.1.1.3, Culture=neutral, PublicKeyToken=null from /config/data/plugins/ListenBrainz_5.1.1.3/Jellyfin.Plugin.ListenBrainz.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ListenBrainz.MusicBrainzApi, Version=5.1.1.3, Culture=neutral, PublicKeyToken=null from /config/data/plugins/ListenBrainz_5.1.1.3/Jellyfin.Plugin.ListenBrainz.MusicBrainzApi.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ListenBrainz.Common, Version=5.1.1.3, Culture=neutral, PublicKeyToken=null from /config/data/plugins/ListenBrainz_5.1.1.3/Jellyfin.Plugin.ListenBrainz.Common.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.SessionCleaner, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/Session Cleaner_4.0.0.0/Jellyfin.Plugin.SessionCleaner.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Tvdb, Version=18.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_18.0.0.0/Jellyfin.Plugin.Tvdb.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Tvdb.Sdk, Version=4.7.10.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_18.0.0.0/Tvdb.Sdk.dll
[18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Trakt, Version=26.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/Trakt_26.0.0.0/Trakt.dll
[18:50:14] [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"]
[18:50:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[18:50:14] [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"]
[18:50:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.17.0.3"]
[18:50:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[18:50:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[18:50:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[18:50:34] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AniDB 9.0.0.0
[18:50:34] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Apple Music 2.0.0.2
[18:50:35] [INF] [1] InfuseSync.Plugin: InfuseSync is starting.
[18:50:35] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: InfuseSync 1.5.0.0
[18:50:35] [INF] [1] Main: Kestrel is listening on 0.0.0.0
[18:50:37] [WRN] [1] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: /run/s6-rc:s6-rc-init:KbeKOo/servicedirs/svc-jellyfin/wwwroot. Static files may be unavailable.
[18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: ListenBrainz 5.1.1.3
[18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Session Cleaner 4.0.0.0
[18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TheTVDB 18.0.0.0
[18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Trakt 26.0.0.0
[18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.10.6.0
[18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.10.6.0
[18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.10.6.0
[18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.10.6.0
[18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.10.6.0
[18:50:38] [WRN] [1] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: /run/s6-rc:s6-rc-init:KbeKOo/servicedirs/svc-jellyfin/wwwroot. Static files may be unavailable.
[18:50:39] [ERR] [1] Microsoft.Extensions.Hosting.Internal.Host: Hosting failed to start
System.InvalidOperationException: Server has already started.
   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)
[18:50:39] [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
[18:50:39] [FTL] [1] Main: Error while starting server
System.InvalidOperationException: Server has already started.
   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)
[18:50:39] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[18:50:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
[18:50:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzArtistProvider
[18:50:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
[18:50:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager

FFmpeg logs


Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

  • No changes were made to the container configuration or network.xml since the last stable run, just automatically re-run by cron (as I have nightly backups setup).
  • Docker engine update was made before the issue appeared.
  • Ports were verified using commands (netstat, ss, lsof) and confirmed no external process or other container was binding to port 8096.

Docker engine info:

Client: Docker Engine - Community
 Version:           28.0.1
 API version:       1.48
 Go version:        go1.23.6
 Git commit:        068a01e
 Built:             Wed Feb 26 10:41:16 2025
 OS/Arch:           linux/arm64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          28.0.1
  API version:      1.48 (minimum version 1.24)
  Go version:       go1.23.6
  Git commit:       bbd0a17
  Built:            Wed Feb 26 10:41:16 2025
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.7.25
  GitCommit:        bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
 runc:
  Version:          1.2.4
  GitCommit:        v1.2.4-0-g6c52b3f
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

network.xml file content:

<?xml version="1.0" encoding="utf-8"?>
<NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <BaseUrl />
  <EnableHttps>false</EnableHttps>
  <RequireHttps>false</RequireHttps>
  <CertificatePath />
  <CertificatePassword />
  <InternalHttpPort>8096</InternalHttpPort>
  <InternalHttpsPort>8920</InternalHttpsPort>
  <PublicHttpPort>8096</PublicHttpPort>
  <PublicHttpsPort>8920</PublicHttpsPort>
  <AutoDiscovery>true</AutoDiscovery>
  <EnableUPnP>false</EnableUPnP>
  <EnableIPv4>true</EnableIPv4>
  <EnableIPv6>false</EnableIPv6>
  <EnableRemoteAccess>true</EnableRemoteAccess>
  <LocalNetworkSubnets />
  <LocalNetworkAddresses />
  <KnownProxies />
  <IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
  <VirtualInterfaceNames>
    <string>veth</string>
  </VirtualInterfaceNames>
  <EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
  <PublishedServerUriBySubnet />
  <RemoteIPFilter />
  <IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist>
</NetworkConfiguration>
Originally created by @iamironz on GitHub (Mar 3, 2025). ### Description of the bug The container spontaneously enters a boot loop, with logs showing "Server has already started" error due to a duplicate instance binding to port 8096, despite no changes in the container’s configuration or network.xml. ### Reproduction steps 1. Deploy Jellyfin version 10.10.6 on Docker using the official image (lscr.io/linuxserver/jellyfin:latest). 2. Configure container with standard environment variables and network settings. 3. Observe container behavior during startup over multiple restarts. ### What is the current _bug_ behavior? The container initiates multiple instances where one instance attempts to bind to port 8096 while another is already running, causing the error: ``` System.InvalidOperationException: Server has already started. ``` ### What is the expected _correct_ behavior? The container should start once, bind to port 8096, and not attempt a duplicate startup. ### Jellyfin Server version 10.10.0+ ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number _No response_ ### Specify the build version 10.10.6 ### Environment ```markdown - OS:Ubuntu Server 22.04 on Raspberry Pi 4 - Linux Kernel: 5.15 - Virtualization: Docker - Clients: N/A (server issue) - Browser: N/A (server issue) - FFmpeg Version: Not specified (Jellyfin default) - Playback Method: Not applicable - Hardware Acceleration: Not applicable - GPU Model: Not applicable - Plugins: AniDB, Apple Music, ListenBrainz, Session Cleaner, TheTVDB, Trakt, TMDb, Studio Images, OMDb, MusicBrainz, AudioDB - Reverse Proxy: Not applicable - Base URL: Not applicable - Networking: Bridge mode with published ports - Storage: external SSD with folder volume mounted ``` ### Jellyfin logs ```shell [18:50:12] [INF] [1] Main: Jellyfin version: 10.10.6 [18:50:12] [INF] [1] Main: Environment Variables: ["[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]", "[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_PublishedServerUrl, 192.168.1.10]"] [18:50:12] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"] [18:50:12] [INF] [1] Main: Operating system: Ubuntu 24.04.2 LTS [18:50:12] [INF] [1] Main: Architecture: Arm64 [18:50:12] [INF] [1] Main: 64-Bit Process: True [18:50:12] [INF] [1] Main: User Interactive: True [18:50:12] [INF] [1] Main: Processor count: 4 [18:50:12] [INF] [1] Main: Program data path: /config/data [18:50:12] [INF] [1] Main: Log directory path: /config/log [18:50:12] [INF] [1] Main: Config directory path: /config [18:50:12] [INF] [1] Main: Cache path: /config/cache [18:50:12] [INF] [1] Main: Temp directory path: /tmp/jellyfin [18:50:12] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web [18:50:12] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/ [18:50:13] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache [18:50:13] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniDB, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/AniDB_9.0.0.0/Jellyfin.Plugin.AniDB.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly AngleSharp.XPath, Version=2.0.4.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea from /config/data/plugins/Apple Music_2.0.0.2/AngleSharp.XPath.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ITunes, Version=2.0.0.2, Culture=neutral, PublicKeyToken=null from /config/data/plugins/Apple Music_2.0.0.2/Jellyfin.Plugin.ITunes.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly AngleSharp, Version=1.1.2.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea from /config/data/plugins/Apple Music_2.0.0.2/AngleSharp.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly InfuseSync, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/InfuseSync_1.5.0.0/InfuseSync.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin 8.0.0.4 of Last.fm [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ListenBrainz.Http, Version=5.1.1.3, Culture=neutral, PublicKeyToken=null from /config/data/plugins/ListenBrainz_5.1.1.3/Jellyfin.Plugin.ListenBrainz.Http.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ListenBrainz.Api, Version=5.1.1.3, Culture=neutral, PublicKeyToken=null from /config/data/plugins/ListenBrainz_5.1.1.3/Jellyfin.Plugin.ListenBrainz.Api.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ListenBrainz, Version=5.1.1.3, Culture=neutral, PublicKeyToken=null from /config/data/plugins/ListenBrainz_5.1.1.3/Jellyfin.Plugin.ListenBrainz.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ListenBrainz.MusicBrainzApi, Version=5.1.1.3, Culture=neutral, PublicKeyToken=null from /config/data/plugins/ListenBrainz_5.1.1.3/Jellyfin.Plugin.ListenBrainz.MusicBrainzApi.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.ListenBrainz.Common, Version=5.1.1.3, Culture=neutral, PublicKeyToken=null from /config/data/plugins/ListenBrainz_5.1.1.3/Jellyfin.Plugin.ListenBrainz.Common.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.SessionCleaner, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/Session Cleaner_4.0.0.0/Jellyfin.Plugin.SessionCleaner.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Tvdb, Version=18.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_18.0.0.0/Jellyfin.Plugin.Tvdb.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Tvdb.Sdk, Version=4.7.10.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TheTVDB_18.0.0.0/Tvdb.Sdk.dll [18:50:14] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Trakt, Version=26.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/Trakt_26.0.0.0/Trakt.dll [18:50:14] [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"] [18:50:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: [] [18:50:14] [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"] [18:50:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.17.0.3"] [18:50:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"] [18:50:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist [18:50:14] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: [] [18:50:34] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AniDB 9.0.0.0 [18:50:34] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Apple Music 2.0.0.2 [18:50:35] [INF] [1] InfuseSync.Plugin: InfuseSync is starting. [18:50:35] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: InfuseSync 1.5.0.0 [18:50:35] [INF] [1] Main: Kestrel is listening on 0.0.0.0 [18:50:37] [WRN] [1] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: /run/s6-rc:s6-rc-init:KbeKOo/servicedirs/svc-jellyfin/wwwroot. Static files may be unavailable. [18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: ListenBrainz 5.1.1.3 [18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Session Cleaner 4.0.0.0 [18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TheTVDB 18.0.0.0 [18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Trakt 26.0.0.0 [18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.10.6.0 [18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.10.6.0 [18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.10.6.0 [18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.10.6.0 [18:50:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.10.6.0 [18:50:38] [WRN] [1] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: /run/s6-rc:s6-rc-init:KbeKOo/servicedirs/svc-jellyfin/wwwroot. Static files may be unavailable. [18:50:39] [ERR] [1] Microsoft.Extensions.Hosting.Internal.Host: Hosting failed to start System.InvalidOperationException: Server has already started. 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) [18:50:39] [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 [18:50:39] [FTL] [1] Main: Error while starting server System.InvalidOperationException: Server has already started. 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) [18:50:39] [INF] [1] Main: Running query planner optimizations in the database... This might take a while [18:50:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost [18:50:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzArtistProvider [18:50:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider [18:50:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information - No changes were made to the container configuration or network.xml since the last stable run, just automatically re-run by cron (as I have nightly backups setup). - Docker engine update was made before the issue appeared. - Ports were verified using commands (netstat, ss, lsof) and confirmed no external process or other container was binding to port 8096. Docker engine info: ``` Client: Docker Engine - Community Version: 28.0.1 API version: 1.48 Go version: go1.23.6 Git commit: 068a01e Built: Wed Feb 26 10:41:16 2025 OS/Arch: linux/arm64 Context: default Server: Docker Engine - Community Engine: Version: 28.0.1 API version: 1.48 (minimum version 1.24) Go version: go1.23.6 Git commit: bbd0a17 Built: Wed Feb 26 10:41:16 2025 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.7.25 GitCommit: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb runc: Version: 1.2.4 GitCommit: v1.2.4-0-g6c52b3f docker-init: Version: 0.19.0 GitCommit: de40ad0 ``` network.xml file content: ``` <?xml version="1.0" encoding="utf-8"?> <NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <BaseUrl /> <EnableHttps>false</EnableHttps> <RequireHttps>false</RequireHttps> <CertificatePath /> <CertificatePassword /> <InternalHttpPort>8096</InternalHttpPort> <InternalHttpsPort>8920</InternalHttpsPort> <PublicHttpPort>8096</PublicHttpPort> <PublicHttpsPort>8920</PublicHttpsPort> <AutoDiscovery>true</AutoDiscovery> <EnableUPnP>false</EnableUPnP> <EnableIPv4>true</EnableIPv4> <EnableIPv6>false</EnableIPv6> <EnableRemoteAccess>true</EnableRemoteAccess> <LocalNetworkSubnets /> <LocalNetworkAddresses /> <KnownProxies /> <IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces> <VirtualInterfaceNames> <string>veth</string> </VirtualInterfaceNames> <EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest> <PublishedServerUriBySubnet /> <RemoteIPFilter /> <IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist> </NetworkConfiguration> ```
OVERLORD added the bug label 2026-02-07 04:07:04 +03:00
Author
Owner

@felix920506 commented on GitHub (Mar 3, 2025):

You are not using the official image. The official image is jellyfin/jellyfin:latest. You should report this issue to https://www.linuxserver.io

@felix920506 commented on GitHub (Mar 3, 2025): You are not using the official image. The official image is `jellyfin/jellyfin:latest`. You should report this issue to https://www.linuxserver.io
Author
Owner

@iamironz commented on GitHub (Mar 3, 2025):

The same issue reproduces on official one @felix920506 , please re-open.

@iamironz commented on GitHub (Mar 3, 2025): The same issue reproduces on official one @felix920506 , please re-open.
Author
Owner

@felix920506 commented on GitHub (Mar 3, 2025):

This is most likely an issue with your specific instance or environment. If the container won't even start you won't be the first one to report it given how long 10.10.6 has been out. Please head to our forum or chat rooms for troubleshooting. https://jellyfin.org/contact

@felix920506 commented on GitHub (Mar 3, 2025): This is most likely an issue with your specific instance or environment. If the container won't even start you won't be the first one to report it given how long 10.10.6 has been out. Please head to our forum or chat rooms for troubleshooting. https://jellyfin.org/contact
Author
Owner

@bkromrey commented on GitHub (Mar 4, 2025):

@iamironz I ran into the exact same error today. Disabling the ListenBrainz plugin allowed my instance to function normally once more.

@bkromrey commented on GitHub (Mar 4, 2025): @iamironz I ran into the exact same error today. Disabling the ListenBrainz plugin allowed my instance to function normally once more.
Author
Owner

@hartman8227 commented on GitHub (Mar 5, 2025):

My instance went down with this as well this morning. My docker compose has jellyfin/jellyfin as the docker image. I was also running the ListenBrainz Plugin v5.1.1.3. The error in my logs were almost verbatem the same as @iamironz .

Following @bkromrey suggestion. I tarballed all of the plugins in config/plugins as backup and the deleted all of the directories for versions of ListenBrainz starting with 5, leaving me on version 4.0.0.2 Then restarted the container.

Container started normally and Jellyfin came online. ListenBrainz autoupdated to v5.1.2.1. I restarted the container again and the issue did not repeat.

Edit: Looking further I found a bug report on the ListenBrainz plugins repo: https://github.com/lyarenei/jellyfin-plugin-listenbrainz/issues/121#issuecomment-2692645545

Simply deleting the directory ListenBrainz_5.1.1.3 should be sufficient.

@hartman8227 commented on GitHub (Mar 5, 2025): My instance went down with this as well this morning. My docker compose has `jellyfin/jellyfin` as the docker image. I was also running the ListenBrainz Plugin v5.1.1.3. The error in my logs were almost verbatem the same as @iamironz . Following @bkromrey suggestion. I tarballed all of the plugins in `config/plugins` as backup and the deleted all of the directories for versions of ListenBrainz starting with 5, leaving me on version 4.0.0.2 Then restarted the container. Container started normally and Jellyfin came online. ListenBrainz autoupdated to v5.1.2.1. I restarted the container again and the issue did not repeat. Edit: Looking further I found a bug report on the ListenBrainz plugins repo: https://github.com/lyarenei/jellyfin-plugin-listenbrainz/issues/121#issuecomment-2692645545 Simply deleting the directory `ListenBrainz_5.1.1.3` should be sufficient.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#6791