• 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 Jellyfin customizations: visible on local network but not remote/url

     
    • 0 Vote(s) - 0 Average

    Jellyfin customizations: visible on local network but not remote/url

    PoizenJam
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:Canada
    #1
    2024-06-04, 06:24 PM
    I am running a Jellyfin server using Docker on Windows. For some reason, my customizations (page title, banner logos, favicon) work fine when I access the server through my LAN ip address (192.168.x.xx:8096); the server is accessible and works as intended, including custom banner images et al. However, when I attempt to access the same server remotely via a domain (jelly.mydomain.com), the server still works, but all of the customized images and page titles are reverted to default. See below:

    [Image: xX3jvLh.png]

    Clearing the site data, cache or using incognito mode does not seem to have any effect on reversing. Deleting the container and/or cache folder and rebuilding does not seem to fix the issue either.

    In my case, I am using a docker-compose.yml file to build the container and overwrite/replace files within the container, including banners and titles and whatnot.

    Code:
    version: '3.5'
    services:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: PoizenJelly
        user: 1000:1000
        network_mode: 'bridge'
        ports:
          - 8096:8096
        volumes:
          - my\dummy\directory\config:/config
          - my\dummy\directory\cache:/cache
          - my\dummy\directory\assets\index.html:/jellyfin/jellyfin-web/index.html:ro
          - my\dummy\directory\assets\73233.bce0f70761dae6c47906.chunk.js:/jellyfin/jellyfin-web/73233.bce0f70761dae6c47906.chunk.js:ro
          - my\dummy\directory\assets\img\icon-transparent.png:/jellyfin/jellyfin-web/assets/img/icon-transparent.png:ro
          - my\dummy\directory\assets\img\banner-light.png:/jellyfin/jellyfin-web/assets/img/banner-light.png:ro
          - my\dummy\directory\assets\img\banner-dark.png:/jellyfin/jellyfin-web/assets/img/banner-dark.png:ro
          - my\dummy\directory\assets\img\favicon-16x16.ico:/jellyfin/jellyfin-web/bc8d51405ec040305a87.ico:ro
          - my\media\directory:/media:ro
        restart: 'unless-stopped'
        # Optional - alternative address used for autodiscovery
        environment:
          - JELLYFIN_PublishedServerUrl=https://jelly.mydomain.com/
        deploy:
          resources:
            reservations:
              devices:
                - driver: nvidia
                  count: 1
                  capabilities: [gpu]

    Is this the expected behaviour for remote jellyfin servers, or am I doing something wrong?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-04, 06:35 PM
    When setting your custom images/theme, where did you put the CSS? In Dashboard > General > Custom CSS? Or Settings > Display > Custom CSS?
    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]
    PoizenJam
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:Canada
    #3
    2024-06-04, 07:02 PM
    I have not input any Custom CSS code on either the server end (Dashboard > General > Custom CSS) or on the user end (Settings > Display > Custom CSS). Both are blank. Are those necessary to include?

    My instinct is that overwriting the files within the container would be sufficient. If 'banner-light.png' is overwritten in the container during docker-compose, then references to 'banner-light.png' should pull the updated, overwritten image, no? And, to be sure, that's how it behaves when locally accessed.

    Frankly, I am confused how it's pulling the default 'index.html', '73233.bce0f70761dae6c47906.chunk.js' and images (e.g., 'banner-light.png') when accessed remotely, since the container ostensibly doesn't actually contain those files as best I can tell.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-04, 08:12 PM
    Are you using nginx with asset caching enabled?
    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]
    PoizenJam
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:Canada
    #5
    2024-06-04, 08:40 PM (This post was last modified: 2024-06-04, 08:40 PM by PoizenJam. Edited 1 time in total.)
    Guilty as charged! I am using Nginx Proxy Manager + CloudFlare.

    Temporarily disabling asset caching in NGinx, purging the Cloudflare cache, then doing a CTRL + F5 refresh in Chrome fixed the problem. It now retrieves the proper images and page titles.

    Thanks a bunch!
    « 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