Jellyfin Forum
SOLVED: Shows folder not being indexed - 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: Shows folder not being indexed (/t-solved-shows-folder-not-being-indexed)

Pages: 1 2


Shows folder not being indexed - Payrok - 2024-01-25

I have created a new Jellyfin server and love it so far for my movies and pictures. That said, I've created a 'Shows' media folder to house my tv shows. I backed up my Band of Brothers series and moved it to the folder referenced by Shows. 

The naming is as follows:
'Shows' references the folder /media/tv
/media/tv/'Band of Brothers'/'Season 01'/Currahee S01E01.mkv

I'm running the latest Jellyfin image in docker with the volumes set correctly (Movies and Pictures in the media folder work fine)
No matter what I do I cannot get the Series to show in the 'Shows' folder. I'm hoping I'm not missing anything silly.  I have read Shows | Jellyfin and combed these forums.

Does someone know what I'm doing wrong?


RE: Shows folder not being indexed - TheDreadPirate - 2024-01-25

Double check the file folder permissions. Check for ACLs. You will see a + at the end of the permissions like

Code:
rwxr-xr-x+

If you have them on a directory you can remove with

Code:
sudo setfacl -b /path/to/folder

Add a -R if you want to ensure nothing under that folder has an ACL.


RE: Shows folder not being indexed - Payrok - 2024-01-25

(2024-01-25, 01:30 AM)TheDreadPirate Wrote: Double check the file folder permissions.  Check for ACLs.  You will see a + at the end of the permissions like

Code:
rwxr-xr-x+

If you have them on a directory you can remove with

Code:
sudo setfacl -b /path/to/folder

Add a -R if you want to ensure nothing under that folder has an ACL.

I didn't see any "bad" permissions

Directories all have: drwxrwxr-- root root

The file permissions are like this:

-rwxrwxr-x 1 root root 2562252818 Jan 20 09:33 'Bastogne S01E06.mkv'*
-rwxrwxr-x 1 root root 3060847514 Jan 20 09:33 'Carentan S01E03.mkv'*
-rwxrwxr-x 1 root root 2479809899 Jan 20 09:33 'Crossroads S01E05.mkv'*
-rwxrwxr-x 1 root root 2838329105 Jan 20 09:33 'Currahee S01E01.mkv'*
-rwxrwxr-x 1 root root 2602003746 Jan 20 09:33 'Day of Days S01E02.mkv'*
-rwxrwxr-x 1 root root 2530823786 Jan 20 09:32 'Points S01E10.mkv'*
-rwxrwxr-x 1 root root 2368960859 Jan 20 09:32 'Replacements S01E04.mkv'*
-rwxrwxr-x 1 root root 5117836934 Jan 20 09:33 'The Breaking Point S01E07.mkv'*
-rwxrwxr-x 1 root root 2481354296 Jan 20 09:33 'The Last Patrol S01E08.mkv'*
-rwxrwxr-x 1 root root 2505659571 Jan 20 09:33 'Why We Fight S01E09.mkv'*

This is an smb mount from my actual NAS. The whole setup looks like this:

jellysrv1 == Ubuntu 22.04
nassrv1 == Debian Trixie

nassrv1 has smb share 'TV' that lives on a RAID0

jellysrv1 mounts TV to /mnt/media/tv via fstab on boot

docker image is run from  ~/docker/jellyfin of my user on jellysrv1

Directory structure of the jellyfin folder looks like this:
~/docker/jellyfin has

drwxrwxr-x 6 user1 user1 4096 Jan 24 13:15 cache/
drwxrwxr-x 9 user1 user1 4096 Jan 18 01:15 config/
-rw-rw-r-- 1 user1 user1 634 Jan 18 01:10 docker-compose.yml
lrwxrwxrwx 1 user1 user1 10 Jan 18 01:06 media -> /mnt/media/

I promise to tackle a bug if we get through this Grinning-face


RE: Shows folder not being indexed - TheDreadPirate - 2024-01-25

(2024-01-25, 03:03 AM)Payrok Wrote: Directories all have: drwxrwxr-- root root

Is this a typo or do your directories not have X for "other" users?


RE: Shows folder not being indexed - Payrok - 2024-01-25

Yes, typo. drwxrwxr-x


RE: Shows folder not being indexed - TheDreadPirate - 2024-01-25

What are the mount parameters for /mnt/media/tv in /etc/fstab?


RE: Shows folder not being indexed - Payrok - 2024-01-25

//192.168.0.241/tv /mnt/media/tv cifs credsFile,file_mode=0775,dir_mode=0775,rw,noperm,iocharset=utf8


RE: Shows folder not being indexed - Payrok - 2024-01-25

Edit: That's not going to work, nevermind. Slightly-frowning-face

"Going to try changing my softlink to a hardlink and see if that does anything.


RE: Shows folder not being indexed - Payrok - 2024-01-25

Son of a gun. I just stopped the container and restarted it and now it indexes.

To sum up:

Jellyfin was running A-OK
Mounted a new share for the Jellyfin server
Added the folder from the new share
Added Shows with the correct directory structure.
Nothing indexed until the docker container was restarted.

Can you reproduce that @TheDreadPirate?


RE: Shows folder not being indexed - TheDreadPirate - 2024-01-25

My main setup runs Jellyfin bare metal.

I will try with my docker test setup when I get home later tonight, but I don't have an apples-to-apples setup for a cifs share.