If you have locked yourself out of sentry but still have ssh access to the server, you can reset the password in the shell
-
Open the shell in the sentry docker:
cd /data/grape/config/sentry docker-compose exec grapesentry-sentry bash
-
open the sentry/django shell:
sentry shell
-
Change the password (make sure to use a better password than 12345):
from sentry.models import User user = User.objects.get(id=1) user.set_password("12345") user.save()
-
press Ctrl+D twice to exit