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 ?
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.
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.
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.