Jellyfin Forum
(SOLVED)Library Scan Issue...?permissions issue? - 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)Library Scan Issue...?permissions issue? (/t-solved-library-scan-issue-permissions-issue)

Pages: 1 2 3 4


RE: Library Scan Issue...?permissions issue? - LinuxNoob - 2024-08-04

I just wiped my previous libraries from the dashboard and added back a single library for now with movies in the folder. When I select the folder under library creation, I can navigate all the way to that folder, confirm the selection, and close out of the window, but still haven't had any luck with it adding movies via "scan library".

Not sure what I did on the one, definitely didn't mean to add everything.

Thanks again for the responses. I like linux, but find it a bit frustrating since I'm not fully familiar with it yet.


RE: Library Scan Issue...?permissions issue? - TheDreadPirate - 2024-08-05

I re-read one of your previous posts. Do you just have all your videos directly in the "Jellyfin" folder? No sub folders for each show/movie?


RE: Library Scan Issue...?permissions issue? - LinuxNoob - 2024-08-05

I have the folders like this but the movies are just in one big folder. tv episodes are like this as well under each show folder

Jellyfin
->movies
--->movie (1985).mkv
--->movie (2010).mkv
->tv shows
--->show 1 (2005)
------>episode s01e01.mkv
--->show 2 (2010)
------>etc


RE: Library Scan Issue...?permissions issue? - TheDreadPirate - 2024-08-05

Do you have a separate shows and movies library? Or just one library that is pointed at the "Jellyfin" folder?

You SHOULD have two separate libraries, one for movies and one for shows, and that each library is pointed at the appropriate folder.

Your movies folder is 100% not going to work. Each movie needs to be in its own folder.

https://jellyfin.org/docs/general/server/media/movies/

Your shows folder is technically ok, but there should be season folders within the show folder.

https://jellyfin.org/docs/general/server/media/shows/


RE: Library Scan Issue...?permissions issue? - LinuxNoob - 2024-08-05

no the libraries are separate and pointed to that individual folder. i'll make those changes this evening when i get home and try again.

thanks again for the assist and i'll update back after this.


RE: Library Scan Issue...?permissions issue? - LinuxNoob - 2024-08-06

So I tried changing a couple of files and couldn't see any difference as of yet.

One other random question, when I set my drive up to mount, I didn't change the options and just used what it defaulted, but does this look correct for a storage drive mount. My OS is on a NVME apart from this.

nosuid,nodev,nofail,x-gvfs-show

Could the "nosuid" be the culprit for this?


RE: Library Scan Issue...?permissions issue? - TheDreadPirate - 2024-08-06

Is the storage drive directly attached to the jellyfin server? It sounds like it is. If so, "defaults" is the only option you need, really. Defaults would translate to "rw, relatime", but "nosuid" shouldn't cause this issue.

Also, what file system is this storage drive using?


RE: Library Scan Issue...?permissions issue? - LinuxNoob - 2024-08-07

you are correct OS is in a nvme and my media drive is a 10tb sata drive internal in ext4 format.

looking through the permissions again, all of the folders appear to have this under "ls -l"
drwxrwxrwx
the files within that list this
-rw-rw-rw-


RE: Library Scan Issue...?permissions issue? - TheDreadPirate - 2024-08-07

Try remounting the storage drive with "defaults" for the mount options.


RE: Library Scan Issue...?permissions issue? - tepsys - 2024-08-07

Hello LinuxNoob,


I am also running Jellyfin on a linux host.


On my system, I have my Movie and TV-Show libraries owned by root user and root group.
Directory permissions are set to 755.
File permissions are 644.


I find these are generally safe permissions settings to use, and they are working well for me.
You can easily set this ownership and permissions with a few commands. Make sure to edit these commands with the correct path to your video libraries!


This command recursively changes ownership to root user and group:
Code:
sudo chown -R root:root /path/to/your/Movies


This command recursively finds directories (notice the “-type d” flag!), and changes permissions to 755(rwxr-xr-x):
Code:
sudo find /path/to/your/Movies -type d -exec chmod 755 {} \;


This command recursively finds files (notice the “-type f” flag!), and changes permissions to 644(-rw-rw-r--):
Code:
sudo find /path/to/your/Movies -type f -exec chmod 644 {} \;


Makes sure to replace “/path/to/your/Movies” with the actual path! Then just repeat these commands with the path to your TV-Shows. If you have any questions, just ask. Smiling-face