Administrator onboarding tasks

plans-img Available on all plans

deployment-img self-hosted deployments

This document provides instructions for common administrator tasks, including some recommendations on tasks to prepare your Mattermost deployment to onboard users.

Getting started tasks

  1. Once you’ve installed and deployed Mattermost, ensure all configuration settings are appropriately set under System Console > Environment including:

  • Web server

  • Database

  • File storage

  • SMTP

  • Push Notification server

These settings can also be set in the config.json file. Please see our configuration settings documentation for a full listing of all configuration settings.

  1. Adjust settings under System Console > Site Configuration to brand and customize how users will interact with the site. Be sure to update the Support Email and Help Link in Mattermost under System Console > Site Configuration > Customization to provide your users a resource for password resets or questions on their Mattermost account.

  • The Support email is used on email notifications and during tutorial for users to ask support questions.

  • The Help Link is on the Mattermost login page, sign-up pages, and Main Menu and can be used to to link to your help desk ticketing system.

These settings can also be set in the config.json file. Please see our configuration settings documentation for a full listing of all configuration settings.

  1. Begin to onboard users by enabling account creation or by connecting an authentication service to assist with user provisioning.

If your organization requires more structure and project management artifacts for the implementation of Mattermost, please see our Enterprise roll out checklist.

Important administration notes

DO NOT manipulate the Mattermost database

  • In particular, DO NOT manually delete data from the database directly. Mattermost is designed as a continuous archive and cannot be supported after manual manipulation.

  • If you need to permanently delete a team or user, use the mattermost user delete CLI command, or use the mmctl user delete command.

Common tasks

Creating System Admin account from the command line

  • If the System Admin leaves the organization or is otherwise unavailable, you can use the command line interface to assign the system_admin role to an existing user. In the /opt/mattermost directory, type sudo -u mattermost bin/mattermost roles system_admin {user-name}, where {user-name} is the username of the person with the new role. For more information about using the command line interface, see Command Line Tools.

  • The user needs to log out and log back in before the system_admin role is applied.

Migrating to AD/LDAP or SAML from email-based authentication

  • If you have Professional or Enterprise plans, you can migrate from email authentication to Active Directory/LDAP or to SAML Single Sign-on. To set up Active Directory/LDAP, see Active Directory/LDAP Setup. To set up SAML Single Sign-on, see SAML Single-Sign-On.

  • After the new authentication method is enabled, existing users cannot use the new method until they go to Settings > Security > Sign-in method and select Switch to using AD/LDAP or Switch to using SAML Single Sign-on. After they have switched, they can no longer use their email and password to log in.

Deactivating a user

  • System Admins can go to System Console > Users for a list of all users on the server. The list can be searched and filtered to make finding the user easier. Click the user’s role and in the menu that opens, click Deactivate.

  • To preserve audit history, users are typically never deleted from the system. If permanently deleting a user is necessary (e.g. for the purposes of GDPR), an mmctl command or a CLI command can be used to do so.

  • Note that AD/LDAP user accounts cannot be deactivated from Mattermost; they must be deactivated from your Active Directory.

Checking for a valid license in Enterprise Edition without logging in

  • Open the log file mattermost.log. It’s usually in the mattermost/logs/ directory but might be elsewhere on your system. Find the last occurrence of a log entry that starts with the text [INFO] License key. If the license key is valid, the complete line should be similar to the following example:

[2017/05/19 16:51:40 UTC] [INFO] License key valid unlocking enterprise features.

User experience optimizations

We highly recommend the following best practices, configuration options, and features for an optimal Mattermost user experience.

1. Upgrade your Mattermost server

When you upgrade your Mattermost server frequently, your users can access new features, improved user experiences, bug fixes, security fixes, and mobile app compatibility.

Mattermost releases regular updates to Mattermost Team Edition and Mattermost Enterprise Edition. The Mattermost Changelog provides all information about changes in each version.

Upgrading your Mattermost server only takes a few minutes. See the Upgrade Guide for step-by-step instructions.

2. Install plugins

You can enable plugins and integrations to connect your team’s workflows and toolsets into Mattermost. Plugins and integrations customize and extend the Mattermost platform.

Install and manage plugins

To enable and manage plugins, go to System Console > Plugins. Next, install plugins from Product menu > Marketplace. See the Marketplace documentation for details.

Consider installing and enabling the following productivity plugins for your users:
  • Enable audio/video calling and screen sharing with Jitsi or Zoom.

  • Create polls with Matterpoll.

  • Share GIFs with GIF Commands.

  • Create and share memes with Memes.

  • Set personal reminders with Remind.

  • Create and share to do items with Todo.

  • Customize welcome messages for new users with WelcomeBot.

Explore all plugins and integrations available in the Mattermost Marketplace.

Enable and manage integrations

To enable integrations such as webhooks, slash commands, OAuth2.0, and bots, to go System Console > Integrations. More information on these integrations can be found here.

3. Enable automatically extended sessions

Keep your desktop and mobile users logged in and extend user sessions automatically by setting System Console > Sessions > Extend session length with activity to true. See the Extend session length with activity configuration settings documentation for details.

4. Enable full content push notifications

Enable push notifications on mobile devices to deliver messages in real time by setting System Console > Push Notification Server > Enable Push Notifications to Use TPNS. See the Push notification server configuration settings documentation for details.

Enable full content push notifications, including the sender’s name, the channel name, and the message text, by setting System Console > Notifications > Push Notification Contents to Full message contents. See the Push notification contents configuration settings documentation for details.

Note

  • Mattermost subscription plans allow you to enable HPNS that includes production-level uptime SLAs.

  • Mattermost Enterprise customers can enable ID-Only push notifications so push notification content is not passed through Apple Push Notification Service (APNS) or Google Firebase Cloud Messaging (FCM) before reaching the device. The ID-only push notification setting offers a high level of privacy while allowing team members to benefit from mobile push notifications.

5. Enable custom emoji

Emojis enable users to express concepts such as emotions and physical gestures in messages. Enable the emoji picker by setting System Console > Emoji > Enable Emoji Picker to true. See the Enable emoji picker configuration settings documentation for details.

Empower users to create and share their own custom emojis by setting System Console > Emoji > Enable Custom Emoji to true. See the Enable custom emoji configuration settings documentation for details.

6. Enable GIF picker

GIFs are animated images that can make messaging more fun and engaging. Enable users to access the Mattermost GIF picker from the message draft area by setting System Console > GIF (Beta) > Enable GIF Picker to true. See the Enable GIF picker configuration settings documentation for details.

7. Enable link previews

Link previews provide a visual glimpse of relevant content for links shared in messages. Enable link previews by setting System Console > Posts > Enable Link Previews to true. See the Enable link previews configuration settings documentation for details.

8. Enable batched email notifications

Email notifications can be batched together so users don’t get overwhelmed with too many emails.

Enable email notifications first by setting System Console > Notifications > Enable Email Notifications to true. See the Enable email notifications configuration settings documentation for details. Note that email notifications require an SMTP email server to be configured.

Then, enable batched email notifications by setting System Console > Notifications > Enable Email Batching to true. See the Enable email batching configuration settings documentation for details. Note that email batching is not available if you are running your deployment in High Availability.

9. Enable Elasticsearch

Mattermost Enterprise customers can enable Elasticsearch for optimized search performance at enterprise-scale. Elasticsearch solves many known issues with full text database search, such as dots, dashes, and email addresses returning unexpected results.

Enable Elasticsearch by setting System Console > Elasticsearch > Enable Indexing to true. See the Elasticsearch configuration settings documentation for details. Enabling Elasticsearch requires setting up an Elasticsearch server.