![]() |
|
How to Reset Sentry User Password via Docker Compose - Printable Version +- DevOps Discussion Forum (https://forums.geekssolutions.io) +-- Forum: Cloud Computing (https://forums.geekssolutions.io/forumdisplay.php?fid=10) +--- Forum: DevOps (https://forums.geekssolutions.io/forumdisplay.php?fid=14) +--- Thread: How to Reset Sentry User Password via Docker Compose (/showthread.php?tid=6) |
How to Reset Sentry User Password via Docker Compose - santosh - 04-07-2026 How to Reset Sentry User Password via Docker Compose Overview This guide explains how to reset a user password in Sentry when it is running via Docker Compose. Prerequisites
Step 1 - Navigate to Sentry Directory Run on: Sentry Server Code: cd /root/24x7/sentry.io/self-hostedStep 2 - Access the Sentry Shell Run on: Sentry Server Access the Sentry shell inside the running container: Code: docker-compose exec web sentry shellStep 3 - Reset the Password Run inside: Sentry Shell Run the following Python commands to reset the user password: Code: from django.contrib.auth.models import UserExpected Output: Code: Password reset successful for user@yourdomain.comStep 4 - Exit the Shell Run inside: Sentry Shell Code: exit()Step 5 - Verify Login
Summary
|