DroppedNeedle sends no email, so a reset starts with a recovery code that someone hands you: an admin makes one in the web UI, or whoever runs the server makes one on the host. The code works once, for 15 minutes.
Before you start#
- Know the account’s DroppedNeedle username. It can differ from the name you have at a single sign-on provider.
- An admin’s code only works for an account that already has a password. For an account that only signs in through single sign-on, Plex or Jellyfin, make the code on the host instead: it gives the account its first password.
Get a code from an admin#
An Admin does this part.
Open the Users settings#
Go to Settings › Users and find the person’s row.
Press the key icon#
Press the key icon (Create recovery code for and their name). A dialog asks whether to create a 15-minute, single-use code. Their current password keeps working until the code is used.
Press Create code#
Result: the dialog is now titled Recovery code ready and shows the code, in groups of four characters.
Share the code privately#
Press Copy code and pass it to the person yourself, then press Done. The code isn’t shown again once you close the dialog. Making another code for the same account replaces this one.
Make a code on the host#
Use this when no admin can sign in, for example when single sign-on stopped working. It needs access to the machine DroppedNeedle runs on. The command refuses to run while the server is up, so stop it first. With Docker Compose, the Accounts and sign-in reference gives these commands (droppedneedle is the service name in your compose file):
docker compose stop droppedneedle
docker compose run --rm droppedneedle droppedneedle-tool recovery-code USERNAME
docker compose up -d droppedneedlePut the account’s username in place of USERNAME. The command prints the code and says it is good for 15 minutes and one use. For an account with no password yet, it also says that using the code gives the account its first password, and that its other sign-in methods stay as they are.
- To see the admin usernames, run the same command with
--list-adminsin place of the username. - Without Docker Compose (Unraid, Portainer, Synology), the reference has the
docker runform. - The Forgot password? page has a fold-out, Recover as server owner, that builds the command for you once you type a username there, with a Copy button.
Reset the password#
The person with the code does this part.
Open Forgot password?#
On the sign-in page’s Username tab, press Forgot password?. The page reads Recover your local account.
Enter the username and code#
Fill in Username and Recovery code. Dashes, spaces and capital letters in the code don’t matter.
Choose a new password#
Fill in New password and Confirm password: at least 12 characters. Tick Show passwords to check what you typed.
Press Reset password#
Result: the page reads Password changed and says that all other browser sessions of the account were signed out.
Sign in#
Press Return to sign in and sign in with the username and the new password.
The reset doesn’t change app passwords. If you think someone else got into the account, review them under Profile › Connect Apps after you sign in.
If something went wrong#
Each heading below is the message DroppedNeedle shows, or what you see.
Invalid or expired recovery code
The code is wrong, more than 15 minutes old, already used, or replaced by a newer one, or the username doesn’t belong to the account the code was made for. DroppedNeedle gives the same message for all of these, on purpose. Check the username and ask for a new code.
The key icon is greyed out: This account does not have a local password
The account signs in only through single sign-on, Plex or Jellyfin, so an admin can’t make a code for it. Make the code on the host instead. If the person can still sign in their usual way, they can add a password themselves: see Set a password.
Password sign-in is turned off on this server.
The server runs with ALLOW_PASSWORD_LOGIN=false, which also turns off recovery, and admins see no key icon at all. Start it again with ALLOW_PASSWORD_LOGIN=true (or without the variable), reset the password, and turn it back off once you’re in.
Passwords do not match
New password and Confirm password differ. Type them again, or tick Show passwords to compare.
This password has appeared in a known data breach. Please choose a different password.
The new password is on a breach list. Choose another one.
The data directory is in use (… is locked). Stop the server first, then run this again.
The host command found the server running. Stop it, run the command, then start the server again.
No user named …
No account has that username. Use the DroppedNeedle username, which isn’t always the name the account has at a single sign-on provider. Run the command with --list-admins to see the admin usernames.