this post was submitted on 09 Nov 2023
6 points (87.5% liked)

Jellyfin: The Free Software Media System

5582 readers
3 users here now

Current stable release: 10.9.7

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
[–] Maoo@hexbear.net 5 points 10 months ago* (last edited 10 months 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

[–] spacemanspiffy@lemmy.world 5 points 10 months ago (2 children)

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

[–] nobloat@lemmy.ml 3 points 10 months 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 10 months 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.

[–] WhyAUsername_1@lemmy.world 2 points 10 months 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 10 months ago

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