mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #5087] [CLOSED] change default webdir config from option to env var #10396
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/5087
Author: @heylix
Created: 1/23/2021
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
88b80ccchange 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.