# Jellyfin doesn't start after update

**URL:** https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079
**Category:** General Discussion
**Created:** [9 March 2021 14:29 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079 "2021-03-09T14:29:06Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![barukh](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/f19dbf/32.png) [@barukh](https://dietpi.com/forum/u/barukh)
#### Post date: [9 March 2021 14:29 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/1 "2021-03-09T14:29:06Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [9 March 2021 14:36 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/2 "2021-03-09T14:36:34Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![barukh](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/f19dbf/32.png) [@barukh](https://dietpi.com/forum/u/barukh)
#### Post date: [9 March 2021 14:43 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/3 "2021-03-09T14:43:12Z")

</div>

> [@](#):
>
> 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.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [9 March 2021 14:45 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/4 "2021-03-09T14:45:51Z")

</div>

64bit or 32bit image?

---

<div class="post-metadata">

### Author: ![barukh](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/f19dbf/32.png) [@barukh](https://dietpi.com/forum/u/barukh)
#### Post date: [9 March 2021 14:54 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/5 "2021-03-09T14:54:17Z")

</div>

DietPi v7.0.2  
armv7l

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [9 March 2021 15:35 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/6 "2021-03-09T15:35:59Z")

</div>

can you have a look to journalctl -u jellyfin.service

---

<div class="post-metadata">

### Author: ![barukh](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/f19dbf/32.png) [@barukh](https://dietpi.com/forum/u/barukh)
#### Post date: [9 March 2021 15:42 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/7 "2021-03-09T15:42:30Z")

</div>

What should I look for?

Thanks.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [9 March 2021 15:43 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/8 "2021-03-09T15:43:29Z")

</div>

error messages 🙂

or just share the log output journalctl -u jellyfin.service

---

<div class="post-metadata">

### Author: ![barukh](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/f19dbf/32.png) [@barukh](https://dietpi.com/forum/u/barukh)
#### Post date: [9 March 2021 15:48 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/9 "2021-03-09T15:48:37Z")

</div>

No errors there.

The only one I got is this one:

```nohighlight
[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

```

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [9 March 2021 15:54 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/10 "2021-03-09T15:54:21Z")

</div>

can you share Jellyfin config file as well as service configuration

```nohighlight
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

```nohighlight
[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

```nohighlight
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

```

---

<div class="post-metadata">

### Author: ![barukh](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/f19dbf/32.png) [@barukh](https://dietpi.com/forum/u/barukh)
#### Post date: [9 March 2021 16:27 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/11 "2021-03-09T16:27:24Z")

</div>

I found a solution.

[https://github.com/jellyfin/jellyfin/issues/5442#issuecomment-794142731](https://github.com/jellyfin/jellyfin/issues/5442#issuecomment-794142731)

-Download manual jellyfin-web package:  
[https://repo.jellyfin.org/releases/server/debian/versions/stable/web/10.7.0/jellyfin-web\_10.7.0-1\_all.deb](https://repo.jellyfin.org/releases/server/debian/versions/stable/web/10.7.0/jellyfin-web_10.7.0-1_all.deb)  
-This package appears to be in the /usr/share/jellyfin/web directory  
-I deleted the contents of that directory manually.  
-I installed the downloaded web package with dpkg -i.  
-The web interface works again! 🙂

EDIT: The interface works but I can’t paly content.

EDIT 2: [https://github.com/jellyfin/jellyfin/issues/5442#issuecomment-794191785](https://github.com/jellyfin/jellyfin/issues/5442#issuecomment-794191785)

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.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [9 March 2021 20:23 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/12 "2021-03-09T20:23:12Z")

</div>

nice you found it. Looks apt package update to latest Jellyfin version has some challenges. good to keep it in mind if there are more users.

---

<div class="post-metadata">

### Author: ![barukh](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/f19dbf/32.png) [@barukh](https://dietpi.com/forum/u/barukh)
#### Post date: [9 March 2021 21:13 UTC](https://dietpi.com/forum/t/jellyfin-doesnt-start-after-update/5079/13 "2021-03-09T21:13:26Z")

</div>

Thank you for your help.
