• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting [Docker] Librarys disappearing from Jellyfin

     
    • 0 Vote(s) - 0 Average

    [Docker] Librarys disappearing from Jellyfin

    Akeldema
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    #1
    2024-11-22, 11:51 AM
    I set Jellyfin up to run in a docker container a while ago, everything seemed fine.

    But this is now the second time I have had the library disappear out of jellyfin and the server become unconnectable to clients.

    I am able to make a new connection to the same IP from the server select page, but the library is missing.

    It still has access to the media directory, Is able to play media that is already on the Home page, and on the quick menu on the Left is showing a Media library.

       
       


    Any insight as to why this might be happening would be greatly appreciated, I am by no means an expert on docker.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-22, 01:59 PM
    Can you share your docker config?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Akeldema
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    #3
    2024-11-22, 02:19 PM (This post was last modified: 2024-11-22, 02:21 PM by Akeldema. Edited 1 time in total.)
    This is my compose file, unless I made some great mistake its from https://jellyfin.org/docs/general/instal...container/

    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: jellyfin
        user: 1026:100
        network_mode: 'host'
        volumes:
          - /volume1/docker/jellyfin:/config
          - /volume1/docker/jellyfin:/cache
          - type: bind
            source: /volume1/Anime/data/media/tv
            target: /media/tv
            read_only: true
        restart: 'unless-stopped'
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-11-22, 02:27 PM (This post was last modified: 2024-11-22, 02:29 PM by TheDreadPirate. Edited 3 times in total.)
    You need to keep /config and /cache separate. The way you have it now both /config and /cache are in /volume1/docker/jellyfin. Once a day Jellyfin runs a cache cleanup job. Since /config is in the same host folder the cache cleanup job cleans up EVERYTHING. Including your database, user accounts, metadata, library settings. EVERYTHING.

    Change your volume mounts to this.

    Code:
    volumes:
          - /volume1/docker/jellyfin/config:/config
          - /volume1/docker/jellyfin/cache:/cache
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode