Jellyfin Forum
Backdrop only rotating 2 images on homepage - 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: Backdrop only rotating 2 images on homepage (/t-backdrop-only-rotating-2-images-on-homepage)



Backdrop only rotating 2 images on homepage - 4star - 2024-10-06

Ubuntu 22.04.1
Jellyfin 10.9.11


I have an issue with my backdrop which is only rotating 2 images within the same library on my homepage. Navigating to different libraries rotates the backdrop and browsing individual series shows the respective backdrop for each series. I'm confused why it's only affecting the homepage. 

I just tried a quick reinstall of 10.9.11 by purging jellyfin and it's default paths for cache etc and recreated my media libraries but the same issue is occuring with the same 2 shows.


I see this in the logs but backdrops are working for the most part so it seems kind of redundant 
[2024-10-06 01:51:27.232 +01:00] [ERR] UnauthorizedAccessException - Access to path "/media/jcitx/hdd01/animated series/South Park/season13-poster.jpg" is denied. Will retry saving to "/var/lib/jellyfin/metadata/library/ba/bacf06438242985b91d69b504131e253/poster.jpg"

my media path /media/jcitx/hdd01/animated series

i've got it set so the mount point hdd01 and media folder animated series are set to 777
I do not use NFO files 
Settings > Display > Backdrop is applied 
I do not currently have any Jellyskin applied 

Thanks in advance


RE: Backdrop only rotating 2 images on homepage - TheDreadPirate - 2024-10-06

You've allowed your OS to auto-mount the drive and it is protected by an ACL (access control list) and that is preventing Jellyfin from reading anything.

I recommend you follow my guide to properly mount the hard drive.

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


RE: Backdrop only rotating 2 images on homepage - 4star - 2024-10-06

(2024-10-06, 04:32 PM)TheDreadPirate Wrote: You've allowed your OS to auto-mount the drive and it is protected by an ACL (access control list) and that is preventing Jellyfin from reading anything.

I recommend you follow my guide to properly mount the hard drive.

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


This is how I setup my fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=f8790cb1-8886-419e-98cd-1c209d0c18c1 /              ext4    errors=remount-ro 0      1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=35D6-F012  /boot/efi      vfat    umask=0077      0      1
/swapfile                                none            swap    sw              0      0

UUID=8e912da4-d767-4c10-989d-d16c59c6f78d  /media/jcitx/hdd01  ext4    defaults 0 0
UUID=6871d982-c4bc-4bf4-a47c-965a3f00da47  /media/jcitx/hdd02 ext4 defaults 0 0
UUID=667f3005-a874-4e78-b86f-e855feac675b  /media/jcitx/ssd01 ext4 defaults 0 0
jcitx@jcitx:~$ 

As I understand things, chmod does not affect newly created files/directories (highlighted green). I edited my OP but I mentioned whether I needed to create an ACL so that new files/directories would inherit the permissions of the parent folder. In my examples you can see new libraries I create at the mount points and new shows I add in their libraries have to be manually updated.

If I need to do a setfacl, where should I do it?

ls -l, ls -ld of mounted points

jcitx@jcitx:~$ cd /media/jcitx
jcitx@jcitx: /media/jcitx$ ls -ld
drwxr-xr-x 5 root root 4096 Sep 30 13:05 .
jcitx@jcitx: /media/jcitx$ ls -l
total 12
drwxrwxrwx 9 jcitx jellyfin 4096 Oct  6 22:14 hdd01
drwxrwxrwx 9 jcitx jellyfin 4096 Oct  2 03:04 hdd02
drwxrwxrwx 8 jcitx jellyfin 4096 Oct  6 22:27 ssd01
jcitx@jcitx: /media/jcitx$ cd hdd01
jcitx@jcitx: /media/jcitx/hdd01$ ls -ld
drwxrwxrwx 9 jcitx jellyfin 4096 Oct  6 22:14 .
jcitx@jcitx: /media/jcitx/hdd01$ ls -l
total 24
drwxrwxrwx  2 jcitx jellyfin 4096 Sep 27 20:43 'animated movies'
drwxrwxrwx  6 jcitx jellyfin 4096 Oct  4 23:31 'animated series'
drwxrwxrwx 22 jcitx jellyfin 4096 Oct  6 02:46  anime
drwxrwxrwx  2 jcitx jellyfin 4096 Sep 27 20:43  movies
drwxr-xr-x  2 jcitx jcitx    4096 Oct  6 22:14  new
drwxrwxrwx  3 jcitx jellyfin 4096 Sep 29 22:09 'tv shows'
jcitx@jcitx: /media/jcitx/hdd01$ cd ..
jcitx@jcitx: /media/jcitx$ cd hdd02
jcitx@jcitx: /media/jcitx/hdd02$ ls -ld
drwxrwxrwx 9 jcitx jellyfin 4096 Oct  2 03:04 .
jcitx@jcitx: /media/jcitx/hdd02$ ls -l
total 24
drwxrwxrwx 2 jcitx jellyfin 4096 Sep 27 20:44 'animated movies'
drwxrwxrwx 2 jcitx jellyfin 4096 Sep 27 20:44 'animated series'
drwxrwxrwx 2 jcitx jellyfin 4096 Oct  2 03:39  anime
drwxrwxrwx 2 jcitx jellyfin 4096 Sep 27 20:44  movies
drwxrwxr-x 4 jcitx jcitx    4096 Oct  6 18:00  temp
drwxrwxrwx 2 jcitx jellyfin 4096 Sep 27 20:44 'tv shows'
jcitx@jcitx: /media/jcitx/hdd02$ cd ..
jcitx@jcitx: /media/jcitx$ cd ssd01
jcitx@jcitx: /media/jcitx/ssd01$ ls -ld
drwxrwxrwx 8 jcitx jellyfin 4096 Oct  6 22:27 .
jcitx@jcitx: /media/jcitx/ssd01$ ls -l
total 24
drwxrwxrwx 2 jcitx jellyfin 4096 Sep 30 15:17 'animated movies'
drwxrwxrwx 2 jcitx jellyfin 4096 Sep 30 15:17 'animated series'
drwxrwxrwx 2 jcitx jellyfin 4096 Sep 30 15:17  anime
drwxrwxrwx 2 jcitx jellyfin 4096 Sep 30 15:17  movies
drwxr-xr-x 2 jcitx jcitx    4096 Oct  6 22:27  new
drwxrwxrwx 2 jcitx jellyfin 4096 Sep 30 15:17 'tv shows'

