Password reset issue

Portainer is a lightweight management UI which allows you to easily manage your Docker host or Swarm cluster.

Moderator: Lillian.W@AST

Post Reply
dkobelak
Posts: 101
youtube meble na wymiar Warszawa
Joined: Wed Jun 08, 2016 2:21 am

Password reset issue

Post by dkobelak »

Recently when I updated to latest portainer version I was asked to update the password.. unfortunately, now I completely forgot the new password.. i looked around how to reset it and I am having a problem with the commands.. basically i keep getting a message that the portainer.db is not found when it's trying to reset the password.. i assume it has something to do with the folder location on asustor.. has anyone been able to successfully reset their password? I'm hoping someone can help me with this.. below are the commands I am using

docker container stop PortainerCE

docker run --rm -v portainer_data:/data portainer/helper-reset-password

docker container start PortainerCE


Basically i think the issue is somewhere in the middle line.. i just don't know how to point it to proper folder asustor uses
AS-5104T running stock memory;RAID 5 - 4x3TB Toshiba DT01ACA300;BIOS: v1.21 - ADM: 4.0.4.RQO2
AS-6204T running stock memory;RAID 5 - 3x8TB Seagate Ironwolf ST8000VN0022;BIOS: v2.23 - ADM: 4.0.4.RQO2
dkobelak
Posts: 101
Joined: Wed Jun 08, 2016 2:21 am

Re: Password reset issue

Post by dkobelak »

so i got it figured out in case anyone ever has to go though this on an asustor NAS...

sudo su
(Enter your password to get permissions)

docker container stop PortainerCE
(This stops Portainer)

docker run --rm -v /volume1/Docker/PortainerCE/data:/data portainer/helper-reset-password
(You will will get a new password after running this command)

docker container start PortainerCE
(This starts Portainer)
Last edited by dkobelak on Wed Jun 22, 2022 5:59 am, edited 6 times in total.
AS-5104T running stock memory;RAID 5 - 4x3TB Toshiba DT01ACA300;BIOS: v1.21 - ADM: 4.0.4.RQO2
AS-6204T running stock memory;RAID 5 - 3x8TB Seagate Ironwolf ST8000VN0022;BIOS: v2.23 - ADM: 4.0.4.RQO2
User avatar
Nazar78
Posts: 2065
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Password reset issue

Post by Nazar78 »

Thanks for sharing, might be useful to someone one day.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
alt_f4
Posts: 9
Joined: Wed Feb 15, 2023 8:54 pm

Re: Password reset issue

Post by alt_f4 »

Thanks @dkobelak
comix21
Posts: 3
Joined: Sat Mar 16, 2024 6:39 pm

Re: Password reset issue

Post by comix21 »

dkobelak wrote:
> so i got it figured out in case anyone ever has to go though this on an
> asustor NAS...
>
> [b]sudo su[/b]
> [i](Enter your password to get permissions)[/i]
>
> [b]docker container stop PortainerCE[/b]
> [i](This stops Portainer)[/i]
>
> docker run --rm -v /volume1/Docker/PortainerCE/data:/data
> portainer/helper-reset-password
> [i](You will will get a new password after running this command)[/i]
>
> [b]docker container start PortainerCE[/b]
> [i](This starts Portainer)[/i]
Hi and thanks, got this problem too, not a pro in terminal, wasnt able to reset by portainer reccomended code.
This helped
/volume1/Docker/PortainerCE/data:/data
> portainer/helper-reset-password
Post Reply

Return to “Portainer”