[Issue]: The value cannot be an empty string. (Parameter 'rating') #5707

Closed
opened 2026-02-07 02:10:13 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @unknown1818 on GitHub (May 12, 2024).

Please describe your bug

[16:43:23] [INF] [1] Jellyfin.Server.Migrations.Routines.MigrateRatingLevels: Recalculating parental rating levels based on rating string.
[16:43:23] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration 'MigrateRatingLevels'
System.ArgumentException: The value cannot be an empty string. (Parameter 'rating')
   at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
   at System.ArgumentException.ThrowIfNullOrEmpty(String argument, String paramName)
   at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode)
   at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode)
   at Jellyfin.Server.Migrations.Routines.MigrateRatingLevels.Perform()
   at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
[16:43:23] [FTL] [1] Main: Error while starting server
System.ArgumentException: The value cannot be an empty string. (Parameter 'rating')
   at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
   at System.ArgumentException.ThrowIfNullOrEmpty(String argument, String paramName)
   at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode)
   at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode)
   at Jellyfin.Server.Migrations.Routines.MigrateRatingLevels.Perform()
   at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
   at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
   at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[16:43:23] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
[16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzArtistProvider
[16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
[16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager

Reproduction Steps

Installed latest version 1 hour ago via watchtower

Jellyfin Version

10.9.0

if other:

No response

Environment

- OS: Debian
- Linux Kernel:
- Virtualization:
- Clients:
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- GPU Model:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

[16:43:23] [INF] [1] Jellyfin.Server.Migrations.Routines.MigrateRatingLevels: Recalculating parental rating levels based on rating string.
[16:43:23] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration 'MigrateRatingLevels'
System.ArgumentException: The value cannot be an empty string. (Parameter 'rating')
   at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
   at System.ArgumentException.ThrowIfNullOrEmpty(String argument, String paramName)
   at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode)
   at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode)
   at Jellyfin.Server.Migrations.Routines.MigrateRatingLevels.Perform()
   at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
[16:43:23] [FTL] [1] Main: Error while starting server
System.ArgumentException: The value cannot be an empty string. (Parameter 'rating')
   at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
   at System.ArgumentException.ThrowIfNullOrEmpty(String argument, String paramName)
   at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode)
   at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode)
   at Jellyfin.Server.Migrations.Routines.MigrateRatingLevels.Perform()
   at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
   at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
   at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[16:43:23] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
[16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzArtistProvider
[16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
[16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @unknown1818 on GitHub (May 12, 2024). ### Please describe your bug ``` [16:43:23] [INF] [1] Jellyfin.Server.Migrations.Routines.MigrateRatingLevels: Recalculating parental rating levels based on rating string. [16:43:23] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration 'MigrateRatingLevels' System.ArgumentException: The value cannot be an empty string. (Parameter 'rating') at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName) at System.ArgumentException.ThrowIfNullOrEmpty(String argument, String paramName) at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode) at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode) at Jellyfin.Server.Migrations.Routines.MigrateRatingLevels.Perform() at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger) [16:43:23] [FTL] [1] Main: Error while starting server System.ArgumentException: The value cannot be an empty string. (Parameter 'rating') at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName) at System.ArgumentException.ThrowIfNullOrEmpty(String argument, String paramName) at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode) at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode) at Jellyfin.Server.Migrations.Routines.MigrateRatingLevels.Perform() at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger) at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory) at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig) [16:43:23] [INF] [1] Main: Running query planner optimizations in the database... This might take a while [16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost [16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzArtistProvider [16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider [16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager ``` ### Reproduction Steps Installed latest version 1 hour ago via watchtower ### Jellyfin Version 10.9.0 ### if other: _No response_ ### Environment ```markdown - OS: Debian - Linux Kernel: - Virtualization: - Clients: - Browser: - FFmpeg Version: - Playback Method: - Hardware Acceleration: - GPU Model: - Plugins: - Reverse Proxy: - Base URL: - Networking: - Storage: ``` ### Jellyfin logs ```shell [16:43:23] [INF] [1] Jellyfin.Server.Migrations.Routines.MigrateRatingLevels: Recalculating parental rating levels based on rating string. [16:43:23] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration 'MigrateRatingLevels' System.ArgumentException: The value cannot be an empty string. (Parameter 'rating') at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName) at System.ArgumentException.ThrowIfNullOrEmpty(String argument, String paramName) at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode) at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode) at Jellyfin.Server.Migrations.Routines.MigrateRatingLevels.Perform() at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger) [16:43:23] [FTL] [1] Main: Error while starting server System.ArgumentException: The value cannot be an empty string. (Parameter 'rating') at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName) at System.ArgumentException.ThrowIfNullOrEmpty(String argument, String paramName) at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode) at Emby.Server.Implementations.Localization.LocalizationManager.GetRatingLevel(String rating, String countryCode) at Jellyfin.Server.Migrations.Routines.MigrateRatingLevels.Perform() at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger) at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory) at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig) [16:43:23] [INF] [1] Main: Running query planner optimizations in the database... This might take a while [16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost [16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzArtistProvider [16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider [16:43:23] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager ``` ### FFmpeg logs _No response_ ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bug label 2026-02-07 02:10:13 +03:00
Author
Owner

@jellyfin-bot commented on GitHub (May 12, 2024):

Hi, it seems like your issue report has the following item(s) that need to be addressed:

  • You have not filled in the environment completely.

This is an automated message, currently under testing. Please file an issue here if you encounter any problems.

@jellyfin-bot commented on GitHub (May 12, 2024): Hi, it seems like your issue report has the following item(s) that need to be addressed: - You have not filled in the environment completely. This is an automated message, currently under testing. Please file an issue [here](https://github.com/jellyfin/jellyfin-triage-scripts/issues) if you encounter any problems.
Author
Owner

@crobibero commented on GitHub (May 12, 2024):

Duplicate of https://github.com/jellyfin/jellyfin/issues/11532

@crobibero commented on GitHub (May 12, 2024): Duplicate of https://github.com/jellyfin/jellyfin/issues/11532
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#5707