Skip to content

"GitLab Mattermost needs your help: User creation is disabled." after updating to 9.0

After upgrading from 8.16.3 to 9.0.4, a newly created user can no longer sign-in to mattermost. When he tries, he gets the following error:

"GitLab Mattermost needs your help: User creation is disabled."


System Info

GitLab version: gitlab-ce-9.0.4-ce.0.el7.x86_64

/etc/gitlab/gitlab.rb:

################################################################################
# Mattermost
mattermost_external_url 'http://chat.example.com'

mattermost['service_enable_incoming_webhooks'] = true
mattermost['service_enable_outgoing_webhooks'] = true
mattermost['service_enable_post_username_override'] = true
mattermost['service_enable_post_icon_override'] = true
mattermost['service_enable_only_admin_integrations'] = false

mattermost['team_enable_team_creation'] = false
mattermost['team_enable_user_creation'] = false

mattermost['email_enable_sign_up_with_email'] = false
mattermost['email_enable_sign_in_with_email'] = false
mattermost['email_enable_sign_in_with_username'] = false

# JRR: We're not actually using this, but it silences the stupid "Preview Mode" banner
mattermost['email_send_email_notifications'] = true

I had Mattermost configured such that only GitLab users can log in, and only with their GitLab credentials, and only to a single, global team.