Jellyfin don't start due to wrong jellyfin-web folder

Description:

This package is installed on /usr/share folder while default jellyfin-server is looking into /usr/lib after jellyfin-web resulting in

Additional info:

log:

[18:18:23] [INF] [1] Main: Jellyfin version: 10.9.9
[18:18:23] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/tamodolo/.local/share/jellyfin/log]"]
[18:18:23] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/jellyfin.dll"]
[18:18:23] [INF] [1] Main: Operating system: CachyOS
[18:18:23] [INF] [1] Main: Architecture: X64
[18:18:23] [INF] [1] Main: 64-Bit Process: True
[18:18:23] [INF] [1] Main: User Interactive: True
[18:18:23] [INF] [1] Main: Processor count: 12
[18:18:23] [INF] [1] Main: Program data path: /home/tamodolo/.local/share/jellyfin
[18:18:23] [INF] [1] Main: Log directory path: /home/tamodolo/.local/share/jellyfin/log
[18:18:23] [INF] [1] Main: Config directory path: /home/tamodolo/.config/jellyfin
[18:18:23] [INF] [1] Main: Cache path: /home/tamodolo/.cache/jellyfin
[18:18:23] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/jellyfin-web
[18:18:23] [INF] [1] Main: Application directory: /usr/lib/jellyfin/
[18:18:23] [ERR] [1] Main: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/jellyfin-web. If you do not want to host the web client with the server, you may set the '--nowebclient' command line flag, or set'hostwebclient=false' in your config settings
  • package version(s): 10.9.9-1
  • config and/or log files: jellyfin-server at default config
  • link to upstream bug report, if any:

Steps to reproduce:

  1. Install jellyfin-server from extra
  2. Install jellyfin-web from extra
  3. run jellyfin with default configuration

Solution sugestion

  1. run export JELLYFIN_WEB_DIR=/usr/share/jellyfin/web/ at jellyfin-web install for current session.
  2. add jellyfin-web.sh into /etc/profile.d/ with the same command to add this environ variable at system boot.

This should fix this package not working out of the box.