[PR #5087] [CLOSED] change default webdir config from option to env var #10396

Closed
opened 2026-02-07 06:19:31 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5087
Author: @heylix
Created: 1/23/2021
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 88b80cc change default webdir config from option to env var

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 debian/conf/jellyfin (+1 -1)
📝 fedora/jellyfin.env (+1 -1)

📄 Description

While using systemd to start jellyfin.service on Fedora 33,
the service failed. After inspecting the logs, the following
output seemed relevant:

[INF] [1] Main: Web resources path: /usr/lib64/jellyfin/jellyfin-web
[…]
System.InvalidOperationException: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib64/jellyfin/jellyfin-web. […]

Apparently the option doesn't get picked up by the unitfile
present if there's been an older version of jellyfin installed
(see fedora/jellyfin.service line 8).

After changing the corresponding environment variable to be
consistent in handling with the rest of the env variables in
/etc/sysconfig/jellyfin, the server starts without a hitch.

Changed the default config file for Debian, too, so both
distributions have the same default values.

Changes

Issues


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/5087 **Author:** [@heylix](https://github.com/heylix) **Created:** 1/23/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`88b80cc`](https://github.com/jellyfin/jellyfin/commit/88b80cc9a0c606f38ceee2d28996a60f40c88ded) change default webdir config from option to env var ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `debian/conf/jellyfin` (+1 -1) 📝 `fedora/jellyfin.env` (+1 -1) </details> ### 📄 Description While using systemd to start jellyfin.service on Fedora 33, the service failed. After inspecting the logs, the following output seemed relevant: [INF] [1] Main: Web resources path: /usr/lib64/jellyfin/jellyfin-web […] System.InvalidOperationException: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib64/jellyfin/jellyfin-web. […] Apparently the option doesn't get picked up by the unitfile present if there's been an older version of jellyfin installed (see fedora/jellyfin.service line 8). After changing the corresponding environment variable to be consistent in handling with the rest of the env variables in /etc/sysconfig/jellyfin, the server starts without a hitch. Changed the default config file for Debian, too, so both distributions have the same default values. <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:19:31 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10396