• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Why Do I Automatically Get Redirected to the API When Connecting to a Server?

     
    • 0 Vote(s) - 0 Average

    SOLVED: Why Do I Automatically Get Redirected to the API When Connecting to a Server?

    Marxism3327
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    #1
    2023-12-15, 08:20 AM
    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.
    Be Gay. Do Crimes. Burn Capitalism.
    Go to solution
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 383
    Threads: 8
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #2
    2023-12-15, 08:22 AM (This post was last modified: 2023-12-15, 08:23 AM by Venson. Edited 1 time in total.)
    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.
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2023-12-15, 05:05 PM
    Also, why start jellyfin manually instead of with systemctl?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    1
    Marxism3327
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    #4
    2023-12-23, 07:51 AM
    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!
    Be Gay. Do Crimes. Burn Capitalism.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode