Jump to content

After installing 'ZDF/ARD Mediathek' and uninstalling, libraries can't be removed anymore


Recommended Posts

Posted

For brief testing I installed the 3rd-party plugins "ARD Mediathek" and "ZDF Mediathek", and deleted them a few minutes later including the proper restart.

But now, the both auto-created libraries do still exist in Emby and are not deletable. They are not visible under "Library" and under "Metadata Manager" no information is propagated - only the loading circle appears non-stop and never finishes:

image.thumb.png.a32f5709d9b7c02c8ecfe2636ee1fe4c.png

When clicking on either library, just an error occurs in core-Emby and hence I think it's some edge-case bug in Emby.

Log excerpt:

025-12-04 23:35:45.342 Error ItemUpdateService-xxx:000009BD: Error processing request
        *** Error Report ***
        Version: 4.9.1.90
        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-deb_{version}_amd64.deb
        Operating system: Linux version 5.15.0-161-generic (buildd@lcy02-amd64-072) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #171-Ub
        OS/Process: x64/x64
        Framework: .NET 8.0.11
        Runtime: opt/emby-server/system/System.Private.CoreLib.dll
        Processor count: 4
        Data path: /var/lib/emby
        Application path: /opt/emby-server/system
        System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
           at Emby.Api.ItemUpdateService.Get(GetMetadataEditorInfo request)
           at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
           at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, RestPath restPath, String urlString, String localPath, String contentTypeInPath, CancellationToken cancellationToken)
        Source: Emby.Api
        TargetSite: System.Object Get(Emby.Api.GetMetadataEditorInfo)

2025-12-04 23:35:45.342 Info ItemUpdateService-xxx:000009BD: http/2 Response 500 to ‌‍‍192.168.1.1. Time: 2ms. GET https://‌‍emby:8096/emby/Items/143554/MetadataEditor?X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Windows&X-Emby-Device-Id=xxx&X-Emby-Client-Version=4.9.1.90&X-Emby-Token=xxx&X-Emby-Language=en-us.
2025-12-04 23:35:45.342 Error UserLibraryService-xxx:000009BB: Error processing request
        *** Error Report ***
        Version: 4.9.1.90
        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-deb_{version}_amd64.deb
        Operating system: Linux version 5.15.0-161-generic (buildd@lcy02-amd64-072) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #171-Ub
        OS/Process: x64/x64
        Framework: .NET 8.0.11
        Runtime: opt/emby-server/system/System.Private.CoreLib.dll
        Processor count: 4
        Data path: /var/lib/emby
        Application path: /opt/emby-server/system
        MediaBrowser.Common.Extensions.ResourceNotFoundException: MediaBrowser.Common.Extensions.ResourceNotFoundException: Resource not found. Type: LibraryItem, Id: 143554
           at Emby.Api.UserLibrary.UserLibraryService.Get(GetItem request)
           at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
           at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
           at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, RestPath restPath, String urlString, String localPath, String contentTypeInPath, CancellationToken cancellationToken)
        Source: Emby.Api
        TargetSite: Void MoveNext()

2025-12-04 23:35:45.342 Info UserLibraryService-xxx:000009BB: http/2 Response 404 to ‌‍‍192.168.1.1. Time: 3ms. GET https://‌‍emby:8096/emby/Users/9a7f2253d3404386beb0e8b69add76fb/Items/143554?Fields=ChannelMappingInfo&ExcludeFields=Chapters,MediaSources,MediaStreams,Subviews&X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Windows&X-Emby-Device-Id=xxx&X-Emby-Client-Version=4.9.1.90&X-Emby-Token=xxx&X-Emby-Language=en-us.

 

Posted

Quick interesting update: Looks like another restart is cleaning up faulty references/libraries during startup procedure. But IMHO it should still not end up in above scenario, and at least some error message should appear (even if it's just a "Give it another restart and then consult support if it does not resolve")

Posted

Hi, it will delete automatically. It may just take a little time after starting up. We’ll look at improving it. Thanks.

Posted

Depends on what "little time" means :D  After approx. 5-10 minutes of uptime the library still existed. After another restart, it was gone in like within 5 seconds after the start.

But still found it worth reporting, as endless loading animations is a bit frustrating to see.

  • Thanks 1

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...