Jellyfin - resest admin password

Guides and tutorials for various stuff. Posted by DietPi users.
Post Reply
KamikazeePL
Posts: 33
Joined: Sat Nov 21, 2020 5:57 pm

Jellyfin - resest admin password

Post by KamikazeePL »

Few times a forgot admin password in Jellyfin. found simple way to reset this password.

1. login to DietPi and stop Jellyfin by this command
dietpi-services stop jellyfin
2. Edit file /etc/jellyfin/system.xml
nano /etc/jellyfin/system.xml
Find this line in file (now it is 4th line).

Code: Select all

<IsStartupWizardCompleted>true</IsStartupWizardCompleted>
3. Change true to false
4. Save file by pressing CTRL-S and then CTRL-X
5. Start Jellyfin by this command.
dietpi-services start jellyfin
6. Open web browser with http://IP-ADRESS-OF-YOUR-DIETPI:8096/
7. Create new ADMIN account.
User avatar
MichaIng
Site Admin
Posts: 3514
Joined: Sat Nov 18, 2017 6:21 pm

Re: Jellyfin - resest admin password

Post by MichaIng »

Many thanks for sharing.

Does this only allow to create a new additional admin account, or does it replace the old one as well?

Here are also instructions in case the user got locked: https://jellyfin.org/docs/general/admin ... er-account

The reset password feature is another alternative, when configured.

And finally I guess it would be possible to apply a new password directly to the database as well. We'd just need to find out how it is hashed or encrypted there.
KamikazeePL
Posts: 33
Joined: Sat Nov 21, 2020 5:57 pm

Re: Jellyfin - resest admin password

Post by KamikazeePL »

I didn't checked that I always created the same name account.
User avatar
MichaIng
Site Admin
Posts: 3514
Joined: Sat Nov 18, 2017 6:21 pm

Re: Jellyfin - resest admin password

Post by MichaIng »

Okay when its the same name, then obviously it overwrites the existing command :).
Post Reply