• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Suddenly fails to start.

     
    • 0 Vote(s) - 0 Average

    SOLVED: Suddenly fails to start.

    Suddenly fails to start.
    zeelThe
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    #1
    2024-05-17, 05:18 PM
    Hello!
    Crashes on start up... Tried several "fixes" I found online but it didnt work. Did a clean install deleting all files and programdata, but no luck either.
    Not sure what else to try... It was working perfectly yesterday...

    Code:
    [2024-05-18 02:02:26.647 +09:00] [INF] [8] Main: Jellyfin version: "10.9.1"
    [2024-05-18 02:02:26.659 +09:00] [INF] [8] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
    [2024-05-18 02:02:26.661 +09:00] [INF] [8] Main: Arguments: ["C:\Docker\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
    [2024-05-18 02:02:26.662 +09:00] [INF] [8] Main: Operating system: "Microsoft Windows 10.0.19045"
    [2024-05-18 02:02:26.663 +09:00] [INF] [8] Main: Architecture: X64
    [2024-05-18 02:02:26.664 +09:00] [INF] [8] Main: 64-Bit Process: True
    [2024-05-18 02:02:26.665 +09:00] [INF] [8] Main: User Interactive: True
    [2024-05-18 02:02:26.665 +09:00] [INF] [8] Main: Processor count: 12
    [2024-05-18 02:02:26.666 +09:00] [INF] [8] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
    [2024-05-18 02:02:26.668 +09:00] [INF] [8] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
    [2024-05-18 02:02:26.669 +09:00] [INF] [8] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
    [2024-05-18 02:02:26.669 +09:00] [INF] [8] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2024-05-18 02:02:26.670 +09:00] [INF] [8] Main: Web resources path: "C:\Docker\Jellyfin\Server\jellyfin-web"
    [2024-05-18 02:02:26.671 +09:00] [INF] [8] Main: Application directory: "C:\Docker\Jellyfin\Server\"
    [2024-05-18 02:02:26.683 +09:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration"]
    [2024-05-18 02:02:26.762 +09:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2024-05-18 02:02:26.810 +09:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: Loading assemblies
    [2024-05-18 02:02:26.927 +09:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [2024-05-18 02:02:26.928 +09:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
    [2024-05-18 02:02:26.929 +09:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [2024-05-18 02:02:26.931 +09:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: ["172.30.1.66", "127.0.0.1"]
    [2024-05-18 02:02:26.932 +09:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
    [2024-05-18 02:02:26.932 +09:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Filter list: []
    [2024-05-18 02:02:27.574 +09:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: There are pending EFCore migrations in the database. Applying... (This may take a while, do not stop Jellyfin)
    [2024-05-18 02:03:13.328 +09:00] [WRN] [8] 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-05-18 02:03:13.329 +09:00] [WRN] [8] 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-05-18 02:03:13.331 +09:00] [WRN] [8] 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-05-18 02:03:13.332 +09:00] [WRN] [8] 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-05-18 02:03:13.334 +09:00] [WRN] [8] 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-05-18 02:03:13.335 +09:00] [WRN] [8] 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-05-18 02:03:13.336 +09:00] [WRN] [8] 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-05-18 02:03:13.337 +09:00] [WRN] [8] 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-05-18 02:03:13.449 +09:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: EFCore migrations applied successfully
    [2024-05-18 02:03:13.792 +09:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
    [2024-05-18 02:03:13.797 +09:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2024-05-18 02:03:13.801 +09:00] [INF] [8] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.9.1.0"
    [2024-05-18 02:03:13.802 +09:00] [INF] [8] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.9.1.0"
    [2024-05-18 02:03:13.803 +09:00] [INF] [8] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.9.1.0"
    [2024-05-18 02:03:13.813 +09:00] [INF] [8] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.9.1.0"
    [2024-05-18 02:03:13.814 +09:00] [INF] [8] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.9.1.0"
    [2024-05-18 02:03:13.852 +09:00] [INF] [8] 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"]
    [2024-05-18 02:03:13.859 +09:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"AddDefaultPluginRepository"'
    [2024-05-18 02:03:13.860 +09:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
    [2024-05-18 02:03:13.863 +09:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2024-05-18 02:03:13.864 +09:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Migration '"AddDefaultPluginRepository"' applied successfully
    [2024-05-18 02:03:13.866 +09:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"ReaddDefaultPluginRepository"'
    [2024-05-18 02:03:13.867 +09:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Migration '"ReaddDefaultPluginRepository"' applied successfully
    [2024-05-18 02:03:13.871 +09:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"AddDefaultCastReceivers"'
    [2024-05-18 02:03:13.872 +09:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
    [2024-05-18 02:03:13.875 +09:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2024-05-18 02:03:13.875 +09:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Migration '"AddDefaultCastReceivers"' applied successfully
    [2024-05-18 02:03:13.878 +09:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"UpdateDefaultPluginRepository10.9"'
    [2024-05-18 02:03:13.879 +09:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
    [2024-05-18 02:03:13.881 +09:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2024-05-18 02:03:13.882 +09:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Migration '"UpdateDefaultPluginRepository10.9"' applied successfully
    [2024-05-18 02:03:13.896 +09:00] [INF] [8] Main: Kestrel is listening on "172.30.1.66"
    [2024-05-18 02:03:13.898 +09:00] [INF] [8] Main: Kestrel is listening on "127.0.0.1"
    [2024-05-18 02:03:14.289 +09:00] [ERR] [8] Microsoft.Extensions.Hosting.Internal.Host: Hosting failed to start
    System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
      at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, 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()
      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)
      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)
    [2024-05-18 02:03:14.295 +09:00] [ERR] [8] 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-05-18 02:03:14.296 +09:00] [FTL] [8] Main: Error while starting server
    System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
      at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, 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()
      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)
      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-05-18 02:03:14.315 +09:00] [INF] [8] Main: Running query planner optimizations in the database... This might take a while
    [2024-05-18 02:03:14.325 +09:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
    [2024-05-18 02:03:14.326 +09:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzArtistProvider"
    [2024-05-18 02:03:14.327 +09:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzAlbumProvider"
    [2024-05-18 02:03:14.328 +09:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: Disposing "PluginManager"
    [2024-05-18 02:03:25.614 +09:00] [INF] [1] Main: Jellyfin version: "10.9.1"
    [2024-05-18 02:03:25.627 +09:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
    [2024-05-18 02:03:25.630 +09:00] [INF] [1] Main: Arguments: ["C:\Docker\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
    [2024-05-18 02:03:25.631 +09:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.19045"
    [2024-05-18 02:03:25.632 +09:00] [INF] [1] Main: Architecture: X64
    [2024-05-18 02:03:25.633 +09:00] [INF] [1] Main: 64-Bit Process: True
    [2024-05-18 02:03:25.634 +09:00] [INF] [1] Main: User Interactive: True
    [2024-05-18 02:03:25.635 +09:00] [INF] [1] Main: Processor count: 12
    [2024-05-18 02:03:25.635 +09:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
    [2024-05-18 02:03:25.636 +09:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
    [2024-05-18 02:03:25.637 +09:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
    [2024-05-18 02:03:25.638 +09:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2024-05-18 02:03:25.638 +09:00] [INF] [1] Main: Web resources path: "C:\Docker\Jellyfin\Server\jellyfin-web"
    [2024-05-18 02:03:25.639 +09:00] [INF] [1] Main: Application directory: "C:\Docker\Jellyfin\Server\"
    [2024-05-18 02:03:25.709 +09:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration"]
    [2024-05-18 02:03:25.732 +09:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2024-05-18 02:03:25.766 +09:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
    [2024-05-18 02:03:25.882 +09:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [2024-05-18 02:03:25.883 +09:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
    [2024-05-18 02:03:25.884 +09:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [2024-05-18 02:03:25.886 +09:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: ["172.30.1.66", "127.0.0.1"]
    [2024-05-18 02:03:25.887 +09:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
    [2024-05-18 02:03:25.888 +09:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filter list: []
    [2024-05-18 02:03:26.626 +09:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.9.1.0"
    [2024-05-18 02:03:26.628 +09:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.9.1.0"
    [2024-05-18 02:03:26.629 +09:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.9.1.0"
    [2024-05-18 02:03:26.643 +09:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.9.1.0"
    [2024-05-18 02:03:26.646 +09:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.9.1.0"
    [2024-05-18 02:03:26.684 +09:00] [INF] [1] 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"]
    [2024-05-18 02:03:26.705 +09:00] [INF] [1] Main: Kestrel is listening on "172.30.1.66"
    [2024-05-18 02:03:26.706 +09:00] [INF] [1] Main: Kestrel is listening on "127.0.0.1"
    [2024-05-18 02:03:27.030 +09:00] [ERR] [1] Microsoft.Extensions.Hosting.Internal.Host: Hosting failed to start
    System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
      at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, 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()
      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)
      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)
    [2024-05-18 02:03:27.040 +09: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-05-18 02:03:27.041 +09:00] [FTL] [1] Main: Error while starting server
    System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
      at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, 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()
      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)
      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-05-18 02:03:27.049 +09:00] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
    [2024-05-18 02:03:27.060 +09:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
    [2024-05-18 02:03:27.061 +09:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzArtistProvider"
    [2024-05-18 02:03:27.062 +09:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzAlbumProvider"
    [2024-05-18 02:03:27.063 +09:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "PluginManager"
    Go to solution
    Tim
    Offline

    Community Moderator

    Posts: 49
    Threads: 1
    Joined: 2023 Jun
    Reputation: 3
    #2
    2024-05-17, 05:55 PM
    Can you try restarting the computer? I am sure there is a program using that socket (most likely the old Jellyfin).

    Also make sure the port you are trying to use is not inside a reserved port range or in use by another application.
    Not your average hoarder.

    Storage: 8x18TB RAIDz2 + 2x16TB Mirror + 512GB NVMe OS drive
    CPU: Ryzen 1700
    Cooler: Scythe Fuma 2
    Motherboard: Gigabyte AORUS B450 PRO
    RAM: DDR4; 2x8GB + 2x16GB
    zeelThe
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    #3
    2024-05-18, 02:38 AM
    Forgot to mention, but I did try restarting the computer and using that netstat command to check the port also resulted in nothing.
    For good measure, I restarted it again and checked netstat again... no luck. Slightly-frowning-face
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-05-18, 02:47 AM
    Try upgrading to 10.9.2 that was released earlier today. I see some network related messages and I recall that several network config related PRs were part of 10.9.2.

    Code:
    [2024-05-18 02:03:14.289 +09:00] [ERR] [8] Microsoft.Extensions.Hosting.Internal.Host: Hosting failed to start

    System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    zeelThe
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    #5
    2024-05-20, 07:49 PM
    Thank you, the new version fixed it. Spent so much time trying to fix it myself, geez x.x
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode