You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've launched an instance of the Mattermost operator with a PostgreSQL database. I can access the Mattermost login screen and have verified that Mattermost has created tables and stuff in my Postgres database. However I cannot figure out how to set configurations on creation of my Mattermost instance nor can I create an initial admin user to login to the UI.
Steps to reproduce
Running commands on one of the Mmattermost pods, I am able to run mmctl successfully but trying to create an initial user like: mmctl user create --email [email protected] --username admin --password apassword
produces the following error: Error: cannot read user credentials, maybe you need to login firse: stat /.config/mmctl/config: no such file or directory
Additionally, I have no idea how to set basic application setting or create a initial user during the launch process. It seems like the Mattermost documentation kind of ignores discussing how to configure your instance. https://docs.mattermost.com/configure/configuation-in-mattermost-database.html
I have read through the documentation above, however I still don't know how to create an initial user. Is my only option to edit the Mattermost postgres database directly?
The text was updated successfully, but these errors were encountered:
Hey @brendonts. Once you create your Mattermost instance, if you access via web interface it should prompt you to create the initial admin user directly (no need for mmctl). Would you mind sharing which database engine did you use? (an operator, aws, etc.) so I can take a look?
Summary
I've launched an instance of the Mattermost operator with a PostgreSQL database. I can access the Mattermost login screen and have verified that Mattermost has created tables and stuff in my Postgres database. However I cannot figure out how to set configurations on creation of my Mattermost instance nor can I create an initial admin user to login to the UI.
Steps to reproduce
Running commands on one of the Mmattermost pods, I am able to run mmctl successfully but trying to create an initial user like:
mmctl user create --email [email protected] --username admin --password apassword
produces the following error:
Error: cannot read user credentials, maybe you need to login firse: stat /.config/mmctl/config: no such file or directory
Additionally, I have no idea how to set basic application setting or create a initial user during the launch process. It seems like the Mattermost documentation kind of ignores discussing how to configure your instance.
https://docs.mattermost.com/configure/configuation-in-mattermost-database.html
I have read through the documentation above, however I still don't know how to create an initial user. Is my only option to edit the Mattermost postgres database directly?
The text was updated successfully, but these errors were encountered: