Jellyfin can't play movies added by Radarr without doing chmod every time. - 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: Jellyfin can't play movies added by Radarr without doing chmod every time. (/t-jellyfin-can-t-play-movies-added-by-radarr-without-doing-chmod-every-time) |
Jellyfin can't play movies added by Radarr without doing chmod every time. - Istria - 2023-07-19 Hi all, I am a Plex user that is trying to move to Jellyfin for some time now. But I just can get it to work right. Before (a year ago?) I had trouble with subtitles being out of sync and also the problem below. After giving up for a while, a couple weeks ago I decided to give it another go. My setup: - Proxmox Server - Openmediavault 6 running in a VM hosting all my media files. - Plex running in a LXC container on Ubuntu (install by root user). - Jellyfin running in a LXC container on Debian (using the install script with root user). - Radarr/Sonarr running in a LXC container on Ubuntu in a docker container with PUID=1001 and GUID=100 (running docker-compose up -d as root user). My workflow: Radarr manages the movie files. It moves the files automatically to the folder that Jellyfin has access to via NFS My problem: After Radarr moves the movie files to the directory that Jellyfin has access to via NFS, Jellyfin can find the movies, but cannot play them. I have to do a chmod command every time Radarr adds a new movie to be able to play it. Plex has access to that same directory, also via NFS, and it can see and play them just fine. The additional problem I have is that after doing the chmod command, I can't move or delete files manually anymore from my Windows laptop via SMB. Why PUID 1001 and GUID 100?: It is an old solution to a problem I had where Radarr was not able to move files created by qBittorrent. After some troubleshooting, I got it to work by running Radarr with these PUID and GUID. I have a feeling my problem with Jellyfin is related to this. My question: How could I make it so that Jellyfin can "simply" see and play back movies without having to to a chmod command after adding a new movie? Let me know if I can provide some additional info. And thanks in advance for any help. I'd really like to leave Plex behind. =) RE: Jellyfin can't play movies added by Radarr without doing chmod every time. - Istria - 2023-07-23 Just a small bump because it's been a couple days. In short, I wonder what I have to do with permissions so that all software works together nicely and can read/play files created by the other. So: - File downloaded by qBittorrent-nox. - File moved by Radarr - Discovered and played by Jellyfin. Without having to update permissions after every added file. Thanks in advance! RE: Jellyfin can't play movies added by Radarr without doing chmod every time. - TheDreadPirate - 2023-07-23 I haven't figured out how to get files to inherit folder permissions either. I just wrote a chown/chmod bash script with all my folder directories that I run when I rips discs. RE: Jellyfin can't play movies added by Radarr without doing chmod every time. - Istria - 2023-08-01 Thanks for your reply. The problem I also have with chown/chmod is that once I do it, my Windows machine loses permissions to write to that directory. I have the same problem with my Nextcloud instance. I need to do a chown/chmod to give Nextcloud access to the data folder. But then I can't copy files to it anymore via SMB from my Windows machine. I'm sure this is all simply a consequence of my lack of knowledge on how permissions and ownership works exactly. I've tried to watch some YouTube videos on this topic, but it still didn't help much unfortunately. The only workaround I found was in my NAS ACL settings, setting the "others" (as in non-admin and non-user) permissions to 'read and execute', instead of 'none' . But I feel this is compromising the security. RE: Jellyfin can't play movies added by Radarr without doing chmod every time. - TheDreadPirate - 2023-08-01 Here is what I would do. Create a new group. Add jellyfin, and any other app/user, you need access to these folders into this new group. Change the group ownership of the folders in question to this new group. RE: Jellyfin can't play movies added by Radarr without doing chmod every time. - Istria - 2023-08-03 Thanks. I was about to try your suggestion. But then I tried something else first. =p I installed a new Jellyfin Server the docker compose way. That way I could enter the UID and GUID in the compose file. And this way it works perfectly. I was afraid it would use more of my scarse resources this way, but it's the same, or even less than when I was running the server directly on linux. So problem solved. =) Now for the next problem. Subtitles don't work right. =( But I'll first so some forum reading about it and if no joy, open a new topic. Thabks for the help! |