you both could use mmctl to reset the password or the e-mail address.
Depending on your deployment mode, you can access mmctl either directly from the console of your Mattermost server, or by starting it from within the container.
docker exec -ti <mattermost-container-id> mmctl ... or just mmctl ....
Since mmctl requires authentication, you should first make sure that EnableLocalMode is set to true in your config.json and restart the server, after that, you’re able to bypass user authentication via mmctl --local and can then use the user router to reset passwords, change e-mail addresses, create new accounts, etc.
Let me know if I should be more specific on any part of what I said so far and please help me doing so by providing more information about your deployment.
Hi Alexander,
this solved my problem in a similar situation.
I have the config.json mounted as a bind mount on my host filesystem, so I edited the EnableLocalMode and restarted the server and postgres via the docker-compose up command.
I then entered MM container and from there mmctl --local and then mmctl user change-password.
@underdark456 did you restart the Mattermost container? And make sure that the volume mount for /var/tmp is writable by the Mattermost user in the container?