Jellyfin Forum
How to unlock the administrator account - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: How to unlock the administrator account (/t-how-to-unlock-the-administrator-account)



How to unlock the administrator account - CCK - 2023-10-04

Excuse me guys, I was locked out of my administrator account after entering the wrong password multiple times.
I can no longer log into my administrator account, even if I try to reset my password.
I checked the jellyfin documentation and it only describes how to unlock a user with an admin account and doesn't explain how to unlock an admin account.
How do I unlock the administrator account? Thanks!


RE: How to unlock the administrator account - TheDreadPirate - 2023-10-04

You will need to edit your system.xml file.

Stop Jellyfin.

In Windows I can't remember the exact path. Somewhere in...

C:\ProgramData\Jellyfin\Server

In Linux

/etc/Jellyfin/system.xml

Switch this line near the top from true to false.

<IsStartupWizardCompleted>true</IsStartupWizardCompleted>

Start Jellyfin.


RE: How to unlock the administrator account - CCK - 2023-10-04

Thank you very much for your help! But this method enables the initial wizard to create users, but the new users created are still locked, so this method cannot solve my problem.

Jellyfin version: jellyinf/jellyin 10.8.11
Installation method: docker


RE: How to unlock the administrator account - skribe - 2023-10-04

Try this solution instead: https://jellyfin.org/docs/general/administration/troubleshooting/#unlock-locked-user-account


RE: How to unlock the administrator account - jamesatlinux - 2024-02-25

Wow! If you get locked out you are presented with:
CAUTION
Manual changes to the database can destroy your instance beyond repair. to prevent this create a copy of your database before executing: cp /PATH/TO/JELLYFIN/DB/jellyfin.db /PATH/TO/JELLYFIN/DB/jellyfin.db.bck

I guess Jellyfin will be a fringe app. You have to learn Sqlite if you make a common mistake of locking yourself out. Not to mention that half of the tutorials are invalid since they changed where the database even is. SCARY!


RE: How to unlock the administrator account - Efficient_Good_5784 - 2024-02-25

(2024-02-25, 03:46 AM)jamesatlinux Wrote: Wow!  If you get locked out you are presented with:
CAUTION
Manual changes to the database can destroy your instance beyond repair. to prevent this create a copy of your database before executing: cp /PATH/TO/JELLYFIN/DB/jellyfin.db /PATH/TO/JELLYFIN/DB/jellyfin.db.bck
The documentation is giving you the command to make a copy of the database. You just need to replace the paths with the correct paths.

I would suggest turning off the Jellyfin server before copying the database to avoid copying it while it's being modified.

(2024-02-25, 03:46 AM)jamesatlinux Wrote: I guess Jellyfin will be a fringe app.  You have to learn Sqlite if you make a common mistake of locking yourself out.  Not to mention that half of the tutorials are invalid since they changed where the database even is.  SCARY!
The documentation link provided earlier in this thread shows how to install sqlite3 on a Debian-based OS and what to do with it.

The hard part about finding the database file is finding where your Jellyfin config folder is located. Once you know where your config folder is at, the db files are located in the data folder. Use that path with sqlite3.


RE: How to unlock the administrator account - abpjf - 2024-02-26

always have >1 administrator accounts, some would point out that it's a security issue in general to think that way, but for some implementations (like a home media server, vs say, a missile launch facility lol) who cares? I've had to resort to backup admin accounts plenty of times over the years - you never know if the system in question just horks for no specific reason outside of password-attempt locks.