Jellyfin Forum
Brand new docker container exiting - 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: Brand new docker container exiting (/t-brand-new-docker-container-exiting)



Brand new docker container exiting - RelatableQuery - 2024-10-05

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.


RE: Brand new docker container exiting - TheDreadPirate - 2024-10-05

Delete /config/config/migrations.xml and try again.


RE: Brand new docker container exiting - RelatableQuery - 2024-10-06

Thank you! That did it.