• 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 Brand new docker container exiting

     
    • 0 Vote(s) - 0 Average

    Brand new docker container exiting

    RelatableQuery
    Offline

    Junior Member

    Posts: 10
    Threads: 5
    Joined: 2024 Feb
    Reputation: 0
    Country:United States
    #1
    2024-10-05, 10:41 PM
    I just tried setting up jellyfin in docker, and it's refusing to start.
    It's exiting with
    Code:
    System.InvalidOperationException: There is an error in XML document (0, 0).

    The full log is here https://pastebin.com/1mRKn4Xj

    My compose looks like this

    #jellyfin official container
      jellyfin:
        image: jellyfin/jellyfin
        container_name: jellyfin
        user: ${PUID}:${PGID}
        network_mode: 'host'
        volumes:
          - ${DOCKERCONFDIR}/jellyfin/configConfused-faceconfig
          - ${DOCKERCONFDIR}/jellyfin/cacheConfused-facecache
          - type: bind
            source: ${DOCKERSTORAGEDIR}/media/tv
            target: /tv
          - type: bind
            source: ${DOCKERSTORAGEDIR}/media/movies
            target: /moview
            read_only: true
        restart: 'unless-stopped'
        # Optional - alternative address used for autodiscovery
        #environment:
        #  - JELLYFIN_PublishedServerUrl=http://example.com
        # Optional - may be necessary for docker healthcheck to pass if running in host network mode
        #extra_hosts:
        #  - 'host.docker.internal:host-gateway'    


    I should mention that I used to run the container from linuxserver, but I cleaned out the directory. I have a feeling that it might be looking for something that's not there.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-05, 11:09 PM
    Delete /config/config/migrations.xml and try again.
    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]
    RelatableQuery
    Offline

    Junior Member

    Posts: 10
    Threads: 5
    Joined: 2024 Feb
    Reputation: 0
    Country:United States
    #3
    2024-10-06, 01:45 AM
    Thank you! That did it.
    « 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