• 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 SOLVED: Locked out of admin account

     
    • 0 Vote(s) - 0 Average

    SOLVED: Locked out of admin account

    Edited jellyfin.db, run start up wizard again, no luck.
    toparity
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    #8
    2024-02-22, 09:04 PM (This post was last modified: 2024-02-22, 09:05 PM by toparity.)
    So, an update. I ran these commands:

    Quote:docker stop jellyfin
    UPDATE Users SET InvalidLoginAttemptCount = 0 WHERE Username = '[MyAdminUsernameHere]';
    UPDATE Permissions SET Value = 0 WHERE Kind = 2 AND UserId IN (SELECT Id FROM Users WHERE Username = '[MyAdminUsernameHere]');
    UPDATE Permissions SET Value = 1 WHERE (Kind = 0 OR Kind = 3 OR Kind = 4 OR Kind = 5 OR Kind = 6 OR Kind = 7 OR Kind = 8 OR Kind = 9 OR Kind = 10 OR Kind = 11 OR Kind = 12 OR Kind = 13 OR Kind = 14 OR Kind = 15 OR Kind = 16 OR Kind = 17 OR Kind = 18 OR Kind = 19 OR Kind = 20 OR Kind = 21) AND UserId IN (SELECT Id FROM Users WHERE Username = '[MyAdminUsernameHere]');
    docker start jellyfin

    This didn't work.

    But, I did get it working eventually. The problem, once again, was me. Turns out I need to touch up on my docker skills. I had started jellyfin using docker compose, yet I was using standard docker commands to try and stop it to edit the database. At some point I had accidentally started a standard docker instance too, I had two of the little fuckers running at the same time and things got messy. What I should have done is "docker compose down" to stop jellyfin, edit the database and then run "docker compose up".
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Locked out of admin account - by toparity - 2024-02-21, 10:26 PM
    RE: Locked out of admin account - by TheDreadPirate - 2024-02-21, 11:01 PM
    RE: Locked out of admin account - by toparity - 2024-02-21, 11:03 PM
    RE: Locked out of admin account - by TheDreadPirate - 2024-02-21, 11:04 PM
    RE: Locked out of admin account - by toparity - 2024-02-21, 11:08 PM
    RE: Locked out of admin account - by TheDreadPirate - 2024-02-21, 11:20 PM
    RE: Locked out of admin account - by toparity - 2024-02-21, 11:37 PM
    RE: Locked out of admin account - by toparity - 2024-02-22, 09:04 PM

    • 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