Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start v10.8.0-alpha1 #6776

Closed
darkarp opened this issue Nov 4, 2021 · 8 comments · Fixed by #6791
Closed

Can't start v10.8.0-alpha1 #6776

darkarp opened this issue Nov 4, 2021 · 8 comments · Fixed by #6791
Labels
bug Something isn't working

Comments

@darkarp
Copy link

darkarp commented Nov 4, 2021

Describe the bug
Built the new 10.8.0-alpha1 release and when starting, this error keeps popping up: System.ArgumentNullException: Value cannot be null. (Parameter 'provider'). This also happens when trying out the pre-built version of 10.8.0-1

Stack trace:

Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'provider')
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
at Emby.Server.Implementations.ApplicationHost.Resolve[T]()
at Jellyfin.Server.Program.StartApp(StartupOptions options)
at Jellyfin.Server.Program.<Main>(String[] args)
jellyfin.service: Main process exited, code=dumped, status=6/ABRT
jellyfin.service: Failed with result 'core-dump'.

System (please complete the following information):

  • OS: Ubuntu 20.04
  • Virtualization: No virtualization - native
@darkarp darkarp added the bug Something isn't working label Nov 4, 2021
@BugFixesAndPerformanceImprovements

I get the same System.ArgumentNullException: Value cannot be null. (Parameter 'provider') error in Windows using an existing Jellyfin database. Creating a new database works fine.

The log also mentions:

Main: Error while starting server. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Could not load type 'SQLitePCL.pretty.IResultSetValue' from assembly 'SQLitePCL.pretty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

@antipiot
Copy link

antipiot commented Nov 4, 2021

Having similar issue here on docker with container 10.8.0-alpha1:

Made a copy of my actual config folder and started a new container with alpha image:
Log attached show error with db migration:

[19:44:26] [FTL] [1] Main: Error while starting server.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load type 'SQLitePCL.pretty.IResultSetValue' from assembly 'SQLitePCL.pretty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

[19:44:26] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[19:44:26] [FTL] [1] Main: Unhandled Exception

_jellyfin8_logs.txt

@crobibero
Copy link
Member

Main: Error while starting server. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Could not load type 'SQLitePCL.pretty.IResultSetValue' from assembly 'SQLitePCL.pretty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

Try removing the Playback Reporting plugin and Reports plugin

@jellyfin-bot jellyfin-bot added this to Needs triage in Issue Triage for Main Repo Nov 4, 2021
@crobibero crobibero added this to Active Bugs in Release 10.8.0 via automation Nov 4, 2021
@darkarp
Copy link
Author

darkarp commented Nov 5, 2021

It seems this issue happens when uprading from the previous version. What's the proper upgrade path from 10.7.7 to 10.8.0-1?

@crobibero
Copy link
Member

I’m fairly certain the log lines posted in this issue are all from plugins failing. Theoretically the plugin shouldn’t be able to stop the server from starting up, but there are many edge cases

@antipiot
Copy link

antipiot commented Nov 5, 2021

Main: Error while starting server. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Could not load type 'SQLitePCL.pretty.IResultSetValue' from assembly 'SQLitePCL.pretty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

Try removing the Playback Reporting plugin and Reports plugin
I tried to remove the plugin "Reporting playback" but error is still present:

[07:25:20] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[07:25:20] [FTL] [1] Main: Unhandled Exception
System.ArgumentNullException: Value cannot be null. (Parameter 'provider')
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)

@crobibero crobibero moved this from Needs triage to High priority in Issue Triage for Main Repo Nov 5, 2021
@darkarp
Copy link
Author

darkarp commented Nov 5, 2021

I can confirm that after deleting the entire data directory (for me at /var/lib/jellyfin/data) the error disappears.

@crobibero
Copy link
Member

If anyone is having this issue after removing the PlaybackReporting plugin, please post the full startup log

Issue Triage for Main Repo automation moved this from High priority to Closed/Done Nov 6, 2021
Release 10.8.0 automation moved this from Active Bugs to Jellyfinished Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Release 10.8.0
  
Jellyfinished
Development

Successfully merging a pull request may close this issue.

4 participants