Jellyfin doesn't start after update Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
barukh
Posts: 11
Joined: Sat Dec 19, 2020 9:41 pm

Jellyfin doesn't start after update

Post by barukh »

Hi there!

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.

Thanks.
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Jellyfin doesn't start after update

Post by Joulinar »

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?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
barukh
Posts: 11
Joined: Sat Dec 19, 2020 9:41 pm

Re: Jellyfin doesn't start after update

Post by barukh »

Joulinar wrote: Tue Mar 09, 2021 3:36 pm 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?
That's true! Sorry, my bad.

I use a RPi4 and it runs DietPi v7.0.

I can't reach the webui and, when I type jellyfin in the terminal, I get this error.

Thanks.
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Jellyfin doesn't start after update

Post by Joulinar »

64bit or 32bit image?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
barukh
Posts: 11
Joined: Sat Dec 19, 2020 9:41 pm

Re: Jellyfin doesn't start after update

Post by barukh »

DietPi v7.0.2
armv7l
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Jellyfin doesn't start after update

Post by Joulinar »

can you have a look to journalctl -u jellyfin.service
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
barukh
Posts: 11
Joined: Sat Dec 19, 2020 9:41 pm

Re: Jellyfin doesn't start after update

Post by barukh »

What should I look for?

Thanks.
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Jellyfin doesn't start after update

Post by Joulinar »

error messages :)

or just share the log output journalctl -u jellyfin.service
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
barukh
Posts: 11
Joined: Sat Dec 19, 2020 9:41 pm

Re: Jellyfin doesn't start after update

Post by barukh »

No errors there.

The only one I got is this one:

Code: Select all

[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
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Jellyfin doesn't start after update

Post by Joulinar »

can you share Jellyfin config file as well as service configuration

Code: Select all

cat /etc/default/jellyfin
systemctl cat jellyfin.service
Your system seems to be running on some kind of default config and not like a instance installed by DietPi

Your config seems to be default

Code: Select all

[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
while this is how it should looks like

Code: Select all

Mar 09 16:34:24 DietPi4 jellyfin[3920]: [16:34:24] [INF] Program data path: /mnt/dietpi_userdata/jellyfin
Mar 09 16:34:24 DietPi4 jellyfin[3920]: [16:34:24] [INF] Web resources path: /usr/share/jellyfin/web
Mar 09 16:34:24 DietPi4 jellyfin[3920]: [16:34:24] [INF] Application directory: /usr/lib/jellyfin/bin/
Mar 09 16:34:25 DietPi4 jellyfin[3920]: [16:34:25] [INF] Setting cache path: /mnt/dietpi_userdata/jellyfin/cache
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply