Jellyfin Forum
SOLVED: Adding 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)
+--- Thread: SOLVED: Adding media (/t-solved-adding-media)



Adding media - mnju - 2024-02-07

I just recently changed from Windows to Ubuntu. I am like the blind leading the blind. So fyi, I am on the struggle bus with this stuff...


I am running Ubuntu 22.04.3 LTS. Version: 10.8.13.

The entire drive is for media. It is mounted at /media/mnju/Media

When I click folders and type in that path I get, "The path could not be found. Please ensure the path is valid and try again."

I have read that the common issues are permissions. I am absolutely clueless here. I have tried mimicking things I have read as solutions only to find more road blocks.

Please help and thank you in advance.


RE: Adding media - tmsrxzar - 2024-02-07

"/media/mnju/Media" this is the first issue, allowing ubuntu to mount the drive to a folder that is owned by your user instead of jellyfin

since jellyfin runs as it's own user it does not have permission to your files and should not be granted them

instead, use fstab to mount it to a location owned by jellyfin, pretty much any unused path will do https://man7.org/linux/man-pages/man5/fstab.5.html
the classics are /mnt/(drvlabel), /media/(drvlabel) or /storage/(drvlabel)
you can even get inventive and make it /jellyfin

whatever you pick it has to be owned by jellyfin and the files on the drive needs to be owned by jellyfin



second problem, being that you're a native windows user i bet the drive is formatted NTFS, you may or may not need to do more things for that to work and it is not recommended as linux doesn't usually have a good time with windows partitions
f.e. you will likely be stuck moving the drive back to windows if it ever gets errors because then linux won't mount it until the errors are corrected



complete the first step of getting it mounted then work through any issues from there


RE: Adding media - mnju - 2024-02-10

(2024-02-07, 10:23 PM)tmsrxzar Wrote: "/media/mnju/Media" this is the first issue, allowing ubuntu to mount the drive to a folder that is owned by your user instead of jellyfin

since jellyfin runs as it's own user it does not have permission to your files and should not be granted them

instead, use fstab to mount it to a location owned by jellyfin, pretty much any unused path will do https://man7.org/linux/man-pages/man5/fstab.5.html
the classics are /mnt/(drvlabel), /media/(drvlabel) or /storage/(drvlabel)
you can even get inventive and make it /jellyfin

whatever you pick it has to be owned by jellyfin and the files on the drive needs to be owned by jellyfin



second problem, being that you're a native windows user i bet the drive is formatted NTFS, you may or may not need to do more things for that to work and it is not recommended as linux doesn't usually have a good time with windows partitions
f.e. you will likely be stuck moving the drive back to windows if it ever gets errors because then linux won't mount it until the errors are corrected



complete the first step of getting it mounted then work through any issues from there


That slightly made sense to me and I got a eureka moment. I changed mount path via disk gui then tried adding folders again and it worked. Now my next task is learning how to manage directories and their files because the indexing and functions seem wonky on the client side. Thank you so much!