Jump to content

Metadata stuck


Recommended Posts

EvilUnicorn
Posted

I've deleted a  collection of movies directly from disk instead of using Emby delete option. Now the movie still shows and I can't seem to get rid of it. Using Metadat Manager I can't delete the movies, that results in a error stating that I should check the rights on the folder which doesn't make sense since the files are not even there. Any clue on how to clean this up? Emby is running as app on synology.

 

Regards 

Happy2Play
Posted

Well a Library scan should see all the missing items and remove them.  If that is not happening you will need to post a server log.

Posted

Hi, yes please try running a library scan. If it still shows after that, let's look closer at an example. Thanks !

EvilUnicorn
Posted

I've tried running a scan with no solution, so I'll get the server log asap (not at home yet) Thank you so far!

EvilUnicorn
Posted

I've run a delete again, and can find this in the logs:

018-12-11 09:57:05.213 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.5.3.0
	Command line: /var/packages/EmbyServer/target/server/EmbyServer.exe -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -restartexitcode 121
	Operating system: Unix 4.4.59.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: False
	Mono: 5.14.0.177 (tarball Sun Nov  4 20:48:29 UTC 2018)
	Processor count: 4
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/3.5.3.0
	System.UnauthorizedAccessException: Access to the path "/volume1/video/movies/Outlaw Country - 2012/1156_NV06_5465641.nzb" is denied.
	  at System.IO.File.Delete (System.String path) [0x00073] in <eb1cd6c456494990813d92477245f615>:0 
	  at System.IO.Directory.RecursiveDelete (System.String path) [0x0003f] in <eb1cd6c456494990813d92477245f615>:0 
	  at System.IO.Directory.Delete (System.String path, System.Boolean recursive) [0x00009] in <eb1cd6c456494990813d92477245f615>:0 
	  at Emby.Server.Implementations.IO.ManagedFileSystem.DeleteDirectory (System.String path, System.Boolean recursive) [0x0001c] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at Emby.Server.Implementations.Library.LibraryManager.DeleteItem (MediaBrowser.Controller.Entities.BaseItem item, MediaBrowser.Controller.Library.DeleteOptions options, MediaBrowser.Controller.Entities.BaseItem parent, System.Boolean notifyParentItem) [0x00257] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at Emby.Server.Implementations.Library.LibraryManager.DeleteItem (MediaBrowser.Controller.Entities.BaseItem item, MediaBrowser.Controller.Library.DeleteOptions options, System.Boolean notifyParentItem) [0x0001f] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at MediaBrowser.Api.Library.LibraryService.Delete (MediaBrowser.Api.Library.DeleteItems request) [0x0008b] in <04e8d6a3294b4f7cbfcde6329eae6a1e>:0 
	  at MediaBrowser.Api.Library.LibraryService.Delete (MediaBrowser.Api.Library.DeleteItem request) [0x00012] in <04e8d6a3294b4f7cbfcde6329eae6a1e>:0 
	  at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
	  at Emby.Server.Implementations.Services.ServiceExecGeneral+<>c__DisplayClass5_0.<CreateExecFn>b__0 (System.Object service, System.Object request) [0x00000] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute (System.Type serviceType, MediaBrowser.Model.Services.IRequest request, System.Object instance, System.Object requestDto, System.String requestName) [0x00076] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, System.Object requestDto, MediaBrowser.Model.Services.IRequest req) [0x00054] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>d__13.MoveNext () [0x00155] in <8252e50122f84f82af882c36d707f6ce>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>d__60.MoveNext () [0x009e8] in <8252e50122f84f82af882c36d707f6ce>:0 
	System.UnauthorizedAccessException
	  at System.IO.File.Delete (System.String path) [0x00073] in <eb1cd6c456494990813d92477245f615>:0 
	  at System.IO.Directory.RecursiveDelete (System.String path) [0x0003f] in <eb1cd6c456494990813d92477245f615>:0 
	  at System.IO.Directory.Delete (System.String path, System.Boolean recursive) [0x00009] in <eb1cd6c456494990813d92477245f615>:0 
	  at Emby.Server.Implementations.IO.ManagedFileSystem.DeleteDirectory (System.String path, System.Boolean recursive) [0x0001c] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at Emby.Server.Implementations.Library.LibraryManager.DeleteItem (MediaBrowser.Controller.Entities.BaseItem item, MediaBrowser.Controller.Library.DeleteOptions options, MediaBrowser.Controller.Entities.BaseItem parent, System.Boolean notifyParentItem) [0x00257] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at Emby.Server.Implementations.Library.LibraryManager.DeleteItem (MediaBrowser.Controller.Entities.BaseItem item, MediaBrowser.Controller.Library.DeleteOptions options, System.Boolean notifyParentItem) [0x0001f] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at MediaBrowser.Api.Library.LibraryService.Delete (MediaBrowser.Api.Library.DeleteItems request) [0x0008b] in <04e8d6a3294b4f7cbfcde6329eae6a1e>:0 
	  at MediaBrowser.Api.Library.LibraryService.Delete (MediaBrowser.Api.Library.DeleteItem request) [0x00012] in <04e8d6a3294b4f7cbfcde6329eae6a1e>:0 
	  at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
	  at Emby.Server.Implementations.Services.ServiceExecGeneral+<>c__DisplayClass5_0.<CreateExecFn>b__0 (System.Object service, System.Object request) [0x00000] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute (System.Type serviceType, MediaBrowser.Model.Services.IRequest request, System.Object instance, System.Object requestDto, System.String requestName) [0x00076] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, System.Object requestDto, MediaBrowser.Model.Services.IRequest req) [0x00054] in <8252e50122f84f82af882c36d707f6ce>:0 
	  at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>d__13.MoveNext () [0x00155] in <8252e50122f84f82af882c36d707f6ce>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>d__60.MoveNext () [0x009e8] in <8252e50122f84f82af882c36d707f6ce>:0 

I can see it reports not having access but embysvr does have read/write on the folder. I guess it might have to do with the fact that the file just isn't there anymore (deleted by hand directly in folder instead of using Emby, that wont happen again ;-)) It looks like Emby can't find it and concludes it doesn't have rights, and then leaves all as is. Would be nice if emby would ask something like 'file not found or no permissions, did you remove it by hand?' to be able to clean the removed stuff from Emby. But perhaps it is something totally different ;-)

 

regards

Posted

Hi, the 3.6 release will handle this better by ignoring the file error in the event you already deleted the files. Thanks !

EvilUnicorn
Posted

Sounds good, I'll wait for that!

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