• 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 SOLVED: Jellyfin web client docker compose

     
    • 0 Vote(s) - 0 Average

    SOLVED: Jellyfin web client docker compose

    Jellyfin server with web client docker compose.
    Limos21
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Germany
    #1
    2024-08-13, 01:57 PM
    Hi all,

    I need some help with setting up a docker compose file for hosting jellyfin with the web client. I have already invested quite some time, searched the internet and the forum, but do not seem to find a solution.

    The problem I am currently facing is that when I try to access my custom, local jellyfin endpoint on http://192.168.178.55:2008 where the web client is supposed to be, it is not available.
    I followed the instruction from the official documentation to set up the web client: Web Client Configuration
    The jellyfin server is up and running and idles, but I can not reach the web client interface on  http://192.168.178.55:2008 instead I am redirected to the web folder that I specified in the docker compose file ->  http://192.168.178.55:2008/web/

    I also need to mention, the web folder is not empty. I copied the official jellyfin web client repository from jellyfin/jellyfin-web: Web Client for Jellyfin (github.com) in there.

    My setup is the following:

    Jellyfin-Version: 10.9.4
    OS: Ubuntu Linux
    Hosting: Docker (Compose)

    This is the docker compose file that I have created and used:

    Code:
    version: "3.8"

    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        restart: unless-stopped
        security_opt:
          - no-new-privileges:true
        networks:
          - traefik-proxy
        ports:
          - 2008:8096 # HTTP traffic
    #      - 8920:8920 # optional HTTPS traffic
          - 7359:7359/udp # optional service auto-discovery
          - 1900:1900/udp # optional service auto-discovery
        environment:
          TZ: Europe/Berlin
          JELLYFIN_CONFIG_DIR: /config
          JELLYFIN_CACHE_DIR: /cache
          JELLYFIN_LOG_DIR: /log
          JELLYFIN_WEB_DIR: /web
          JELLYFIN_DATA_DIR: /data
          JELLYFIN_HOSTWEBCLIENT: true
    #      JELLYFIN_PublishedServerUrl=192.168.0.5  # optional and not needed
        user: 1000:1000 # user and group that owns the volumes
        group_add:
          - "993" # Change this to match your "render" host group id and remove this comment -> "getent group render | cut -d: -f3"
        volumes:
          - ./config:/config
          - ./cache:/cache
          - ./logs:/log
          - ./web:/web
          - /storage/jellyfin/data:/data
          - /storage/jellyfin/tvshows:/tvshows
          - /storage/jellyfin/movies:/movies
          - /storage/jellyfin/music:/music
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
        labels:
          # Watchtower
          - "com.centurylinklabs.watchtower.enable=true"
          # Traefik

    networks:
      traefik-proxy:
        name: traefik-proxy
        external: true


    I have also put the log in the appendix.

    Thank you in advance for your help.


    Attached Files
    .txt   log_20240813.txt (Size: 7.69 KB / Downloads: 80)
    Go to solution
    Limos21
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Germany
    #2
    2024-08-13, 02:07 PM
    I have to comment also that the jellyfin version I initally stated is wrong, it is actually V10.9.9
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-08-13, 03:00 PM
    A couple of things you can try. You can have Jellyfin straight up listen on port 2008 instead of trying to map the inner/outer ports. You'd have to modify network.xml and restart the container.

    Code:
    <InternalHttpPort>8096</InternalHttpPort>

    Also, since you are using bridge networking, perhaps switch to using "expose" instead of "ports".

    My docker compose for reference.

    Code:
    services:
      jellyfin-testing:
        image: jellyfin/jellyfin:10.9.9
        container_name: jellyfin-testing
        user: 110:110
        group_add:
          - "993" # Intel render group
        networks:
          blackmoon:
            ipv4_address: 172.16.100.2
        expose:
          - 8096
        volumes:
          - ./jellyfin-stable-data/config:/config
          - ./jellyfin-stable-data/cache:/cache
          - /media/library:/media/library:ro
          - /media/storage2:/media/storage2
          - /media/ramdisk:/media/ramdisk
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
        restart: 'unless-stopped'

    networks:
      blackmoon:
        ipam:
          driver: default
          config:
            - subnet: "172.16.100.0/24"
    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]
    Limos21
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Germany
    #4
    2024-08-14, 02:55 PM (This post was last modified: 2024-08-14, 03:08 PM by Limos21. Edited 2 times in total.)
    Hi again,

    thank you for your response.
    I need to clarify that there is no issue with mapping the port from the container to my custom host port because jellyfin is reachable on the custom port. The problem is that when accessing http://192.168.178.55:2008 the jellyfin logo immediately pops up and then the web client seems to stuck then. I am not forwarded or shown the server selection or login screen. Ist just the logo popping up, nothing else.

    This is what I see in the browser:

       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-08-14, 04:03 PM
    In your opening post you said 10.9.4, but your log says 10.9.9. If you upgraded recently, try clearing your browser cache or opening an incognito window. There were big changes in 10.9.9 that re-worked how Jellyfin caches browser data.
    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]
    Limos21
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Germany
    #6
    2024-08-14, 05:39 PM
    Hi again,

    I cleared the browser cache and also opened an incognito window. It did not work out.
    Here is also the "web" folder where I copied the src folder of the official web client github repository.
    Is this the right folder structure, because I am unsure if that is causing the problem?
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-08-14, 05:48 PM
    Why did you manually copy jellyfin-web? The docker image comes with it. This may be the problem.

    Comment out the volume for /web and the environment variable for /web in your compose and recreate the container to make sure that everything is reset.

    Code:
    sudo docker compose up -d jellyfin --force-recreate
    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]
    Limos21
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Germany
    #8
    2024-08-14, 07:03 PM
    Finally that solved everything Smiling-face !!!! Many thanks.
    « 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