Jellyfin Forum
SOLVED: trouble to start the server on windows server 2012 - 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: trouble to start the server on windows server 2012 (/t-solved-trouble-to-start-the-server-on-windows-server-2012)



trouble to start the server on windows server 2012 - arnanet - 2023-09-20

I have a problem to start the jellyfin server on Windows Server 2019. I have also sent the log file below. I would be grateful if anyone encountered a similar problem.
best rigards




[2023-09-20 14:45:19.433 +04:30] [INF] [1] Main: Jellyfin version: "10.8.10"
[2023-09-20 14:45:19.492 +04:30] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\Users\Administrator\AppData\Local\Jellyfin\log]"]
[2023-09-20 14:45:19.509 +04:30] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\Users\Administrator\AppData\Local\Jellyfin"]
[2023-09-20 14:45:19.523 +04:30] [INF] [1] Main: Operating system: "Windows"
[2023-09-20 14:45:19.528 +04:30] [INF] [1] Main: Architecture: X64
[2023-09-20 14:45:19.535 +04:30] [INF] [1] Main: 64-Bit Process: True
[2023-09-20 14:45:19.540 +04:30] [INF] [1] Main: User Interactive: True
[2023-09-20 14:45:19.546 +04:30] [INF] [1] Main: Processor count: 24
[2023-09-20 14:45:19.552 +04:30] [INF] [1] Main: Program data path: "C:\Users\Administrator\AppData\Local\Jellyfin"
[2023-09-20 14:45:19.558 +04:30] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2023-09-20 14:45:19.563 +04:30] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2023-09-20 14:45:21.462 +04:30] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\Users\Administrator\AppData\Local\jellyfin\cache"
[2023-09-20 14:45:22.717 +04:30] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2023-09-20 14:45:25.863 +04:30] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.IMVDb, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null" from "C:\Users\Administrator\AppData\Local\Jellyfin\plugins\IMVDb_3.0.0.0\Jellyfin.Plugin.IMVDb.dll"
[2023-09-20 14:45:26.340 +04:30] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.OpenSubtitles, Version=18.0.0.0, Culture=neutral, PublicKeyToken=null" from "C:\Users\Administrator\AppData\Local\Jellyfin\plugins\Open Subtitles_18.0.0.0\Jellyfin.Plugin.OpenSubtitles.dll"
[2023-09-20 14:45:26.878 +04:30] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.PlaybackReporting, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null" from "C:\Users\Administrator\AppData\Local\Jellyfin\plugins\Playback Reporting_13.0.0.0\Jellyfin.Plugin.PlaybackReporting.dll"
[2023-09-20 14:45:26.982 +04:30] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.SessionCleaner, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" from "C:\Users\Administrator\AppData\Local\Jellyfin\plugins\Session Cleaner_2.0.0.0\Jellyfin.Plugin.SessionCleaner.dll"
[2023-09-20 14:45:26.988 +04:30] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin "6.0.0.0" of "Slack Notifications"
[2023-09-20 14:45:26.995 +04:30] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin "7.0.0.0" of "Slack Notifications"
[2023-09-20 14:45:27.510 +04:30] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.Tvdb, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null" from "C:\Users\Administrator\AppData\Local\Jellyfin\plugins\TheTVDB_10.0.0.0\Jellyfin.Plugin.Tvdb.dll"
[2023-09-20 14:45:27.595 +04:30] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "TvDbSharper, Version=3.2.2.0, Culture=neutral, PublicKeyToken=null" from "C:\Users\Administrator\AppData\Local\Jellyfin\plugins\TheTVDB_10.0.0.0\TvDbSharper.dll"
[2023-09-20 14:45:30.320 +04:30] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-09-20 14:45:30.327 +04:30] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
[2023-09-20 14:45:30.337 +04:30] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-09-20 14:45:30.346 +04:30] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[]"
[2023-09-20 14:45:30.351 +04:30] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]"
[2023-09-20 14:45:40.907 +04:30] [FTL] [1] Main: Error while starting server.
System.ArgumentNullException: Value cannot be null. (Parameter 'passwordResetProviderId')
  at Jellyfin.Data.Entities.User..ctor(String username, String authenticationProviderId, String passwordResetProviderId)
  at lambda_method44(Closure , QueryContext , DbDataReader , ResultContext , SingleQueryResultCoordinator )
  at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.Enumerator.MoveNext()
  at Jellyfin.Server.Implementations.Users.UserManager..ctor(JellyfinDbProvider dbProvider, IEventManager eventManager, ICryptoProvider cryptoProvider, INetworkManager networkManager, IApplicationHost appHost, IImageProcessor imageProcessor, ILogger
1 logger)
  at System.RuntimeMethodHandle.InvokeMethod(Object target, Span1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
  at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
  at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
  at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
  at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func`2 valueFactory)
  at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
  at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
  at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
  at Emby.Server.Implementations.ApplicationHost.Resolve[T]()
  at Emby.Server.Implementations.ApplicationHost.InitializeServices()
  at Jellyfin.Server.Program.StartApp(StartupOptions options)
[2023-09-20 14:45:41.381 +04:30] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[2023-09-20 14:45:41.585 +04:30] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2023-09-20 14:45:41.592 +04:30] [FTL] [1] Main: Unhandled Exception
System.NullReferenceException: Object reference not set to an instance of an object.
  at Emby.Server.Implementations.ApplicationHost.DisposeAsyncCore()
  at Emby.Server.Implementations.ApplicationHost.DisposeAsync()
  at Jellyfin.Server.Program.StartApp(StartupOptions options)
  at Jellyfin.Server.Program.<Main>(String[] args)


RE: trouble to start the server on windows server 2012 - arnanet - 2023-09-20

problem solved with this solution



https://www.reddit.com/r/jellyfin/comments/12nqxx1/object_reference_not_set_to_an_instance_of_an/?rdt=35021


RE: trouble to start the server on windows server 2012 - TheDreadPirate - 2023-09-20

Glad you found the solution. Do you know what caused the problem initially?