Skip to main content

Create Super Admin / Reset Passwords

Per Pinry's docs:

Currently we don't have a good "forgot my password" method on Pinry since that generally requires an email to be sent. The current method for changing passwords involves:

If you use that command to create superuser inside docker, you could first exec to docker via command like docker exec -it <container-id> bash and then use python manage.py createsuperuser --settings=pinry.settings.docker

Using Portainer

Login to portainer and find your Pinry container:

image-1648337203880.png

Now click the "Exec Console" icon:

image-1648337266019.png

Click "Connect":

image-1648337295473.png

Run the following commands:

python manage.py createsuperuser --settings=pinry.settings.docker

You'll be prompted to create a new super user:

image-1648337877943.png

Enter a new username for the super user account and press Enter.

Now enter an email address for the user. Press Enter.

Now enter a password for the user. Press Enter.

Re-enter the same password for the user. Press Enter.

Login as Admin

Now you can go to: https://your-pinry-url.com/admin and login with the newly created super user account. From here you can manage users including creating/deleting them as well as updating their password.

image-1648338080947.png