• 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 Networking & Access Can't Login Through Browser on Local Server

     
    • 0 Vote(s) - 0 Average

    Can't Login Through Browser on Local Server

    Login Issue
    gabrielconroy
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #1
    2024-09-18, 08:36 PM
    After clearing my browser cache, I was asked to log in on my local server through the browser.

    I couldn't remember my password, so went to password reset.

    That generated the local file with the PIN, but after clicking Got It, no dialogue appeared to enter the PIN (I haven't installed any custom CSS).

    I found a workaround on Reddit and used the following code

    curl.exe -X POST -H "Content-Type: application/json" -d "{\"Pin\":\"PIN CODE\"}" http://localhost:8096
    /Users/ForgotPassword/Pin

    which returned

    {"Success":true,"UsersReset":["Ben"]}

    Weirdly, I can now log in to the above user on my Android TV app without entering a password.

    HOWEVER, I still cannot log in through my local machine browser. I still get a Username/Password prompt, and just entering the username without a password doesn't work.

    Any ideas? I guess it's not a disaster at the moment as I only watch videos through the Android TV app, but it's frustrating not to be able to access the server on the machine that's hosting it!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-18, 09:07 PM
    You can re-enable the setup wizard via the system.xml file.

    You don't specify the OS, so here is where it should be located in various OSes.

    Windows - C:\ProgramData\Jellyfin\Server\config\system.xml
    Linux - /etc/jellyfin
    Docker - /config/config/system.xml

    Near the top of that file is "IsStartupWizardComplete". Change the value from true to false, restart jellyfin, and when you access it in the browser it should walk you through the setup process. Only worry about creating a user. This will overwrite the username and password for the admin, but all watch status info is retained since that data is tied to the ID (which is not changed) and not the user name. Skip everything else.
    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]
    gabrielconroy
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #3
    2024-09-18, 09:19 PM
    I just tried that, changed it to false, restarted jellyfin and it took me back to the login page.

    Now when I check system.xml again, the value has changed back to true...!

    I'm starting to think it might be something weird with my browser? Maybe an extension auto-closing a pop up or dialogue?

    Or could the fact that the Android TV app is signed in triggering the startupwizard to think the process has already been completed?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-18, 09:39 PM
    Stop Jellyfin, clear your browser cache, set the field to false, start jellyfin. Does it still take you to the login page?
    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]
    gabrielconroy
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #5
    2024-09-18, 09:47 PM
    OK. I was being an idiot. Clearly I hadn't cleared the cache in between shutting down JF and changing the value.

    Thanks so much!
    gabrielconroy
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #6
    2024-09-23, 06:53 PM
    Hi again - while the above fix reset the password for my account, it seems not to have admin rights. There's a chance that it never had admin rights as it used to log in automatically, and perhaps I'd reset a different account.

    But in any case, could someone point me to how to assign admin rights to an account?

    I've had a look in the jellyfin.db file but don't see anything obvious.

    (I'm on Windows).
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-09-24, 02:26 PM
    When you re-ran the setup wizard, the account you created during that process is THE admin account. You cannot revoke the admin permissions on that account.

    What admin task aren't you able to do?
    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]
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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