Pepes 1 Posted June 9, 2017 Share Posted June 9, 2017 (edited) Hello, I tried to delete one movie, but it was asked me if I was sure to delete it. Yes. I was. But after this nothing happened. I was curious and look into log and find this: 2017-06-09 21:59:15.2704 Error HttpServer: Error processing request *** Error Report *** Version: 3.2.19.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 4.9.0.0 64-Bit OS: True 64-Bit Process: True Mono: 4.8.1 (Stable 4.8.1.0/22a39d7 Tue May 2 22:25:43 UTC 2017) Processor count: 4 Program data path: /var/lib/emby-server Application directory: /usr/lib/emby-server/bin System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path "/hdd/nfs/****/*******/******.com.mp4" is denied. at System.IO.File.Delete (System.String path) [0x00082] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at Emby.Common.Implementations.IO.ManagedFileSystem.DeleteFile (System.String path) [0x00027] in <4852958fa08443d395496b4d7941b0a0>:0 at Emby.Server.Implementations.Library.LibraryManager+<DeleteItem>c__async1.MoveNext () [0x0033a] in <a15c4da60c2b431181a08b26f1522088>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00242] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout) [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at MediaBrowser.Api.Library.LibraryService.Delete (MediaBrowser.Api.Library.DeleteItems request) [0x00061] in <8093b34c418d43549fca4d05777b9fa4>:0 at MediaBrowser.Api.Library.LibraryService.Delete (MediaBrowser.Api.Library.DeleteItem request) [0x00013] in <8093b34c418d43549fca4d05777b9fa4>:0 at (wrapper dynamic-method) System.Object:lambda_method (System.Runtime.CompilerServices.Closure,object,object) at Emby.Server.Implementations.Services.ServiceExecGeneral+<CreateExecFn>c__AnonStorey2.<>m__0 (System.Object service, System.Object request) [0x00000] in <a15c4da60c2b431181a08b26f1522088>:0 at Emby.Server.Implementations.Services.ServiceExecGeneral+<Execute>c__async0.MoveNext () [0x0010a] in <a15c4da60c2b431181a08b26f1522088>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>c__async1.MoveNext () [0x0016b] in <a15c4da60c2b431181a08b26f1522088>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>c__async0.MoveNext () [0x006c8] in <a15c4da60c2b431181a08b26f1522088>:0 ---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path "/hdd/nfs/******/******/***.com.mp4" is denied. at System.IO.File.Delete (System.String path) [0x00082] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at Emby.Common.Implementations.IO.ManagedFileSystem.DeleteFile (System.String path) [0x00027] in <4852958fa08443d395496b4d7941b0a0>:0 at Emby.Server.Implementations.Library.LibraryManager+<DeleteItem>c__async1.MoveNext () [0x0033a] in <a15c4da60c2b431181a08b26f1522088>:0 <--- System.AggregateException at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00242] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout) [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at MediaBrowser.Api.Library.LibraryService.Delete (MediaBrowser.Api.Library.DeleteItems request) [0x00061] in <8093b34c418d43549fca4d05777b9fa4>:0 at MediaBrowser.Api.Library.LibraryService.Delete (MediaBrowser.Api.Library.DeleteItem request) [0x00013] in <8093b34c418d43549fca4d05777b9fa4>:0 at (wrapper dynamic-method) System.Object:lambda_method (System.Runtime.CompilerServices.Closure,object,object) at Emby.Server.Implementations.Services.ServiceExecGeneral+<CreateExecFn>c__AnonStorey2.<>m__0 (System.Object service, System.Object request) [0x00000] in <a15c4da60c2b431181a08b26f1522088>:0 at Emby.Server.Implementations.Services.ServiceExecGeneral+<Execute>c__async0.MoveNext () [0x0010a] in <a15c4da60c2b431181a08b26f1522088>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>c__async1.MoveNext () [0x0016b] in <a15c4da60c2b431181a08b26f1522088>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>c__async0.MoveNext () [0x006c8] in <a15c4da60c2b431181a08b26f1522088>:0 InnerException: System.UnauthorizedAccessException System.UnauthorizedAccessException: Access to the path "/hdd/nfs/*****/*****/*****.com.mp4" is denied. at System.IO.File.Delete (System.String path) [0x00082] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at Emby.Common.Implementations.IO.ManagedFileSystem.DeleteFile (System.String path) [0x00027] in <4852958fa08443d395496b4d7941b0a0>:0 at Emby.Server.Implementations.Library.LibraryManager+<DeleteItem>c__async1.MoveNext () [0x0033a] in <a15c4da60c2b431181a08b26f1522088>:0 at System.IO.File.Delete (System.String path) [0x00082] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at Emby.Common.Implementations.IO.ManagedFileSystem.DeleteFile (System.String path) [0x00027] in <4852958fa08443d395496b4d7941b0a0>:0 at Emby.Server.Implementations.Library.LibraryManager+<DeleteItem>c__async1.MoveNext () [0x0033a] in <a15c4da60c2b431181a08b26f1522088>:0 2017-06-09 21:59:15.2710 Info HttpServer: HTTP Response 500 to 192.168.1.117. Time: 13ms. http://192.168.1.234:8096/emby/Items/5dc826a54ad8dae9d9342df318d00779 Please can you do something with it? It would be really helpful if it will in web ui told me access denied instead of looking somewhere in logs. Edited June 9, 2017 by Pepes Link to comment Share on other sites More sharing options...
Luke 37095 Posted June 9, 2017 Share Posted June 9, 2017 Hi, there's nothing for us to do. This is actually for you to handle. Emby Server tried to delete the file, but was denied access by your system. On Linux, Emby runs under a service account called Emby. You need to ensure that the Emby system user has write access to your media folders, if that is indeed what you want to do. Let us know if this helps. Thanks ! Link to comment Share on other sites More sharing options...
Pepes 1 Posted June 9, 2017 Author Share Posted June 9, 2017 (edited) I'm really curious why you can't do something about it. Why there can't be some dialog, which will show what happened? Edited June 9, 2017 by Pepes Link to comment Share on other sites More sharing options...
Solution Luke 37095 Posted June 9, 2017 Solution Share Posted June 9, 2017 Why you can't say in web ui that access was denied ? yes this we can do, sorry about that. You are correct. We can certainly handle the error better and give you information about it. We'll look into doing that. Does this help? Thanks ! 1 Link to comment Share on other sites More sharing options...
Pepes 1 Posted June 9, 2017 Author Share Posted June 9, 2017 Nice, Luke! This is what I want! Amazing! Hopefully it will be there, soon. ;-) Link to comment Share on other sites More sharing options...
Luke 37095 Posted June 9, 2017 Share Posted June 9, 2017 Thanks for the feedback. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now