![]() |
SOLVED: Why Do I Automatically Get Redirected to the API When Connecting to a Server? - 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: Why Do I Automatically Get Redirected to the API When Connecting to a Server? (/t-solved-why-do-i-automatically-get-redirected-to-the-api-when-connecting-to-a-server) |
Why Do I Automatically Get Redirected to the API When Connecting to a Server? - Marxism3327 - 2023-12-15 Version of Jellyfin: 10.8.13 Your installation method: Debuntu Repository (Manual) A brief description of the issue as your thread subject, using the description for additional important context only if required I followed all the steps listed here (https://jellyfin.org/docs/general/installation/linux/). Except for step 4 I just hard coded all the variables: Types: deb URIs: https://repo.jellyfin.org/ubuntu Suites: jammy Components: main Architectures: amd64 Signed-By: /etc/apt/keyrings/jellyfin.gpg Just to be sure I wasn't missing any packages I installed: jellyfin-ffmpeg5/unknown,now 5.1.4-2-jammy amd64 [residual-config] jellyfin-ffmpeg6/unknown 6.0.1-1-jammy amd64 jellyfin-ffmpeg/unknown,now 4.4.1-4-jammy amd64 [installed] jellyfin-server/unknown,now 10.8.13-1 amd64 [installed] jellyfin-web/unknown,now 10.8.13-1 all [installed] jellyfin/unknown 10.8.13-1 all Then I ran jellyfin and got: [08:09:46] [ERR] [1] Main: 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. So I ran jellyfin --nowebclient and it started up without any problems. Finally I try to log into the server from my laptop by entering 10.0.0.203:8096 in the search bar. But I get sent to http://10.0.0.203:8096/api-docs/swagger/index.html .I'm just so confused why it sends be directly to the API and not the regular log in screen. RE: Why Do I Automatically Get Redirected to the API When Connecting to a Server? - Venson - 2023-12-15 When you start without WebUI, how could the server show you the WebUI if you dont enabled it? When you run with --nowebclient it defaults to swaggerUI. Its recommended to follow our documentation for Ubuntu and use the install script that includes the WebUI as well. RE: Why Do I Automatically Get Redirected to the API When Connecting to a Server? - TheDreadPirate - 2023-12-15 Also, why start jellyfin manually instead of with systemctl? RE: Why Do I Automatically Get Redirected to the API When Connecting to a Server? - Marxism3327 - 2023-12-23 That makes a lot of sense @Venson. In my head the jellyfin-web was solely a front end system that only needs to be run on the client side. Idk what gave me that idea. Also @TheDreadPirate I'm hella new to being a sys admin and I had no clue that systemctl existed. Thank you! |