Issue with user-config volumes and Jellyfin
Hello everyone,
I am tagging this post as App issue but I am not sure it's due to Tipi or the apps.
I have created a custom user-config for Jellyfin, which I just installed tonight, so that the /media/data would point to a folder on my host system : /mnt/hetzner.
This is done as this :
I am doing the same already with Immich for a long time with this :
But unfortunately, I am not able to browse any content to add from the library menu in Jellyfin. I had the same issue with Emby.
The browser is empty.
Now, I did connect to the container :
docker exec -it f452b3ff4492 /bin/bash
And did a ls on /media/data and I can see the content of my /mnt/hetzner folder :
So I'm suspecting something is wrong maybe with the app.
I don't see any error in runtipi error log.
I'm using as host a debian 12 ARM.
The container log doesn't display anything beside app is launched :
jellyfin | [20:29:42] [INF] [1] Main: Startup complete 0:00:10.0301836
Here is the debug log attached.
Thanks !9 Replies
Weird, if you can see it from the container it means the mounting went fine with the user-config
Maybe try with a different name than /media/data
Eg /hetzner?
Yep, I tried as well, I can see the main folder /hetzner but can't list the content. I can see it in the docker shell. Weird.
Let me restart the whole server
Note : the host /mnt/hetzner is mounted via a webdav2fs in the fstab. Maybe a limitation there
Okay then it’s probably a permission issue on your mounted folder
It’s often the case that these apps run as a non-root user inside (eg: 1000:1000) and your mount could be refusing read access
That's a bit what I thought too.
What is weird is that for Immich it works flawlessly. And the file permissions (host level) are the same.
But, Jellyfin has a user set in the docker compose :
Default docker_compose :
PUID & PGID are set to 1000. I don't really know what it means
You can try with 0 and 0
As PUID / PGID
It's working !! 🙂
Merci beaucoup !
I will have to dig a bit still about these permissions. If I understand correctly, it means that it runs as root ?
I can't find any reference of PUID or PGID on the Immich compose file so now I don't understand why it's working there since the beginning 🤪
Maybe because immich runs as 0:0 by default
0:0 means root inside the container yes!