I’ve updated jellyfin today. And now I can’t access the webui. I get this error and I don’t know how to proceed. What should I do?
15:23:30] [FTL] [1] Main: Error while starting server.
System.InvalidOperationException: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/bin/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.
can you share some more information on your system. What SBC uses? what image version used? Your DietPi version? Where did you find this error message?
[16:47:26] [INF] [1] Main: Jellyfin version: 10.7.0
[16:47:26] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /root/.local/share/jellyfin/log]"]
[16:47:26] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll"]
[16:47:26] [INF] [1] Main: Operating system: Linux
[16:47:26] [INF] [1] Main: Architecture: Arm
[16:47:26] [INF] [1] Main: 64-Bit Process: False
[16:47:26] [INF] [1] Main: User Interactive: True
[16:47:26] [INF] [1] Main: Processor count: 4
[16:47:26] [INF] [1] Main: Program data path: /root/.local/share/jellyfin
[16:47:26] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
[16:47:26] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
[16:47:27] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /root/.cache/jellyfin
[16:47:27] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[16:47:27] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
[16:47:27] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[16:47:27] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[16:47:27] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
[16:47:27] [FTL] [1] Main: Error while starting server.
System.InvalidOperationException: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/bin/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.
at Jellyfin.Server.Program.StartApp(StartupOptions options)
[16:47:27] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
[16:47:27] [INF] [2] Main: Received a SIGTERM signal, shutting down
Also if you end up removing dir /usr/share/jellyfin/web, you also lose given config file. So either back it up, or pull new from the same debian package. I had to do it manually for some reason.