Jump to content

Libraries won't scan automatically and i can't delete


Recommended Posts

mathbernier
Posted

Hi Guys, me again, having some issues with all my libraries.

I need to scan them manually for added items and i am not able to delete them from Emby.

I am using Synology Docker and the internal Emby user have read/write access from the root of the shared folder and the permission was applied to all sub-folders.

 

2024-06-17 00:11:04.471 Info App: Deleting directory /movies/Dream Scenario (2023) [1080p] [WEBRip] [x265] [10bit] [5.1] [YTS.MX]
2024-06-17 00:11:04.516 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.8.0
    Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
    Operating system: Linux version 4.4.302+ (root@build6) (gcc version 12.2.0 (GCC) ) #69057 SMP Fri Jan 12 17:01:14 CST 2024
    Framework: .NET 6.0.25
    OS/Process: x64/x64
    Runtime: system/System.Private.CoreLib.dll
    Processor count: 4
    Data path: /config
    Application path: /system
    System.IO.IOException: System.IO.IOException: Access to the path '/movies/Dream Scenario (2023) [1080p] [WEBRip] [x265] [10bit] [5.1] [YTS.MX]' is denied.
       at System.IO.FileSystem.RemoveDirectoryInternal(DirectoryInfo directory, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
       at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
       at System.IO.Directory.Delete(String path, Boolean recursive)
       at Emby.Server.Implementations.IO.ManagedFileSystem.DeleteDirectoryInternal(String path, Boolean recursive, Boolean sendToRecycleBin)
       at Emby.Server.Implementations.IO.ManagedFileSystem.DeleteDirectory(String path, Boolean recursive, Boolean sendToRecycleBin)
       at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
       at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, Boolean notifyParentItem)
       at Emby.Api.Library.LibraryService.Any(DeleteItems request)
       at Emby.Server.Implementations.Services.ServiceController.<>c__DisplayClass8_0.<VoidActionDelegate>b__0(Object service, Object request)
       at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req, Type serviceType)
       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, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
    Source: System.Private.CoreLib
    TargetSite: Void RemoveDirectoryInternal(System.IO.DirectoryInfo, Boolean, Boolean)
 

I am trying to figure it out for days now and i can't seem to find out why.

 

Any help would be gladly appreciated.

Thanks!

Posted

Hi there, please attach the complete emby server log. Thanks.

Posted
On 6/17/2024 at 1:26 AM, mathbernier said:

There it goes, thanks Luke :)

embyserver.txt 3.82 MB · 2 downloads

Regarding delete, looks like a permissions problem:

2024-06-17 00:11:55.671 Error Server: Error processing request
	*** Error Report ***
	Version: 4.8.8.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 4.4.302+ (root@build6) (gcc version 12.2.0 (GCC) ) #69057 SMP Fri Jan 12 17:01:14 CST 2024
	Framework: .NET 6.0.25
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /config
	Application path: /system
	System.IO.IOException: System.IO.IOException: Access to the path '/movies/Dream Scenario (2023) [1080p] [WEBRip] [x265] [10bit] [5.1] [YTS.MX]' is denied.

If you can correct that, then you should be able to delete.

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