Jellyfin Forum
"Playback failed due to a fatal player error" for external drive - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: "Playback failed due to a fatal player error" for external drive (/t-playback-failed-due-to-a-fatal-player-error-for-external-drive)



"Playback failed due to a fatal player error" for external drive - help_me_please - 2024-12-27

Hello, Jellyfin troubleshooting forum and thanks in advance.

I'm running Ubuntu 20.04.1 LTS and just set it up for Jellyfin recently after moving from Plex. I have all my video files on an external HDD and was having trouble getting Jellyfin to recognize that the path to the drive was legitimate. Luckily, apparently this is a common problem and I found this reddit thread which solved my problem. I successfully watched one episode of a show. When I came back to watch some more later, I got the error in the title. This happens for every show.

I figured this could have something to do with the external HDD, so I took one of my shows out of the external HDD and put it in the documents folder on my main HDD. Sure enough, the videos played. However, even with this info, I can't find anyone who's had the same problem. I'm not too familiar with Ubuntu or Linux in general so I can get logs if needed if you tell me how to get them.

Thanks.


RE: "Playback failed due to a fatal player error" for external drive - TheDreadPirate - 2024-12-27

99% certain this is due to how udisk2 mounts external hard drives.

Your options are to manually mount the hard drive so that the ACL is not applied or to remove the ACL.

I wrote a guide in the walkthrough sub-forum for this process and a basic Linux permissions primer.

https://forum.jellyfin.org/t-mounting-local-storage-in-linux-linux-permissions-primer


RE: "Playback failed due to a fatal player error" for external drive - help_me_please - 2024-12-28

(Yesterday, 08:53 PM)TheDreadPirate Wrote: 99% certain this is due to how udisk2 mounts external hard drives.

Your options are to manually mount the hard drive so that the ACL is not applied or to remove the ACL.

I wrote a guide in the walkthrough sub-forum for this process and a basic Linux permissions primer.

https://forum.jellyfin.org/t-mounting-local-storage-in-linux-linux-permissions-primer

This is a great writeup and I appreciate it. I mounted my drive to a folder in media (/media/easy in my case) and unmounting and remounting via the fstab file does work. However, still no luck on Jellyfin. I'm trying to change the owner of the external drive to the jellyfin group since the jellyfin user is a member of that group. I use the following commands while in /media/easy:

sudo chown -R root:jellyfin /media/easy
sudo chown -R :jellyfin /media/easy

I also tried both of these while in /media. But when I run an ls -l command, it still shows root and the owner user and group. What am I doing wrong here?


RE: "Playback failed due to a fatal player error" for external drive - TheDreadPirate - 2024-12-28

Can you share the output of "ls -l /media"? Do you see a "+" at the end of the permissions on /media/easy?

It would look like this.

Code:
rwxr-xr-x+



RE: "Playback failed due to a fatal player error" for external drive - help_me_please - 2024-12-28

I see a + at the end of my user folder, but not the easy folder.

Code:
total 12
drwxrwxrwx+ 2 media media 4096 Dec 26 18:48 andrew
drwxrwxrwx 1 root root 8192 Dec 27 18:02 easy



RE: "Playback failed due to a fatal player error" for external drive - TheDreadPirate - 2024-12-28

Code:
sudo chown -R jellyfin: /media/easy
sudo chmod -R 755 /media/easy



RE: "Playback failed due to a fatal player error" for external drive - help_me_please - 2024-12-28

Ok, ran both of those and restarted and still no luck. If it helps, running ls -l /media gives the exact same output as before.