this post was submitted on 09 Nov 2023
7 points (88.9% liked)

Jellyfin: The Free Software Media System

5783 readers
2 users here now

Current stable release: 10.10.3

Community Standards

Website

Forum

GitHub

Documentation

Feature Requests

Matrix (General Information & Help)

Matrix (Announcements)

Matrix (General Development)

Matrix (Off-Topic) - Come get to know the team and blow off steam!

Matrix Space - List of all the available rooms on Matrix.

Discord - Bridged to our Matrix rooms

founded 4 years ago
MODERATORS
 

I set up jellyfin with docker and it's working fine with local files. I wanted to add some additional media files so I mounted a directory using sshfs. The directory is present with the media files and it is bound to a volume in Docker. But jellyfin doesn't add the files. It doesn't find the subdirectories or the media files. Am I doing something wrong ?

top 6 comments
sorted by: hot top controversial new old
[–] spacemanspiffy@lemmy.world 6 points 1 year ago (2 children)

What are the permissions on these files/folders? Maybe Jellyfin doesn't have read access?

[–] nobloat@lemmy.ml 3 points 1 year ago

I figured it out. For some reason the directories created were owned by root. I did change the ownership of the main directory but forgot that it needs to be changed for the subdirectories as well. In the add folder menu I could see the mounted directory but couldn't access the subdirectories (shows, movies). It's working fine now.

[–] RootBeerGuy@discuss.tchncs.de 2 points 1 year ago

Seconded, its the first thing to check. I am only using local files but depending how I transfer files from other devices it seems they get different permissions assigned. I made it a regular workflow to just run chmod (linux system) over anything new I want to add.

[–] Maoo@hexbear.net 2 points 1 year ago* (last edited 1 year ago)

One thing you can do to troubleshoot is to execute a shell in your docker container and try to list the files in the directory that Jellyfin is looking for. This can help you rule out typos or sshfs problems.

This looks something like docker exec -it /bin/sh

[–] WhyAUsername_1@lemmy.world 2 points 1 year ago

Can you go into the docker container with "exec -it" and try to check if the mount point is mounted correctly and if the files are readable?

[–] Ludicrous@beehaw.org 1 points 1 year ago

Can you list the permissions of the files from within the container? Do you use SELinux?