Few times a forgot admin password in Jellyfin. found simple way to reset this password.
- login to DietPi and stop Jellyfin by this command
dietpi-services stop jellyfin
- Edit file /etc/jellyfin/system.xml
nano /etc/jellyfin/system.xml
Find this line in file (now it is 4th line).
<IsStartupWizardCompleted>true</IsStartupWizardCompleted>
- Change true to false
- Save file by pressing CTRL-S and then CTRL-X
- Start Jellyfin by this command.
dietpi-services start jellyfin
- Open web browser with http://IP-ADRESS-OF-YOUR-DIETPI:8096/
- Create new ADMIN account.
1 Like
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/administration/troubleshooting.html#unlock-locked-user-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.
I didn’t checked that I always created the same name account.
Okay when its the same name, then obviously it overwrites the existing command .
Thank you so much very helpful