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 ?

    • nobloat@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 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.

    • RBG@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 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.

  • Maoo [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    3
    ·
    edit-2
    8 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

  • WhyAUsername_1@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 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
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

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