Jellyfin Forum
Jellyfin not recognizing media - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Jellyfin not recognizing media (/t-jellyfin-not-recognizing-media)



Jellyfin not recognizing media - vrryan6 - 2023-11-28

Hey all,

I have jellyfin server running in a home assistant (haos11) virtual machine on proxmox, I originally had it running in a separate LXC container instance but I have jellyfin server moved to the HAOS that I was already running to conserve hosting space. Ever since then I tried moving my movies and whatnot over but when I click “scan library” the progress bar comes up and goes away instantly and it never detects anything. Anyone experience this before or have any ideas on ways to fix this? I can provide screenshots and whatnot if needed.

Ryan
vrryan6.com


RE: Jellyfin not recognizing media - TheDreadPirate - 2023-11-28

Does Jellyfin have permissions to read the folder and files?


RE: Jellyfin not recognizing media - vrryan6 - 2023-11-28

Pretty sure it does, what command do i run to check? Im a bit of a linux noob when it comes to stuff like that


RE: Jellyfin not recognizing media - tmsrxzar - 2023-11-28

(2023-11-28, 07:18 PM)vrryan6 Wrote: Pretty sure it does, what command do i run to check? Im a bit of a linux noob when it comes to stuff like that

https://opensource.com/article/19/6/understanding-linux-permissions


RE: Jellyfin not recognizing media - vrryan6 - 2023-11-28

I've look at the passwd file in /etc and i see nothing referencing jellyfin, am I doing this wrong? Like I said linux isnt my strong suit and I know just enough to navigate but nothing else.


RE: Jellyfin not recognizing media - tmsrxzar - 2023-11-28

hmm not sure how anyone else is going to know if you dont ... *shrug*

under "normal" circumstances, jellyfin is ran as a specific user, that username is usually "jellyfin" if that username was added to your system to run jellyfin then it would be in the passwd file (where all users are)

if you did not setup "jellyfin" as a new user to run jellyfin then did you set one up, if so what is that username, if not what username does it run under

once you determine that, then you can check the permissions for the files jellyfin needs and make sure that whatever user that is running jellyfin also has access to those files


it would seem to indicate if none of that was done then that's why you're having issues


RE: Jellyfin not recognizing media - TheDreadPirate - 2023-11-28

Since this is a LXC container, it will depend on how you set up the container. If it is an unprivileged container, the user you run the container as will need permissions to the media folders.


RE: Jellyfin not recognizing media - vrryan6 - 2023-11-28

It's literally an Haos vm with jellyfin-server running as an add-on, I'll link both links.

Here's the template for setting up the haos vm I used: https://github.com/tteck/Proxmox/blob/main/vm/haos-vm.sh
And here is the repo for the home assistant jellyfin add-on: https://github.com/mdvorak/ha-addon-jellyfin
Wish there was more I could tell you guys but I'm a bit of a pinecone I guess at this.