-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to reset admin password Mailcow Docker? #76
Comments
Hi @garybsimon, For resetting a forgotten admin password, please refer to the docs: https://mailcow.email/dockerized/?c=IV.%20Usage%20and%20Examples&p=Reset_admin.md |
I have tried to get a new password or reset the db but I got this message:
Need assistance :) |
Hi @garybsimon, Try to execute this:
|
DO NOT delete the admin table. This will break the whole installation. It cost me like 1 day to recover everything since I did not have any backup. Use the official way / script from here: https://mailcow.github.io/mailcow-dockerized-docs/debug-reset_pw/ |
I recently have a problem, maybe it can help. Show all running containersdocker compose ps -a Login to your docker containerdocker exec -it sh mailcowdockerized-mysql-mailcow-1 See password from mailcow.confmysql -uroot -p{PASSWORD} mailcow To list the tables within the mailcow database, you can use the following SQL command:MariaDB [mailcow]> SHOW TABLES; SHOW TABLES; Show adminsSELECT * FROM admin; Change password for user
|
It will reset your password and will display new password Please note that this only changes the administrator password and not your password for SoGo or IMAP/SMTP logins. |
Hi,
I'm stucked at login screen.
How can change the admin password at Mailcow Docker version?
The old password change methods don't work.
Please let me know.
Thanks.
Great work.
The text was updated successfully, but these errors were encountered: