2024-05-14, 03:19 PM
(This post was last modified: 2024-05-14, 03:24 PM by Efficient_Good_5784. Edited 2 times in total.)
(2024-05-14, 02:58 PM)playserver Wrote: Edit: Permissions for the folder are set to root. I am however using the following composefrom linuxserverThat's your problem. The folder is owned by root, but you set your Jellyfin instance to be under user 1000 and group 1000, which doesn't have access to the folder.
Code:services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin-ls
environment:
- DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- JELLYFIN_PublishedServerUrl=192.168.0.5 #optional
volumes:
- /home/nas/jellyfin-ls/config:/config
- /media/ntfs2/jellyfin/Serien:/data/tvshows
- /media/ntfs3/jellyfin/Serien:/data/tvshows1
- /media/ntfs2/jellyfin/Anime/Serien:/data/tvshowsa
- /media/ntfs3/jellyfin/Anime/Serien:/data/tvshowsa1
- /media/ntfs2/jellyfin/Filme:/data/movies
- /media/ntfs3/jellyfin/Filme:/data/movies1
- /media/ntfs2/jellyfin/Anime/Filme:/data/moviesa
- /media/ntfs3/jellyfin/Anime/Filme:/data/moviesa1
- /media/ntfs2/jellyfin/Musik:/data/music
- /media/ntfs3/jellyfin/Musik:/data/music1
network_mode: 'host'
restart: unless-stopped
devices:
- /dev/dri:/dev/dri
Either add user & group 1000 to own/have access to the folder, or run your Jellyfin as the root user.
Root is always set as 0. Change PUID & PGID to 0, or just delete both to have Jellyfin run as root.