• 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 Lost access to admin

     
    • 0 Vote(s) - 0 Average

    Lost access to admin

    Locked out of admin account. (Disabled)
    dwjelly
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #1
    2024-04-23, 11:48 AM (This post was last modified: 2024-04-23, 12:01 PM by dwjelly. Edited 1 time in total.)
    I somehow locked myself out of the admin account. I was creating other accounts and then tried to get into admin, and it failed. I tried the password reset and it did not work. The account is disabled. I have tried to follow along to the reset admin account instructions but seem to be at a standstill. When I access the database with the command sqlite3 /var/lib/jellyfin/data/jellyfin.db and then ...

    UPDATE Users SET InvalidLoginAttemptCount = 0 WHERE Username = 'LockedUserName';
    UPDATE Permissions SET Value = 0 WHERE Kind = 2 AND UserId IN (SELECT Id FROM Users WHERE Username = 'LockedUserName');
    .exit

    Nothing seems to happen. It just stays on the database tool. How do I get past this?

    Thanks for any input on this.


    Attached Files Thumbnail(s)
           
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-04-23, 01:02 PM (This post was last modified: 2024-04-23, 01:03 PM by TheDreadPirate. Edited 1 time in total.)
    Pretty sure that just unlocks the account, doesn't reset the password. What you can do if the password reset function isn't working is to re-enable the start up wizard.

    After you've unlocked your account stop Jellyfin.

    Code:
    sudo systemctl stop jellyfin

    Open the system.xml.

    Code:
    sudo nano /etc/jellyfin/system.xml

    Near the top there will be a line named "IsStartupWizardComplete" which is currently true. Set it to false. Save and quit.

    Restart Jellyfin

    Code:
    sudo systemctl start jellyfin

    When you access Jellyfin it will go through the admin account setup process, including setting the password. Skip all the other steps.
    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: 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