Can't create new user with mmctl

Hi, streamer45.
Thanks for responding!
I’ve managed to create new user by:

  1. enabling local mode by setting

“EnableLocalMode”: true

in /opt/mattermost/config/config.json
2) using the following command

./mmctl user create --local --email mail@example.com --username test1 --password ‘password’ --firstname username --lastname test --config /opt/mattermost/config/config.json