• 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 Unable to scan media upon migrating to docker container

     
    • 0 Vote(s) - 0 Average

    Unable to scan media upon migrating to docker container

    Container is accessible and functioning as intended, but old media meta cant be edited, and scanning always gives no results.
    SirCode
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #1
    2025-04-06, 12:55 PM (This post was last modified: 2025-04-06, 01:00 PM by SirCode. Edited 1 time in total.)
    I recently migrated my native jellyfin media server instance to a Docker container. Im currently running on PopOS Cosmic (24.04 LTS) and using the latest version of docker I can install right now (28.0.4)

    I tried scanning some media / editing the images and info on current media, and nothing ever shows up in search results. Its always blank.

    Initially I thought it was the container lacking access to the internet, but Ive since confirmed (by exec'ing into it, and curl'ing google) that it does have internet... So jellyfin is the root of the problem here.

    I assume its probably some kind of configuration or config error since I migrated, but I have no idea what could cause it.

    I would really appreciate some assistance here

    Also it may be related, or a secondary issue, but when I try to edit the settings for a library, it says its in an invalid state and cannot be edited:
       

    Heres my docker compose:
    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: Jellytart
        user: 1000:1000
        ports:
          - 8096:8096
        volumes:
          - type: bind
            source: /media/gscomp/Jellyfin/Data/config
            target: /config
          - type: bind
            source: /media/gscomp/Jellyfin/Data/cache
            target: /cache
          - type: bind
            source: /media/gscomp/Jellyfin/Data/etc
            target: /etc
          - type: bind
            source: /media/gscomp/Jellyfin/Data/logs
            target: /logs
          - type: bind
            source: /media/gscomp/Jellyfin/Media/
            target: /media/gscomp/Jellyfin/Media/
        restart: always

    What I see any time I search for images / identify / etc:
       
    SirCode
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #2
    2025-04-06, 01:33 PM
    And yes... I knew there might be problems from migrating... I tried making a fresh jellyfin install, but its whining about user creation... Im getting errors on the goddamn setup page...

    https://pastebin.com/bWFHCUqd
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2025-04-06, 02:46 PM (This post was last modified: 2025-04-06, 02:47 PM by TheDreadPirate.)
    You cannot relocate data in this manner when migrating. Jellyfin uses absolute paths when referencing metadata, images, trickplays, etc. You have to leave the bare metal Jellyfin data where it is and then modify the docker container's environment variables, which is documented at the link below.

    https://jellyfin.org/docs/general/admini...mpose-yaml

    In addition to changing ownership of the files to match the user of the container.

    If you wanted to migrate your existing data to a centrally located folder, which is one of the benefits of Docker, you would need to know how to use some SQLite tools to find and replace path strings to the appropriate native docker references.
    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