linuxserver / docker-jellyfin

GNU General Public License v3.0
642 stars 97 forks source link

[BUG] Stuck on applying opencl-intel files to container #201

Closed neoc41 closed 1 year ago

neoc41 commented 1 year ago

Is there an existing issue for this?

Current Behavior

When using environment variable DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel the container often hangs with only the following two lines in the log:

[mod-init] Attempting to run Docker Modification Logic [mod-init] Applying linuxserver/mods:jellyfin-opencl-intel files to container

When disabling the environment variable Jellyfin starts fine but obviously without OpenCL functionality.

Recreating the container or rebooting the server leads to the same problem although for some unexplained reason it once worked going back to an old image and then to the new one again. I can't seem to get it to start with OpenCL anymore now.

Expected Behavior

The Docker mod is loaded and Jellyfin is started

Steps To Reproduce

Start container with the DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel variable using the 'latest' image

Environment

- OS: Ubuntu Server 22.04
- How docker service was installed:
    apt-get install \
        ca-certificates \
        curl \
        gnupg \
        lsb-release
    mkdir -m 0755 -p /etc/apt/keyrings
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
    echo \
      "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
      $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
    apt-get update
    apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

CPU architecture

x86-64

Docker creation

docker compose up -d jellyfin

version: "3.9"
networks:
  media:

services:
  jellyfin:
    restart: unless-stopped
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    devices:
      - /dev/dri:/dev/dri
    volumes:
      - ${NVME_DIR}/docker/jellyfin:/config
      - ${NVME_DIR}/docker/jellyfin/web:/usr/share/jellyfin/web:ro
      - ${NVME_DIR}/jellyfin:/data
      - ${RAID_DIR}/media:/media:ro
      - ${RAID_DIR}/media/dvr:/media/dvr
    environment:
      - TZ=${TZ}
      - PUID=1050
      - PGID=1010
      - UMASK=002
      - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
    ports:
      - "8096:8096"
      - "7359:7359/udp" # optional - allows discovery on LAN
      - "1900:1900/udp" # optional- service discovery used by DNLA and clients
    networks:
      - media
    deploy:
      resources:
        limits:
         memory: 16G

Container logs

[mod-init] Applying linuxserver/mods:jellyfin-opencl-intel files to container
[mod-init] Attempting to run Docker Modification Logic
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

aptalca commented 1 year ago

Looks like you didn't wait long enough

neoc41 commented 1 year ago

No. I waited 15 minutes and it was still stuck at these 2 lines. The times it did work the whole container started in about 15 seconds

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue is locked due to inactivity