Jump to content

under Synology: can't add libraries under DSM 7.2 and Emby 4.7.14.0


Tomiliy
Go to solution Solved by Tomiliy,

Recommended Posts

Hello,

i can't add libraries under synology.

all ibraries under /volume1/Video/Filme....  or  /volume1/Video/Serien....

i gave rights for the emby user like here: emby rights

synology1.png.c8362ba014f61267c449aa84a6acb994.png

But i can't add the Library.

Please help!

 

2023-12-28 15:38:44.874 Error App: Error getting files from /volume1/Video/Filme/Eltern
*** Error Report ***
Version: 4.7.14.0
Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk
Operating system: Linux version 4.4.302+ (root@build5) (gcc version 12.2.0 (GCC) ) #69057 SMP Sat Sep 23 21:48:04 CST 2023
Framework: .NET 6.0.20
OS/Process: x64/x64
Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
Processor count: 4
Data path: /var/packages/EmbyServer/var
Application path: /volume1/@appstore/EmbyServer/system
System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/volume1/Video/Filme/Eltern' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetFiles(String[] paths, Boolean throwOnException, IDirectoryService directoryService)
Source: System.Private.CoreLib
TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
InnerException: System.IO.IOException: Permission denied
Source:
TargetSite:
2023-12-28 15:38:45.486 Info LibraryMonitor: Watching directory /volume1/Video/Filme/Eltern

 

Link to comment
Share on other sites

i don't know why it's nort working

*** Error Report ***
Version: 4.7.14.0
Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk
Operating system: Linux version 4.4.302+ (root@build5) (gcc version 12.2.0 (GCC) ) #69057 SMP Sat Sep 23 21:48:04 CST 2023
Framework: .NET 6.0.20
OS/Process: x64/x64
Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
Processor count: 4
Data path: /var/packages/EmbyServer/var
Application path: /volume1/@appstore/EmbyServer/system
System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/volume1/Video/Filme/Eltern' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
at Emby.Api.EnvironmentService.GetFileSystemEntries(GetDirectoryContents request)
at Emby.Api.EnvironmentService.Get(GetDirectoryContents request)
at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, 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: IntPtr CreateDirectoryHandle(System.String, Boolean)
InnerException: System.IO.IOException: Permission denied
Source:
TargetSite:
2023-12-28 17:58:46.209 Info Server: http/1.1 POST http://host1:8096/emby/Library/VirtualFolders/LibraryOptions?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=1aec70c3-a02d-4251-a855-2b8649902cbe&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=de&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
2023-12-28 17:58:46.234 Info Server: http/1.1 Response 204 to host2. Time: 25ms. http://host1:8096/emby/Library/VirtualFolders/LibraryOptions?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=1aec70c3-a02d-4251-a855-2b8649902cbe&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=de&reqformat=json

 

Link to comment
Share on other sites

  • Solution

found the soloution

first you must click your Media folder, right click Propertys,(1) 

aft that check, if the emby user is aviable (2)

and the add the hook next to all folder and subfolders (3)

synology2.png.2e68be8e59bb93b7a1453985625b3876.png

  • Thanks 1
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...