• 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: Support

     
    • 0 Vote(s) - 0 Average

    SOLVED: Support

    Lost admin access
    lokize
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 May
    Reputation: 0
    Country:Brazil
    #1
    2025-05-21, 04:30 PM
    Hi everyone,

    I'm facing a serious issue with my Jellyfin server.
    Out of nowhere, my admin access was lost. I tried to reset the setup by editing the system.xml file and setting:

    <IsStartupWizardCompleted>false</IsStartupWizardCompleted>

    Then I restarted the server and went through the setup wizard again. However, when I tried to use my original username during the setup, it threw a unique constraint error. So I used a different name, but Jellyfin somehow linked it to an existing user instead of creating a new one.

    Now when I log in, I don't get access to the admin dashboard at all — even with the newly created account. It looks like I'm stuck without any way to manage my server, and I'm really worried about losing all my existing configurations.
    Has anyone faced this before or knows how I can restore admin access without wiping everything?

    Thanks in advance for any help!
    Go to solution
    bitmap
    Offline

    Community Moderator

    Posts: 817
    Threads: 9
    Joined: 2023 Jul
    Reputation: 26
    #2
    2025-05-21, 05:35 PM
    Have you tried that process again? That should be the solution. You may also want to load it back up after re-enabling the startup wizard using an incognito window and/or clear your cache.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    lokize
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 May
    Reputation: 0
    Country:Brazil
    #3
    2025-05-21, 06:25 PM
    Yes, I did all of that. I even opened the jellyfin.db file and tried deleting my old user. But when I create it again, it overwrites an existing user that was already there — and that user wasn’t an admin. I honestly don’t know what else to try at this point.

    Thank you in advance for any help. I really appreciate it!
    bitmap
    Offline

    Community Moderator

    Posts: 817
    Threads: 9
    Joined: 2023 Jul
    Reputation: 26
    #4
    2025-05-21, 07:30 PM
    So maybe an elementary question, but did you stop the container, REMOVE the container, modify system.xml, then restart? Removing the container is a required step, otherwise you're just starting the same one. The other topic about passwords reminded me.

    You could also try the Forgot Password workflow. Click forgot password on the login screen, complete the form, check your server for the code required to reset the password.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    lokize
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 May
    Reputation: 0
    Country:Brazil
    #5
    2025-05-21, 07:49 PM
    I have now tried all the points you mentioned and it didn't work either
    bitmap
    Offline

    Community Moderator

    Posts: 817
    Threads: 9
    Joined: 2023 Jul
    Reputation: 26
    #6
    2025-05-21, 08:08 PM
    If you're experiencing the exact same behavior for all of these, there's something wrong with the setup. Re-running the setup wizard is the easiest step and should work right off the bat. The forgot password workflow -- using it for your admin user -- should work as well, though it's a bit wonky.

    Run the startupwizard with a completely new, completely random name and password. If that doesn't work, I'm out of ideas...

    The only other options I can find are here: https://jellyfin.org/docs/general/admini...er-account
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    lokize
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 May
    Reputation: 0
    Country:Brazil
    #7
    2025-05-21, 10:03 PM
    I had already tried all of those steps, and none of them worked. No matter which user I created, it would always link to an existing one without admin permissions. However, I ended up trying something completely different:

    I opened the database and deleted all users

    I set <IsStartupWizardCompleted>false</IsStartupWizardCompleted>

    I restarted the service and recreated the admin user — and it worked.

    Thanks for the support, and I hope this helps others who run into the same issue!
    bitmap
    Offline

    Community Moderator

    Posts: 817
    Threads: 9
    Joined: 2023 Jul
    Reputation: 26
    #8
    2025-05-21, 10:12 PM
    Well sheesh. Good on you for continuing to try and for leaving the answer for folks at the end of their rope. Been there.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    « Next Oldest | Next Newest »

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