Jellyfin Forum
SOLVED: web client error - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: web client error (/t-solved-web-client-error)



web client error - angry04 - 2023-12-13

so, after an update ~a month ago, my jellyfin dont start after a reboot, and i got the error "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." I even transfered the media to a lxc, since it was in a vm, but the error persists.


RE: web client error - tmsrxzar - 2023-12-13

then where are you in tracking this down?

is the server supposed to host jellyfin-web? if not, did you add the --nowebclient to the commandline or the ostwebclient=false to your config?
what is the contents of /usr/lib/jellyfin/bin/jellyfin-web and is the datadir set correctly

you haven't provided much information, i caught that lxc is involved somehow but other than that nothing but an error message


RE: web client error - angry04 - 2023-12-13

(2023-12-13, 04:13 AM)tmsrxzar Wrote: then where are you in tracking this down?

is the server supposed to host jellyfin-web? if not, did you add the --nowebclient to the commandline or the ostwebclient=false to your config?
what is the contents of /usr/lib/jellyfin/bin/jellyfin-web and is the datadir set correctly

you haven't provided much information, i caught that lxc is involved somehow but other than that nothing but an error message

Yes, its supposed to host the  jellyfin web too, this error was also happening in the vm, both ubuntu 22.04


RE: web client error - TheDreadPirate - 2023-12-13

How are you starting jellyfin? It sounds like you are manually starting it instead of using "sudo systemctl start jellyfin"


RE: web client error - angry04 - 2023-12-13

(2023-12-13, 04:58 PM)TheDreadPirate Wrote: How are you starting jellyfin?  It sounds like you are manually starting it instead of using "sudo systemctl start jellyfin"

i was indeed manually starting, since it wasnt starting after a reboot
I tried the " sudo systemctl start jellyfin", but no results


RE: web client error - TheDreadPirate - 2023-12-13

How did you install Jellyfin in Ubuntu? And what is the output of "sudo systemctl status jellyfin"?


RE: web client error - angry04 - 2023-12-15

(2023-12-13, 08:05 PM)TheDreadPirate Wrote: How did you install Jellyfin in Ubuntu?  And what is the output of "sudo systemctl status jellyfin"?

I installed using the command on the jellyfin site,
the output is 
Code:
* jellyfin.service - Jellyfin Media Server
    Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
            `-jellyfin.service.conf
    Active: active (running) since Wed 2023-12-13 17:02:48 -03; 1 day 8h ago
  Main PID: 152 (jellyfin)
      Tasks: 20 (limit: 18453)
    Memory: 258.9M
        CPU: 3min 24.863s
    CGroup: /system.slice/jellyfin.service
            `-152 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg

Dec 14 23:02:55 jellyfish jellyfin[152]: [23:02:55] [INF] Defined LAN exclusions : []
Dec 14 23:02:55 jellyfish jellyfin[152]: [23:02:55] [INF] Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
Dec 15 00:02:56 jellyfish jellyfin[152]: [00:02:56] [INF] Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
Dec 15 00:02:56 jellyfish jellyfin[152]: [00:02:56] [INF] Defined LAN exclusions : []
Dec 15 00:02:56 jellyfish jellyfin[152]: [00:02:56] [INF] Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
Dec 15 01:02:55 jellyfish jellyfin[152]: [01:02:55] [INF] Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
Dec 15 01:02:55 jellyfish jellyfin[152]: [01:02:55] [INF] Defined LAN exclusions : []
Dec 15 01:02:55 jellyfish jellyfin[152]: [01:02:55] [INF] Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]

Even though it says it's active, I can't access it


RE: web client error - TheDreadPirate - 2023-12-15

Did you add a firewall rule to allow port 8096?

Code:
sudo ufw enable
sudo ufw allow 8096



RE: web client error - angry04 - 2023-12-16

(2023-12-15, 04:45 AM)TheDreadPirate Wrote: Did you add a firewall rule to allow port 8096?

Code:
sudo ufw enable
sudo ufw allow 8096

i totally forgot the firewall, now its working, thanks!