Jump to content

Mint: No compatible streams are currently available


Recommended Posts

EriksUsername
Posted

Hi, I recently migrated from Windows to Linux Mint (Mate) and I'm having recurrent problems with streaming files on client devices. One day things are working fine and the next I'm getting the error message "No compatible streams are currently available. Please try again later or contact your system administrator for details."

I've attached two server log files, I'd greatly appreciate it if you would be so kind as to point me in the right direction. My knowledge of Linux is limited but I can usually fix basic problems, except in this case.

Thanks!

ffmpeg-transcode-b807f23e-f7a8-4aea-aa8f-1ce30058b79b_1.txt embyserver.txt

GrimReaper
Posted (edited)

Your server log is flooded with path not found errors:

Quote
System.IO.DirectoryNotFoundException: Could not find a part of the path '/media/erik/New Volume1/Movies 2/Time Of Death (2025) 720p WEBRip-LAMA/Time.Of.Death.2025.720p.WEBRip.x264.AAC-LAMA.mp4'
Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Error starting ffmpeg
	-loglevel +timing -y -print_graphs_file "/var/lib/emby/logs/ffmpeg-directstream-947b5015-f25d-431d-a8b9-fc8a1486fcf4_1graph.txt" -copyts -start_at_zero -f mp4 -ss 00:03:24.000 -noaccurate_seek -c:v:0 h264 -noautorotate -i "/media/erik/New Volume1/Movies 2/Time Of Death (2025) 720p WEBRip-LAMA/Time.Of.Death.2025.720p.WEBRip.x264.AAC-LAMA.mp4" -map 0:0 -map 0:1 -sn -c:v:0 copy -bsf:v:0 h264_mp4toannexb -c:a:0 copy -disposition:a:0 default -copypriorss:a:0 0 -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/var/lib/emby/transcoding-temp/3D1FA6/3D1FA6.m3u8" -segment_list_type m3u8 -segment_time 00:00:06.000 -segment_time_delta -00:03:24.000 -segment_start_number 34 -break_non_keyframes 1 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/var/lib/emby/transcoding-temp/3D1FA6/3D1FA6_%d.ts"
	
	09:00:25.459 ffmpeg version 5.1-emby_2023_06_25_p4 Copyright (c) 2000-2022 the FFmpeg developers and softworkz for Emby LLC
	09:00:25.460   built with gcc 10.3.0 (crosstool-NG 1.25.0)
	09:00:25.460 Execution Date: 2026-06-19 09:00:25
	09:00:25.461 /media/erik/New Volume1/Movies 2/Time Of Death (2025) 720p WEBRip-LAMA/Time.Of.Death.2025.720p.WEBRip.x264.AAC-LAMA.mp4: No such file or directory

Same can be observed in ffmpeg log:

Quote
08:49:28.786 /media/erik/New Volume1/Movies 2/Time Of Death (2025) 720p WEBRip-LAMA/Time.Of.Death.2025.720p.WEBRip.x264.AAC-LAMA.mp4: No such file or directory
08:49:28.787 EXIT

Is your mount point getting disconnected? As if it were a permission issues you'd see access denied error entries, so it likely ain't. 

Edited by GrimReaper
EriksUsername
Posted (edited)

Hm, I do have both external hard drives mounted via a docking station. I'll check to see if connecting them directly solves the issue.

Edit: no luck, the problem persists. 

Edited by EriksUsername
EriksUsername
Posted

Update: after reconnecting the hard drives to the docking station and restarting, the problem seems to be solved again. Puzzling ...

EriksUsername
Posted

Update 2: I tried setting up the hard drives so they would mount at system startup, but that just changed the owner to root and didn't fix the 'no compatible streams' problem.

Normanos
Posted

@EriksUsernameAdd that harrdrive to fstab. Only put 0 0 at the end of line, otherwise Linux may won't start if unable to find that drives.

 Here is example from my fstab:

UUID=f5a06b86-6eac-4790-524-112345     /mnt/disk1       auto    nofail        0       0

For permissions here is a link, but go thru carefully. 

If root, may help 

chown -R emby:users /mnt/media

 

EriksUsername
Posted

Thank you Normanos, I'll try that and report back. I'm almost sure it's an HDD sleep issue, as it only occurs when my laptop has been running awhile. Shutting the PC off completely and then starting it up again solves the problem.

Posted
8 hours ago, EriksUsername said:

Thank you Normanos, I'll try that and report back. I'm almost sure it's an HDD sleep issue, as it only occurs when my laptop has been running awhile. Shutting the PC off completely and then starting it up again solves the problem.

Please let us know what you find. Thanks !

Normanos
Posted (edited)
11 hours ago, EriksUsername said:

Thank you Normanos, I'll try that and report back. I'm almost sure it's an HDD sleep issue, as it only occurs when my laptop has been running awhile. Shutting the PC off completely and then starting it up again solves the problem.

Forgot to mention, when You add something to /etc/fstab, first try command: "mount -a" and "df -" before restart. Just to test if it's mounting drive. If it fails, something is wrong system can fail to start. 

 

@EriksUsername If it's going to sleep, You can try to google it "linux shell prevent external harddrive from sleep". Never needed something like this, so don't want to try to suggest 

Edited by Normanos
Normanos
Posted

@EriksUsername Turns out, I using "stay awake". I using for backup pc. 

apt install sdparm

sdparm --clear=STANDBY /dev/sdX -S

I created bash script: /usr/local/bin/stay-awake-hdds.sh

#!/bin/bash

for i in {b..z} ; do echo $i; sdparm --clear=STANDBY /dev/sd$i -S; done

 Then I added to crontab (crontab -e):

@reboot /usr/local/bin/stay-awake-hdds.sh

 

 Hope this will help.

Sorry about two posts, was unable to edit again.

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