themepark-dev / theme.park

A collection of themes/skins for 50 selfhosted apps!
https://theme-park.dev
MIT License
2.37k stars 781 forks source link

Blank Page Ombi v4 #205

Closed AlexAshs closed 3 years ago

AlexAshs commented 3 years ago

Describe the bug Trying to access ombi v4 with a firefox browser, a blank background in the themes background color appears. Caddy logs this error message: error when copying response body: http2: stream closed By removing the theming configuration from the reverse proxy directive in caddy and restarting it, it works fine again with firefox, so the issue has to be the theme.

Theme Install Method (Don't skip) organizr-dark. caddyfile caddy v2 reverse proxy

Application Info (Don't skip) ombi v4 (linuxserver/ombi) It has been working before with ombi v3, so i definitely have configured caddy correctly

To Reproduce Steps to reproduce the behavior:

  1. Setup a docker-compose.yaml like so: `version: "3.7" services: ombi: image: linuxserver/ombi container_name: ombi environment:
    • PUID=1111
    • PGID=1111
    • UMASK_SET=0007 volumes:
    • ./config/ombi:/config:rw ports:
    • 3579:3579 restart: unless-stopped caddy: build: context: . dockerfile: Dockerfile image: caddy container_name: caddy volumes:
    • "./Caddyfile:/etc/caddy/Caddyfile:rw"
    • "./config:/config:rw" ports:
    • 80:80
    • 443:443 restart: unless-stopped`
  2. Configure the caddyfile like this: { order filter after encode } ombi.domain { reverse_proxy 192.168.1.33:3579 { header_up -Accept-Encoding header_down -x-webkit-csp header_down -content-security-policy } filter { content_type text/html.* search_pattern </head> replacement "<link rel='stylesheet' type='text/css' href='https://gilbn.github.io/theme.park/CSS/themes/ombi/organizr-dark.css'></head>" 2 } 1 }
  3. Call ombi.domain with a current version of firefox
  4. See only the background but no login page

Expected behavior The ombi login page should show up.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context No base url was used.

GilbN commented 3 years ago

Hi. Ombi v4 is not supported

AlexAshs commented 3 years ago

Well that explains it. Shall I close this then? It'll probably be good, that it's reported, so others may find it.

GilbN commented 3 years ago

Yeah. v4 will be supported when the frontend rewrite is done. I haven't checked the progress in a while though. Petio is fully supported btw :P

AlexAshs commented 3 years ago

Haven't checked that one out yet, but i like the plexish style. I think, I'll give it a try! Afaik v4.x releases are marked as pre-release on GitHub, so better wait for it, because they used to change the new theme quite often during development of v4.

GilbN commented 3 years ago

Omvi v4 is supported now btw

AlexAshs commented 3 years ago

I still receive the blank page using any version of firefox. Is there anything new to consider with v4 support?

GilbN commented 3 years ago

Oh. You dont need to subfilter the theme. Ombi supports custom css in Settings. https://docs.theme-park.dev/themes/ombi/#installation

AlexAshs commented 3 years ago

Oh I didn't consider that. Now it works like a charm :) Thank you very much!