-----------------------------------------------------------------------------------------------------------------------------------------
ls -l, ls -ld, getfacl for directory in logfile
[2024-10-06 01:51:27.232 +01:00] [ERR] UnauthorizedAccessException - Access to path "/media/jcitx/hdd01/animated series/South Park/season13-poster.jpg" is denied. Will retry saving to "/var/lib/jellyfin/metadata/library/ba/bacf06438242985b91d69b504131e253/poster.jpg"


jcitx@jcitx: /media/jcitx$ cd hdd01
jcitx@jcitx: /media/jcitx/hdd01$ cd 'animated series'
jcitx@jcitx: /media/jcitx/hdd01/animated series$ ls -ld
drwxrwxrwx 6 jcitx jellyfin 4096 Oct  4 23:31 .
jcitx@jcitx: /media/jcitx/hdd01/animated series$ ls -l
total 16
drwxr-xr-x  4 jcitx jcitx 4096 Oct  4 23:31 'Afro Samurai'
drwxr-xr-x 12 jcitx jcitx 4096 Oct  4 21:08 'South Park'
drwxr-xr-x  2 jcitx jcitx 4096 Oct  4 19:45  Spawn
drwxr-xr-x  6 jcitx jcitx 4096 Oct  4 23:35 'The Boondocks'
jcitx@jcitx: /media/jcitx/hdd01/animated series$ getfacl /media/jcitx
getfacl: Removing leading '/' from absolute path names
# file: media/jcitx
# owner: root
# group: root
user::rwx
group::r-x
other::r-x
jcitx@jcitx: /media/jcitx/hdd01/animated series$ getfacl /media/jcitx/hdd01
getfacl: Removing leading '/' from absolute path names
# file: media/jcitx/hdd01
# owner: jcitx
# group: jellyfin
user::rwx
group::rwx
other::rwx
jcitx@jcitx: /media/jcitx/hdd01/animated series$ getfacl /media/jcitx/hdd01/'animated series'
getfacl: Removing leading '/' from absolute path names
# file: media/jcitx/hdd01/animated series
# owner: jcitx
# group: jellyfin
user::rwx
group::rwx
other::rwx
jcitx@jcitx: /media/jcitx/hdd01/animated series$ getfacl /media/jcitx/hdd01/'animated series'/'South Park'
getfacl: Removing leading '/' from absolute path names
# file: media/jcitx/hdd01/animated series/South Park
# owner: jcitx
# group: jcitx
user::rwx
group::r-x
other::r-x

-----------------------------------------------------------------------------------------------------------------------------------------

getfacl of mount points

jcitx@jcitx:~$ getfacl /media/jcitx
getfacl: Removing leading '/' from absolute path names
# file: media/jcitx
# owner: root
# group: root
user::rwx
group::r-x
other::r-x
jcitx@jcitx:~$ getfacl /media/jcitx/hdd01
getfacl: Removing leading '/' from absolute path names
# file: media/jcitx/hdd01
# owner: jcitx
# group: jellyfin
user::rwx
group::rwx
other::rwx
jcitx@jcitx:~$ getfacl /media/jcitx/hdd02
getfacl: Removing leading '/' from absolute path names
# file: media/jcitx/hdd02
# owner: jcitx
# group: jellyfin
user::rwx
group::rwx
other::rwx
jcitx@jcitx:~$ getfacl /media/jcitx/ssd01
getfacl: Removing leading '/' from absolute path names
# file: media/jcitx/ssd01
# owner: jcitx
# group: jellyfin
user::rwx
group::rwx
other::rwx


RE: Backdrop only rotating 2 images on homepage - TheDreadPirate - 2024-10-07

You really should move your library outside of /media/jcitx. The next time you plugin another hard drive or thumb drive it will apply an ACL to that directory.

If your output is accurate, this is no ACL. But I've seen other users with weirdly configured shells so I can't say for certain whether your shell is hiding anything.

Code:
sudo setfacl -b -R /media/jcitx

The error your are mention appears to be Jellyfin attempting to write images to your media directory. And from what you've showed, that would be accurate.

Code:
jcitx@jcitx: /media/jcitx/hdd01/animated series$ getfacl /media/jcitx/hdd01/'animated series'/'South Park'
getfacl: Removing leading '/' from absolute path names
# file: media/jcitx/hdd01/animated series/South Park
# owner: jcitx
# group: jcitx
user::rwx
group::r-x
other::r-x

The Jellyfin user does not have write permissions to the South Park directory. You need to change the group owner and the permissions.

Code:
sudo chgrp -R jellyfin /media/jcitx/hdd01/'animated series'/'South Park'
sudo find /media/jcitx/hdd01/'animated series'/'South Park' -type d -exec chmod g+w {} \;

You could go one step farther and ensure that is set everywhere.

Code:
sudo chgrp -R jellyfin /media/jcitx
sudo find /media/jcitx -type d -exec chmod g+w {} \;