Jump to content

Multiple collections directory in listings


frank42

Recommended Posts

Hi there,

I currently try to resolve a very strange problem with my emby installation. The system runs on opensuse linux and usually runs quite fine, but for some unknown reason the collections folder gets cloned over and over again, but with no way of properly reproducing it.

Currently it looks like this:

 

5e29acb1cd727_Screenshot_20200123_152413

 

In emby library backend I see the several collection folders, all with target directory "/var/ib/emby/data/collections" where the collections are present as expected, including the ones generated by the auto boxset plugin.
I don't have a clue why this item seems to be cloning itself, and why, and when... so it's hard for me to even locate a possible reason within the logfiles.

 

Additionally, most likely related, I can't add new collections. the log file speaks like this when trying to add a movie to a new to-be-created collection:

2020-01-23 15:32:48.037 Info HttpServer: HTTP GET https://emby.domain.org/Users/e277b6d5d2994a408a1ebce23ec715e6/Items?Recursive=true&IncludeItemTypes=BoxSet&SortBy=SortName&EnableTotalRecordCount=false. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.16 Safari/537.36
2020-01-23 15:32:48.105 Info HttpServer: HTTP Response 200 to xxx.xxx.xxx.xxx. Time: 68ms. https://emby.domain.org/Users/e277b6d5d2994a408a1ebce23ec715e6/Items?Recursive=true&IncludeItemTypes=BoxSet&SortBy=SortName&EnableTotalRecordCount=false
2020-01-23 15:32:50.649 Info HttpServer: HTTP POST https://emby.domain.org/Collections?Name=New-Jersey%20Filmreihe&IsLocked=true&Ids=226033. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.16 Safari/537.36
2020-01-23 15:32:50.651 Info LibraryMonitor: Stopping directory watching for path /daten/lager/videos/Tempvideos
2020-01-23 15:32:50.651 Info LibraryMonitor: Stopping directory watching for path /var/lib/emby-server/data/collections
2020-01-23 15:32:51.594 Info TaskManager: Executing Scan media library
2020-01-23 15:32:51.596 Error HttpServer: Error processing request
        *** Error Report ***
        Version: 4.3.1.0
        Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm
        Operating system: Unix 5.4.13.3
        64-Bit OS: True 
        64-Bit Process: True
        User Interactive: True
        Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
        Processor count: 4 
        Program data path: /var/lib/emby
        Application directory: /opt/emby-server/system
        System.InvalidOperationException: System.InvalidOperationException: Sequence contains no elements
           at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
           at Emby.Server.Implementations.Collections.CollectionManager.EnsureLibraryFolder(String path, Boolean createIfNeeded)
        Source: System.Linq 
        TargetSite: TSource First[TSource](System.Collections.Generic.IEnumerable`1[TSource])
        
2020-01-23 15:32:51.596 Info HttpServer: HTTP Response 500 to xxx.xxx.xxx.xxx. Time: 947ms. https://emby.domain.org/Collections?Name=New-Jersey%20Filmreihe&IsLocked=true&Ids=226033
 

It's of course not a critical showstopper, but ... help? :)
 

 

Link to comment
Share on other sites

Hi, that's strange. Try removing the Collections library from Emby library setup, then run a library scan. Please see if that helps. Thanks.

Link to comment
Share on other sites

Well, I removed all "collection" items from the library. Even though the content in /var/lib/emby/data/collections is still present, they are now gone from the homepage. I was then able to create a new collection manually and add movies to it. After some minutes, the collections from the auto-boxset-plugin reappeared within the 'collections' folder.

Currently it's only one, I will observe this and hope it does not start to spawn itself again.

5e29dbe9280b8_Screenshot_20200123_184557

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...