2024-10-05, 10:41 PM
I just tried setting up jellyfin in docker, and it's refusing to start.
It's exiting with
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/configconfig
- ${DOCKERCONFDIR}/jellyfin/cachecache
- 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.
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/configconfig
- ${DOCKERCONFDIR}/jellyfin/cachecache
- 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.