chinswain 10 Posted October 31, 2022 Share Posted October 31, 2022 Hi, I've upgraded to DSM7 (DS918+) and Emby 4.7.8.0, since then I've been unable to play quite a few video files. It appears to be H265/HEVC that are failing, H264 plays fine. I've ran chown -R emby:emby /volume1/@appdata/EmbyServer and set emby to read/write in System internal user, but still showing permission denied in the FFmpeg log: 13:33:20.173 ffmpeg version 5.0.0-emby_2022_05_27-u1 Copyright (c) 2000-2022 the FFmpeg developers and softworkz for Emby LLC 13:33:20.173 built with gcc 8.3.0 (crosstool-NG 1.24.0) 13:33:20.174 Execution Date: 2022-10-31 13:33:20 13:33:20.224 /volume1/TV Shows/Test Show/Season 01/Show Title S01E01.mkv: Permission denied Link to comment Share on other sites More sharing options...
Luke 37061 Posted October 31, 2022 Share Posted October 31, 2022 Hi, it looks like the server is being denied access to the file. Have you taken a look at this? You may need to set the permissions recursively to ensure they are the same at each level. Link to comment Share on other sites More sharing options...
chinswain 10 Posted October 31, 2022 Author Share Posted October 31, 2022 Hi Luke, yes - I checked the Read/Write for the folder: How do I set the permissions recursively? Link to comment Share on other sites More sharing options...
Luke 37061 Posted October 31, 2022 Share Posted October 31, 2022 @FrostByte do you have any tips on that? Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted October 31, 2022 Share Posted October 31, 2022 Did you check the file/folder permissions? /volume1/TV Shows/Test Show/Season 01/Show Title S01E01.mkv Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted October 31, 2022 Share Posted October 31, 2022 Not shared folder, the system level file and folder permissions Link to comment Share on other sites More sharing options...
chinswain 10 Posted October 31, 2022 Author Share Posted October 31, 2022 (edited) I think this is what you mean? For the folder: root@DS918://volume1/TV Shows# ls -ld Test Show drwxrwx---+ 1 chinswain administrators 18 Oct 25 22:45 "Test Show/" For the mkv: root@DS918://volume1/TV Shows/Test Show/Season 01# ls -l "Test Show S01E01.mkv" -rw-r--r-- 1 chinswain administrators 2447052554 Oct 25 08:01 "Test Show S01E01.mkv" For the actual shared folder "TV Shows": root@DS918://volume1# ls -ld TV\ Shows/ d---------+ 1 root root 7406 Oct 30 20:37 'TV Shows/' Edited October 31, 2022 by chinswain Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted October 31, 2022 Share Posted October 31, 2022 I'm not much of a command line fan (I prefer WinSCP), but I believe the following will recursively add execute to users chmod -R o+x "TV Shows" or chmod -R 755 "TV Shows" This is what mine looks like though -rwxrwxrwx+ 1 admin users Link to comment Share on other sites More sharing options...
chinswain 10 Posted October 31, 2022 Author Share Posted October 31, 2022 (edited) The second one gives this: root@DS918:/volume1# ls -ld TV\ Shows drwxr-xr-x 1 root root 7406 Oct 30 20:37 'TV Shows' Which has removed the permission error - however I'm still getting "No compatible streams are currently available. Please try again later or contact your system administrator for details." The only related error in embyserver.txt is: *** Error Report *** Version: 4.7.8.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-synology7_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 4.4.180+ (root@build3) (gcc version 8.5.0 (GCC) ) #42661 SMP Mon Jun 27 15:05:48 CST 2022 Framework: .NET 6.0.8 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.Exception: System.Exception: Error starting ffmpeg at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationToken cancellationToken, Boolean acquireResources) at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.GetDynamicSegment(StreamRequest request, String manifestAbsoluteUri, String playlistId, String segmentId, Int32 subtitleStreamIndex, AuthorizationInfo authorizationInfo) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost 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: Emby.Server.MediaEncoding TargetSite: Void MoveNext() I've attached the full ffmpeg log: ffmpeg-remux-5844b121-3e60-4303-904b-89754096fb5f_1.txt Edited October 31, 2022 by chinswain 1 Link to comment Share on other sites More sharing options...
Luke 37061 Posted October 31, 2022 Share Posted October 31, 2022 1 hour ago, chinswain said: The second one gives this: root@DS918:/volume1# ls -ld TV\ Shows drwxr-xr-x 1 root root 7406 Oct 30 20:37 'TV Shows' Which has removed the permission error - however I'm still getting "No compatible streams are currently available. Please try again later or contact your system administrator for details." The only related error in embyserver.txt is: *** Error Report *** Version: 4.7.8.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-synology7_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 4.4.180+ (root@build3) (gcc version 8.5.0 (GCC) ) #42661 SMP Mon Jun 27 15:05:48 CST 2022 Framework: .NET 6.0.8 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.Exception: System.Exception: Error starting ffmpeg at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationToken cancellationToken, Boolean acquireResources) at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.GetDynamicSegment(StreamRequest request, String manifestAbsoluteUri, String playlistId, String segmentId, Int32 subtitleStreamIndex, AuthorizationInfo authorizationInfo) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost 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: Emby.Server.MediaEncoding TargetSite: Void MoveNext() I've attached the full ffmpeg log: ffmpeg-remux-5844b121-3e60-4303-904b-89754096fb5f_1.txt 18.45 kB · 0 downloads HI, please attach the main emby server log as well. Thanks. Link to comment Share on other sites More sharing options...
Solution chinswain 10 Posted November 1, 2022 Author Solution Share Posted November 1, 2022 Hi Luke, I've restarted Emby after making the folder permission changes it is now working! 1 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