Jellyfin Forum
Lost password - 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: Lost password (/t-lost-password)



Lost password - LarkDarklin - 2024-09-05

All - 

Lost admin pw to JF. Found a few posts on how to reset the password by getting to the config file, but I can't find the config file anywhere. I can't find a Jellyfin file structure anywhere! 

After stopping the container, no Jellyfin folder under the container/docker file structure. 

What am I missing? JF is working as I can access when starting the container. Self-service PW recovery does not work. 

Help. 

Thanks!!!

       


RE: Lost password - TheDreadPirate - 2024-09-05

There is a config FOLDER you need to look in. When creating the container for Jellyfin you should be creating a volume to mount /config to for the container to use. In that folder there will file with the pin.


RE: Lost password - Hectik - 2024-09-05

Where are you running Docker?

Without knowing much about how you are running docker and consequently jellyfin, I would sugest "docker exec" into your jellyfin container and change the config file in question.

OR

if you want to customize your jellyfin instance in the future, copying the /config and /usr/share/jellyfin/web folders from your jellyfin container to your host, make any changes to the files, in this case the config file you mentioned, and mount the directories on your host to your jellyfin container in the docker compose file.

Example below:

Code:
volumes:
      - ./<your-host-directory>/config:/config
      - ./<your-host-directory>/www:/usr/share/jellyfin/web



RE: Lost password - Efficient_Good_5784 - 2024-09-05

I'm going to guess you're running Jellyfin on a Synology NAS unit due to the screenshots.

Looks like you don't have the config folder mounted externally from the Jellyfin Docker container.
I would work on figuring out how to pull that data and mounting it externally so if you ever upgrade your container, you don't lose your current configs, watch status data, etc.

Assuming this is using DSM 7:
  1. Go to the Container Manager app.
  2. Go to the Container page.
  3. Click on the Jellyfin container to open it.
  4. Click on the "Action" button, then on the "Open terminal" option.
  5. Click on the "Create" button (which will create a new bash terminal).
  6. In the terminal, type: cd /config
  7. You should now be in the config folder where the reset password file is located. Type: cat <password-reset-file-name.json>

For step 7, once you use cat on the file, it will print it out onto the screen where you'll be able to see the pin.

Note:
  • You should understand that the pin is case sensitive. You also don't need the "-" marks.
  • So if your pin found in the json file is: 2D-44-12-3E
  • Your reset pin should be: 2D44123E
  • After you reset the password, the pin becomes your new password.