2024-01-12, 04:52 AM
(This post was last modified: 2024-01-12, 11:53 PM by NaturalBornCamper. Edited 1 time in total.)
Hello all,
I have a very strange issue, after migrating to a new server on Windows, my server shows none of my custom collections. The screen loads for fraction of a second, then shows nothing. When I checked in the log (debug-level logging), I'm getting a strange error every time I open "Collections":
What's even weirder is that I can even use the context menu of movies and click "Add to collection" then create a new one, then that collection shows up in library.db and in
When adding media to a collection however, none of my collections show up.. including the new one I just created as a test
So it looks like there is an issue somewhere when trying to list the existing collections. The "SongCount" error doesn't show up in the log when the window "Add to Collection" shows up if I try to add media to a collection (which I thought it would, since it's also trying to load the existing collections.
I don't know where to look anymore. I searched inside ALL the files and the whole database the word "collections" in case I would find a clue. By the way all the rest of the migration worked well, all movies, tv shows, subtitles, plugins, users, passwords, authorization keys, avatar images, metadata work perfectly, playback is working, etc etc.
Thanks guys!
-NBC
I have a very strange issue, after migrating to a new server on Windows, my server shows none of my custom collections. The screen loads for fraction of a second, then shows nothing. When I checked in the log (debug-level logging), I'm getting a strange error every time I open "Collections":
Code:
[2024-01-11 23:33:36.114 -05:00] [DBG] Error converting value.
System.FormatException: SongCount is not a valid value for ItemFields.
---> System.ArgumentException: Requested value 'SongCount' was not found.
at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result)
at System.Enum.TryParseInt32Enum(RuntimeType enumType, ReadOnlySpan`1 value, Int32 minInclusive, Int32 maxInclusive, Boolean ignoreCase, Boolean throwOnFailure, TypeCode type, Int32& result)
at System.Enum.TryParse(Type enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
at System.Enum.TryParse(Type enumType, String value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
at System.ComponentModel.EnumConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
--- End of inner exception stack trace ---
at System.ComponentModel.EnumConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at Jellyfin.Api.ModelBinders.CommaDelimitedArrayModelBinder.GetParsedResult(IReadOnlyList`1 values, Type elementType, TypeConverter converter)
What's even weirder is that I can even use the context menu of movies and click "Add to collection" then create a new one, then that collection shows up in library.db and in
ProgramData\Jellyfin\Server\data\collections
. All my previous collections are also in the database and in the same folder. Checked the paths and everything is ok.When adding media to a collection however, none of my collections show up.. including the new one I just created as a test
So it looks like there is an issue somewhere when trying to list the existing collections. The "SongCount" error doesn't show up in the log when the window "Add to Collection" shows up if I try to add media to a collection (which I thought it would, since it's also trying to load the existing collections.
I don't know where to look anymore. I searched inside ALL the files and the whole database the word "collections" in case I would find a clue. By the way all the rest of the migration worked well, all movies, tv shows, subtitles, plugins, users, passwords, authorization keys, avatar images, metadata work perfectly, playback is working, etc etc.
Thanks guys!
-NBC