For troubleshooting questions, please post in the following format:
Summary
Hey everyone. I locked myself out of mattermost.
I have setup an mattermost installation on gitlab. But I forgot to save the password from the user (and the username)
Steps I took
I have tried to remove the database and reconfigure GitLab (and mattermost), but it fails to remove the database
When I do this I get:
ERROR: database “mattermost_production” is being accessed by other users
DETAIL: There are 5 other sessions using the database.
I can’t reset it using mail, since smtp is not yet enabled