Mattermost

Quickstart: Set up GitLab Mattermost

From a fresh install of GitLab, here’s what I did:

I wanted to run GitLab Mattermost at “https://mattermost.secretbank.org”. I created an A record that pointed to the IP of my GitLab instance.

Per the getting started docs, I then added this line to gitlab.rb:

mattermost_external_url 'https://mattermost.secretbank.org'

Now, gitlab-ctl reconfigure

  • Browse to https://mattermost.secretbank.org
  • Authorize GitLab to act as your SSO provider for GitLab Mattermost

What version of GitLab Mattermost do I have?

Use this get-gitlab-mattermost-version.sh snippet.

Upgrade Mattermost

The docs say:

If you are upgrading to at least GitLab 11.0 or have only configured Mattermost using gitlab.rb, you can upgrade GitLab using Omnibus and then run gitlab-ctl reconfigure to upgrade GitLab Mattermost to the latest version.

Notes

# dpkg -S /opt/gitlab/embedded/bin/mattermost
gitlab-ee: /opt/gitlab/embedded/bin/mattermost
# grep -i mattermost version-manifest.txt
mattermost                     5.33.3                                     md5:dc702aaa8589d9546662f486cd0a67cc