Jellyfin Forum
Try to host the frontend seperately - 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: Try to host the frontend seperately (/t-try-to-host-the-frontend-seperately)



Try to host the frontend seperately - xiNe - 2024-03-12

Hi, i am trying to seperate the jellyfin-web from the jellyfin server and followed the instruction in the official documentation. but the web doesnt populate correctly.
i have my jellyfin installed on a synology nas via docker, here is the mount path and environment variable i have used
what i have done so far is build the web on my machine and put it in the local folder "/docker/jellyfin/config/jellyfin-web"
am i doing something wrong?
           
this is the documentation i am relying on;
https://jellyfin.org/docs/general/administration/configuration#web-directory
and the instruction on this github repo to build my own web;
https://github.com/jellyfin/jellyfin-web
https://github.com/jellyfin/jellyfin


RE: Try to host the frontend seperately - TheDreadPirate - 2024-03-13

AFAIK, there is no way to replace jellyfin-web in docker.


RE: Try to host the frontend seperately - TheDreadPirate - 2024-03-13

Correction. You would just completely host it separately from your docker image. But would require you use nginx or something to serve it up. Then when you access this "external" jellyfin-web it would prompt you to "select" a server. Which would be the docker container.


RE: Try to host the frontend seperately - xiNe - 2024-03-13

so there is no way to just mount and map the volume to show the web file? because my initial intention is to access those html or js file and modify them.


RE: Try to host the frontend seperately - TheDreadPirate - 2024-03-13

I recall someone else trying that and it also behaved the same as what you saw.


RE: Try to host the frontend seperately - xiNe - 2024-03-14

hoping if anyone can help


RE: Try to host the frontend seperately - niels - 2024-03-14

You don't need to host a separate web client. It is included with the server automatically.


RE: Try to host the frontend seperately - TheDreadPirate - 2024-03-14

I'm ASSUMING they are trying to host a separate web client for testing or something. If not, what niels said. It is built into the docker.


RE: Try to host the frontend seperately - xiNe - 2024-03-14

I am trying to host it separately or map it to an actual folder because I want to edit the frontend. but I couldn't find a way to do so at the moment :"(


RE: Try to host the frontend seperately - TheDreadPirate - 2024-03-14

(2024-03-14, 07:05 PM)xiNe Wrote: I am trying to host it separately or map it to an actual folder because I want to edit the frontend. but I couldn't find a way to do so at the moment :"(

I think the way I stated might work (idea courtesy of Felix).

Install jellyfin-web on the host machine, install nginx or your preferred http server, have the http server host jellyfin-web.  In a direct OS install of Jellyfin you can specify in the service to not include jellyfin-web.  I'm not sure if that is possible with a docker install.

I'm sure I'm missing some steps somewhere.  This would be a lot more straight forward if the jellyfin server was a direct install instead of Docker.