RE: Nginx http2 issues - TheDreadPirate - 2024-09-04
Change
Code: set $jellyfin jellyfin
to
Code: set $jellyfin {insert IP address or 127.0.0.1}
That first one only works if "jellyfin" is the server's actual hostname. I prefer the IP anyway.
RE: Nginx http2 issues - Grass - 2024-09-04
(2024-09-04, 02:01 AM)TheDreadPirate Wrote: snip
This did not solve to core issue either.
pulled up "journalctl -xeu jellyfin.service"
it says referenced but unset environment variables at the top, could that be the issue?
Quote:Sep 04 04:15:43 REDACTED systemd[1]: Started jellyfin.service - Jellyfin Media Server.
░░ Subject: A start job for unit jellyfin.service has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit jellyfin.service has finished successfully.
░░
░░ The job identifier is 64415.
Sep 04 04:15:43 REDACTED (jellyfin)[41041]: jellyfin.service: Referenced but unset environment variable evaluates to an empty string: JELLYFIN_NOWEBAPP_OPT, JELLYFIN_SERVICE_OPT
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Jellyfin version: 10.9.10
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Environment Variables: ["[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", ">
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Operating system: Ubuntu 24.04.1 LTS
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Architecture: X64
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] 64-Bit Process: True
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] User Interactive: True
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Processor count: 4
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Program data path: /var/lib/jellyfin
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Log directory path: /var/log/jellyfin
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Config directory path: /etc/jellyfin
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Cache path: /var/cache/jellyfin
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Web resources path: /usr/share/jellyfin/web
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Application directory: /usr/lib/jellyfin/bin/
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Setting cache path: /var/cache/jellyfin
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Loading assemblies
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "REDACTED ", "REDACTED "]
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Defined LAN exclusions: []
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "REDACTED", "REDACTED "]
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Filtered interface addresses: ["127.0.0.1", "REDACTED", "REDACTED "]
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Bind Addresses ["0.0.0.0"]
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Remote IP filter is Allowlist
Sep 04 04:15:44 REDACTED jellyfin[41041]: [04:15:44] [INF] Filtered subnets: []
Sep 04 04:15:45 REDACTED jellyfin[41041]: [04:15:45] [INF] Loaded plugin: TMDb 10.9.10.0
Sep 04 04:15:45 REDACTED jellyfin[41041]: [04:15:45] [INF] Loaded plugin: Studio Images 10.9.10.0
Sep 04 04:15:45 REDACTED jellyfin[41041]: [04:15:45] [INF] Loaded plugin: OMDb 10.9.10.0
Sep 04 04:15:45 REDACTED jellyfin[41041]: [04:15:45] [INF] Loaded plugin: MusicBrainz 10.9.10.0
Sep 04 04:15:45 REDACTED jellyfin[41041]: [04:15:45] [INF] Loaded plugin: AudioDB 10.9.10.0
Sep 04 04:15:45 REDACTED jellyfin[41041]: [04:15:45] [INF] Kestrel is listening on 0.0.0.0
RE: Nginx http2 issues - TheDreadPirate - 2024-09-04
(2024-09-04, 04:22 AM)Grass Wrote: pulled up "journalctl -xeu jellyfin.service"
it says referenced but unset environment variables at the top, could that be the issue?
That's normal. Those are optional settings that a default install doesn't use.
I just re-read our docs. I'll have to do some testing, but I'm pretty sure jellyfin.conf shouldn't be in /etc/nginx/conf.d/. I have all of my configs in /etc/nginx/sites-available and then I symlink the sites I want to enable to /etc/nginx/sites-enabled.
Code: sudo su
cd /etc/nginx/conf.d/
mv jellyfin.conf ../sites-available/jellyfin
cd ../sites-enabled
ln -s ../sites-available/jellyfin jellyfin
systemctl reload nginx
RE: Nginx http2 issues - Grass - 2024-09-05
(2024-09-04, 04:29 PM)TheDreadPirate Wrote: snip
That worked, thanks a ton for helping me out.
Someone defiantly need to fix the documentation though.
I was using this, and it told me to put it in conf.d
https://jellyfin.org/docs/general/networking/nginx
RE: Nginx http2 issues - TheDreadPirate - 2024-09-05
I'm writing up a PR to update our docs.
|