moneycwq 2 Posted September 18, 2025 Posted September 18, 2025 I am currently using a Debian variant system to install the emby version. I have given the necessary permissions to the directory permissions as described in the community posts. Now I find that many MKV media cannot be played. The emby player on the mobile phone or computer displays "Currently no compatible stream", while the same media files play normally on the emby on the Windows server side. I have just switched from Windows Server to Debian on Linux and don't know how to solve this problem? My ID is moneycwq@126.com, and I am a lifetime member of emby. Currently, the debian is running on a virtual machine under esxi7.03, with 12cpu and 24g memory. Could you please ask emby technical staff to answer this question? Thank you! My English is not very good, and I am currently using Google Translate. I don't know if there are any errors in the translation.
Luke 42077 Posted September 18, 2025 Posted September 18, 2025 Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!
moneycwq 2 Posted September 18, 2025 Author Posted September 18, 2025 I tried to play the following files ”Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB.mkv“ and ”Transformers.The.Last.Knight.2017.2160p.IMAX.UHD.Blu-ray.REMUX.DoVi.HDR10.HEVC.Atmos.TrueHD.7.1-HDH.mkv“ and the error "No compatible streams are currently available" appeared. The latest log file is attached. I logged in using the account name emby, which is my system administrator account. I sent this log file at 9:55 AM Pacific Time on September 18th.thank you! emby_android_1758214292539(1).txt
moneycwq 2 Posted September 18, 2025 Author Posted September 18, 2025 Reminder: the same file, in the same esxi7.03 virtual windows server2019 emby server, the same Android phone emby plays these two files normally
Luke 42077 Posted September 18, 2025 Posted September 18, 2025 Hi, please attach the emby server log as well. That is just the android app log. Thanks.
moneycwq 2 Posted September 18, 2025 Author Posted September 18, 2025 emby server embyserver.txt ffmpeg-transcode-15e1e0ed-f9c1-4970-92d0-279426403385_1.txt
Happy2Play 9780 Posted September 18, 2025 Posted September 18, 2025 Emby has not probed this content so it has no idea how to play it as there is no media info. Quote {"Protocol":"File","Id":"316a7c71fa7213ee2a4964e221944405","Path":"/vol5/1000/Cinema/Movie/科幻/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB.mkv","Type":"Default","Container":"mkv","Size":0,"Name":"超人","IsRemote":false,"HasMixedProtocols":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{},"AddApiKeyToDirectStreamUrl":false,"ReadAtNativeFramerate":false,"ItemId":"34384"} As your server log suggest a permissions issue. 2025-09-19 00:44:19.524 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -i file:"/vol5/1000/Cinema/Movie/科幻/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data 2025-09-19 00:44:19.560 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded 2025-09-19 00:44:19.562 Error App: Error in ffprobe *** Error Report *** Version: 4.8.11.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.12.18-trim (root@MiuMiuPC) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #5 SMP PREEMPT_DYNAMIC Thu Mar 27 10 Framework: .NET 6.0.36 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 10 Data path: /var/lib/emby Application path: /opt/emby-server/system Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: ffprobe failed - streams and format are both null: -i file:"/vol5/1000/Cinema/Movie/科幻/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data ffprobe version 5.1-emby_2023_06_25 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC built with gcc 10.3.0 (crosstool-NG 1.25.0) file:/vol5/1000/Cinema/Movie/科幻/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB.mkv: Permission denied { } at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, String userAgent, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean hasMixedProtocols, CancellationToken cancellationToken) at Emby.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](MetadataResult`1 metadataResult, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken) at Emby.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, MetadataResult`1 itemResult, String logName, MetadataRefreshOptions options, LibraryOptions libraryOptions, RefreshResult refreshResult, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext() Quote file:/vol5/1000/Cinema/Movie/科幻/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB.mkv: Permission denied 1
moneycwq 2 Posted September 19, 2025 Author Posted September 19, 2025 How can I resolve this issue? If it's a permissions issue, why can media files in other directories within the same parent directory play normally? I have a science fiction directory with many media movies in subdirectories, and I'm finding that not all of them can't play, but some can and some can't.
Luke 42077 Posted September 19, 2025 Posted September 19, 2025 The files may have different permissions. Have you checked that?
moneycwq 2 Posted September 20, 2025 Author Posted September 20, 2025 I checked the permissions according to this post and found that they appear to be fine. See the screenshots I attached. The Superman file that's having playback issues also has no issues. Furthermore, within the same directory, some files play fine, while others don't. Why is this? And if it's a permissions issue, why do some files play fine while others don't, even though I've given permissions to the entire directory?
Neminem 1518 Posted September 20, 2025 Posted September 20, 2025 I have noticed from your screen shot. That owner and user is qbittorrent. Are they really done downloading ? Since size 0 On 9/18/2025 at 7:53 PM, Happy2Play said: {"Protocol":"File","Id":"316a7c71fa7213ee2a4964e221944405","Path":"/vol5/1000/Cinema/Movie/科幻/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB/Superman.2025.2160p.iTunes.WEB-DL.DDP.5.1.Atmos.H.265-CHDWEB.mkv","Type":"Default","Container":"mkv","Size":0,"Name":"超人","IsRemote":false,"HasMixedProtocols":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{},"AddApiKeyToDirectStreamUrl":false,"ReadAtNativeFramerate":false,"ItemId":"34384"} Its never good practice to use your download folder as a media folder.
moneycwq 2 Posted September 20, 2025 Author Posted September 20, 2025 I am very sure that the download is complete. I use qb to automatically download to each media folder. If I set it separately, I will need to manually select which folder to put it in after the download is complete. qb uses a temporary folder to store media files during the download process. Only after the download is complete will the official files be transferred to the media folder I specified. So once you see it in the media folder, it means that qb has confirmed that the download is complete
TMCsw 247 Posted September 20, 2025 Posted September 20, 2025 Is 'emby' a member of the group 'qBittorrent'? If not, it cannot read these files... So add emby to the group sudo adduser emby qBittorrent 1
moneycwq 2 Posted September 21, 2025 Author Posted September 21, 2025 (edited) Thank you very much, the problem is solved and it can be played normally. It turned out to be a permission issue. Linux is indeed not as user-friendly and simple as Windows in this regard. One more thing to add: the video that was not playable before can now be played, but it is very strange that if you click to play directly, it will be stuck at the very beginning and will not start. It will still be stuck after waiting for a long time. You need to manually pull the progress bar a little bit, and then it can start playing normally. I don’t know why Edited September 21, 2025 by moneycwq
visproduction 315 Posted September 21, 2025 Posted September 21, 2025 Wild guess... Perhaps the player needs an update and Linux attempts, but cannot do so unless you are sudo or admin login. So everytime you play a video with whatever codec, the update is attempted. Watch for activity on the Linux side. Try updating everything when logged in sudo.
moneycwq 2 Posted September 21, 2025 Author Posted September 21, 2025 How do I update it? What command do I use? Sorry, I'm not familiar with debian.
moneycwq 2 Posted September 21, 2025 Author Posted September 21, 2025 (edited) 到目前为止,我发现有些媒体仍然无法播放,只是不停地旋转,没有图像。同样的媒体以前在 Windows Server 2019 上安装时可以正常播放,我不用担心;它会自动修复。现在,在 Debian 下,它经常播放失败,我不明白为什么。是不是又一个权限问题?感觉 Liux 不是一个正常的操作系统,但我别无选择,只能使用它。在 Windows 下,播放不正常。 embyserver.txt Edited September 21, 2025 by moneycwq
Happy2Play 9780 Posted September 21, 2025 Posted September 21, 2025 11 minutes ago, moneycwq said: So far, I've found that some media still doesn't play, just keeps spinning, no image. The same media used to play fine when installed on Windows Server 2019, so I don't have to worry; It will fix automatically. Now, under Debian, it often fails to play, and I don't understand why. Is it another permission issue? It feels like Liux is not a normal operating system, but I have no choice but to use it. Under Windows, playback is not working properly. embyserver.txt 293.32 kB · 0 downloads What did you try to play? You still have permissions issues. Line 1664: System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/vol5/1000/Cinema/Movie/喜剧/Miss.Congeniality.2000.2005.Double.Feature.1080p.Blu-ray.VC1.DTS-HD.MA.5.1-DiY@KBu/BDMV/CLIPINF/00068.clpi' is denied. Line 2203: System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/vol5/1000/Cinema/Movie/喜剧/Ella.Enchanted.2004.1080p.BluRay.x264.DTS-ADE/Ella.Enchanted.2004.1080p.BluRay.x264.DTS-ADE.mkv' is denied. Something wrong with this setup as your external connections are failing to providers (Timed out). Also SSL errors. 2025-09-22 01:45:50.247 Error Server: Error processing request *** Error Report *** Version: 4.8.11.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.12.18-trim (root@MiuMiuPC) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #5 SMP PREEMPT_DYNAMIC Thu Mar 27 10 Framework: .NET 6.0.36 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 10 Data path: /var/lib/emby Application path: /opt/emby-server/system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: The SSL connection could not be established, see inner exception. ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException (104): Connection reset by peer --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize) at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) --- End of inner exception stack trace --- at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at Emby.Providers.Manager.ProviderManager.SaveImageFromRemoteUrl(BaseItem item, LibraryOptions libraryOptions, String url, ImageType type, Nullable`1 imageIndex, Int64[] generatedFromItemIds, IDirectoryService directoryService, Boolean updateImageCache, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.LibraryManager.ConvertImageToLocal(BaseItem item, ItemImageInfo image, Int32 imageIndex, CancellationToken cancellationToken) at Emby.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options, CancellationToken cancellationToken) at Emby.Api.Images.ImageService.GetImage(ImageRequest request, Int64 itemId, BaseItem item, Boolean isHeadRequest) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) 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: Emby.Server.Implementations TargetSite: Void MoveNext() InnerException: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. Source: System.Net.Http TargetSite: Void MoveNext() at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) InnerException: System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. Source: System.Net.Sockets TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize) at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) InnerException: System.Net.Sockets.SocketException: Connection reset by peer Source: TargetSite:
moneycwq 2 Posted September 21, 2025 Author Posted September 21, 2025 I didn't do anything, just followed the advice in the post and used: chown emby:emby /vol3/1000/C sudo setfacl -mu:emby:rwx /embyfolder sudo setfacl -R -mu:emby:rwx /embyfolder sudo setfacl -R -d -mu:emby:rwx /embyfolder And the method you taught me: sudo adduser emby qBittorrent In the system, I clicked on the media folder, selected permissions, and gave full read and write permissions to every user and all available applications. I'm really worried. Last time it was a science fiction directory, and this time it's a comedy directory. And in the same directory, some files play, but some don't. Does Debian require permissions for every file? Or is there any other solution?
moneycwq 2 Posted September 21, 2025 Author Posted September 21, 2025 (edited) 外部供应商?网址是什么?SSL?I seem to be able to access the media server through https, why does it say there is a problem with ssl? I was unable to access it through ssl after the nas was restarted before, and could only access it through http. After accessing it through http, I directly restarted emby in the management interface, and then I could access it through https. Until now, I can still access https through ssl. Edited September 21, 2025 by moneycwq
Luke 42077 Posted September 21, 2025 Posted September 21, 2025 I would just focus on the permissions problem for now.
Luke 42077 Posted September 21, 2025 Posted September 21, 2025 Quote Does Debian require permissions for every file? Or is there any other solution? Did you set the permissions recursively? Files could be overriding what you set at a higher folder.
moneycwq 2 Posted September 21, 2025 Author Posted September 21, 2025 2 minutes ago, Luke said: 您是否递归设置了权限?文件可能会覆盖您在上级文件夹中设置的权限。 I'm really new to Debian and don't know how to set permissions. The permissions I've given so far are fragmented and come from replies from people in the thread and from the emby technicians. I'd appreciate a consistent command line, thanks! I'm not sure what you mean by recursion. I simply went to Debian > File Management > Folders > Permissions and gave all users and groups read and write permissions. Then I typed the commands I posted above, which I typed based on the instructions in the thread. I don't really understand these commands; I'm just imitating them.
moneycwq 2 Posted September 21, 2025 Author Posted September 21, 2025 (edited) If possible, could you please grant this permission to the system and list some commands for me to type in so I can imitate it? I mainly have 4 directories: 1. /vol5/1000/Cinema; 2. /vol3/1000/Backup/system/EMBY; 3. /vol5/1000/A 4. /vol3/1000/C Edited September 21, 2025 by moneycwq
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