Jump to content

Fell at first hurdle. (DS220, DSM7.01) Application version: 4.6.4.0


MarkGil

Recommended Posts

Aop fails to find any media, despite feeding the server a large collection of FLAC audio.      It appears to be a permissions issue.

 

2021-10-30 15:11:02.075 Error BaseItem: Error refreshing owned items for /volume2/music
    *** Error Report ***
    Version: 4.6.4.0
    Command line: /volume2/@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 -updatepackage emby-server-synology7_{version}_x86_64.spk -noautorunwebapp
    Operating system: Linux version 4.4.180+ (root@build13) (gcc version 7.5.0 (GCC) ) #42218 SMP Mon Oct 18 19:16:55 CST 2021
    Framework: .NET Core 3.1.13
    OS/Process: x64/x64
    Runtime: volume2/@appstore/EmbyServer/system/System.Private.CoreLib.dll
    Processor count: 2
    Data path: /var/packages/EmbyServer/var
    Application path: /volume2/@appstore/EmbyServer/system
    System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/volume2/music' 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 MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
       at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService)
       at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
    Source: System.IO.FileSystem
    TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
    InnerException: System.IO.IOException: Permission denied
    Source: 
    TargetSite: 

Link to comment
Share on other sites

Happy2Play

Did you set System internal users on your shares?

example

surv.thumb.jpg.fc14781f642158bc62cf6de13ac6b1ec.jpg

  • Like 1
Link to comment
Share on other sites

Quote

Thanks, that seems to have fixed it.   Is it necessary to give read/write permission?  I prefer to only grant read permission.

 

Link to comment
Share on other sites

Happy2Play
1 minute ago, MarkGil said:

Thanks, that seems to have fixed it.   Is it necessary to give read/write permission?  I prefer to only grant read permission.

Not a Synology user but I would guess it depends on what Emby Library settings you use.

@cayars

Link to comment
Share on other sites

I believe you can just use Read but then you can't write NFO files or store images with media.  So if you make any meta-data changes, re-identify  bad matched move/show or anything like that you would loose those changes if you ever had to reload a library.

Saving the NFO and having all the graphics stored with the media can make a library reload much faster.

Choice is yours of course.

  • Like 1
Link to comment
Share on other sites

Based on default settings, granting read-only permissions is fine. As the others have said, it just depends on what features you enable in the server.

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