Jellyfin Forum
SOLVED: Media on mounted drives not showing up - 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: SOLVED: Media on mounted drives not showing up (/t-solved-media-on-mounted-drives-not-showing-up)

Pages: 1 2 3


Media on mounted drives not showing up - lonlygamerx - 2024-03-13

Currently have a mounted folder /media-storage which is auto mounted on startup. Im running ubuntu server lastest. Below is my docker-compose.yml file. For some reason it cant see the media in any of the folders. Ive looked online and must posts just talk about user/group jellyfin but i do not have any group or user called jellyfin so i have no clue what im doing wrong

Code:
version: "3"
services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - ./data/jellyfin:/config
      - /media-storage/data/media/music:/music
      - /media-storage/data/media/anime:/anime
      - /media-storage/data/media/movies:/movies
      - /media-storage/data/media/tv:/tv
    ports:
      - 8096:8096
    restart: unless-stopped
    network_mode: bridge



RE: Media on mounted drives not showing up - TheDreadPirate - 2024-03-13

Since you are running the docker container as yourself (UID 1000) YOU need to own /media-storage and all the sub paths.

What are the mount parameters for /media-storage in /etc/fstab?


RE: Media on mounted drives not showing up - lonlygamerx - 2024-03-13

Not sure what you mean by i need own the folder/subfolders of media-storage, if your talking about perms ive already done that
here are my fstab

Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
# / was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/6e6dea8a-9d1c-4aa5-9bb4-c21b0e2ae839 / ext4 defaults 0 1
# /boot/efi was on /dev/sda1 during curtin installation
/dev/disk/by-uuid/9B12-6FE2 /boot/efi vfat defaults 0 1
/swap.img      none    swap    sw      0      0
#added stuff
UUID=77f583ea-21e3-d901-5075-83ea21e3d901    /media-storage    ext4    defaults    0    0
UUID=aa04d6d0-931f-44b5-968e-8308a7366d09    /netData-stuff    ext4    defaults    0    0



RE: Media on mounted drives not showing up - TheDreadPirate - 2024-03-13

Run these commands and provide the output in a code block.

Code:
ls -ld /media-storage /media-storage/data /media-storage/data/media /media-storage/data/media/anime
ls -l /media-storage/data/media/anime/<pick an anime folder>

We are reviewing the permissions for each step in your library path. One of the things we are looking for as well are ACLs. These are shows as a + at the end of the permissions.

Code:
rwxr-xr-x+



RE: Media on mounted drives not showing up - lonlygamerx - 2024-03-13

Code:
ls -ld /media-storage /media-storage/data /media-storage/data/media /media-storage/data/media/anime
drwxr-xr-x 4 lonlygamerx lonlygamerx 4096 Dec 24 18:12 /media-storage
drwxr-xr-x 5 lonlygamerx lonlygamerx 4096 Mar 13 14:59 /media-storage/data
drwxr-xr-x 6 lonlygamerx lonlygamerx 4096 Nov  8 08:48 /media-storage/data/media
drwxr-xr-x 2 lonlygamerx lonlygamerx 4096 Nov  8 08:48 /media-storage/data/media/anime



RE: Media on mounted drives not showing up - TheDreadPirate - 2024-03-13

Can you share your full jellyfin log via https://sourceb.in/ ?


RE: Media on mounted drives not showing up - lonlygamerx - 2024-03-13

https://sourceb.in/hwZy05HhiH


RE: Media on mounted drives not showing up - TheDreadPirate - 2024-03-13

Do you have any ".ignore" files anywhere in your library? Can you open a shell for the container and navigate and see the files in the container shell?


RE: Media on mounted drives not showing up - lonlygamerx - 2024-03-13

Not that i know off, if i go in my jellyfin container and type ls i get this below and if i go in music, tv, anime or movies there is nothing in there

Code:
ls
anime  bin  command  data      dev          donate.txt  home  lib    lib64  lsiopy  mnt    music  package  root  sbin  sys  transcode  usr
app    boot  config  defaults  docker-mods  etc        init  lib32  libx32  media  movies  ovt    proc    run  srv  tmp  tv        var

My perms
Code:
ls -l
total 128
drwxr-xr-x  2 root root    40 Mar 13 10:02 anime
drwxr-xr-x  1 abc  abc  4096 Mar  5 23:32 app
lrwxrwxrwx  1 root root    7 Mar  5 23:31 bin -> usr/bin
drwxr-xr-x  2 root root  4096 Apr 18  2022 boot
drwxr-xr-x  2 root root 12288 Mar  5 23:31 command
drwxr-xr-x  6 abc  abc  4096 Mar 13 20:01 config
drwxr-xr-x  2 root root  4096 Mar 13 18:55 data
drwxr-xr-x  1 abc  abc  4096 Mar  5 23:32 defaults
drwxr-xr-x  5 root root  340 Mar 13 20:01 dev
-rwxr--r--  1 root root 23549 Jan  1  1970 docker-mods
-rw-r--r--  1 root root    46 Mar 12 12:41 donate.txt
drwxr-xr-x  1 root root  4096 Mar 13 20:01 etc
drwxr-xr-x  2 root root  4096 Apr 18  2022 home
-rwxr-xr-x  1 root root  907 May  4  2023 init
lrwxrwxrwx  1 root root    7 Mar  5 23:31 lib -> usr/lib
lrwxrwxrwx  1 root root    9 Mar  5 23:31 lib32 -> usr/lib32
lrwxrwxrwx  1 root root    9 Mar  5 23:31 lib64 -> usr/lib64
lrwxrwxrwx  1 root root    10 Mar  5 23:31 libx32 -> usr/libx32
drwxr-xr-x  2 root root  4096 Mar  5 23:32 lsiopy
drwxr-xr-x  2 root root  4096 Jun 26  2023 media
drwxr-xr-x  2 root root  4096 Jun 26  2023 mnt
drwxr-xr-x  2 root root    40 Mar 13 10:02 movies
drwxr-xr-x  2 root root    40 Mar 13 10:02 music
drwxr-xr-x  2 root root  4096 Jun 26  2023 opt
drwxr-xr-x  6 root root  4096 Mar  5 23:31 package
dr-xr-xr-x 337 root root    0 Mar 13 20:01 proc
drwx------  1 root root  4096 Mar 13 21:13 root
drwxr-xr-x  1 root root  4096 Mar 13 20:01 run
lrwxrwxrwx  1 root root    8 Mar  5 23:31 sbin -> usr/sbin
drwxr-xr-x  2 root root  4096 Jun 26  2023 srv
dr-xr-xr-x  13 root root    0 Mar 13 20:01 sys
drwxrwxrwt  1 root root  4096 Mar 13 20:01 tmp
drwxr-xr-x  2 abc  abc  4096 Mar 13 18:55 transcode
drwxr-xr-x  2 root root    40 Mar 13 10:02 tv
drwxr-xr-x  1 root root  4096 May  4  2023 usr
drwxr-xr-x  1 root root  4096 Mar  5 23:31 var



RE: Media on mounted drives not showing up - TheDreadPirate - 2024-03-13

It looks like having a dash in the volume name is problematic for docker compose?

https://stackoverflow.com/questions/67166649/mount-a-folder-with-dash-in-name-with-docker-compose

Quoting the full path should resolve that.