# Recipes

**URL:** https://forum.mattermost.com/c/recipes/43.md

[Latest](https://forum.mattermost.com/latest.md) · [Categories](https://forum.mattermost.com/categories.md)

---

## [About the Recipes category](https://forum.mattermost.com/t/about-the-recipes-category/22346)

<div class="topic-metadata">

**Author:** [@john.combs](https://forum.mattermost.com/u/john.combs)\
**Replies:** 0\
**Last updated:** [January 24, 2025, 7:22pm UTC](https://forum.mattermost.com/t/about-the-recipes-category/22346 "2025-01-24T19:22:24Z")

</div>

Space for sharing and discussing configurations, customizations, and creative hacks that make your Mattermost instance more productive Whether you’re a power user, system administrator, or an enthusiast looking to optim…

---

## [Recipe: Migrating a Mattermost Server with \`mmctl\`](https://forum.mattermost.com/t/recipe-migrating-a-mattermost-server-with-mmctl/11912)

<div class="topic-metadata">

**Author:** [@paulrothrock](https://forum.mattermost.com/u/paulrothrock)\
**Replies:** 4\
**Last updated:** [August 17, 2026, 3:40pm UTC](https://forum.mattermost.com/t/recipe-migrating-a-mattermost-server-with-mmctl/11912 "2026-08-17T15:40:58Z")

</div>

Problem You want to move your Mattermost data from one Mattermost server to another, including files, but can’t back up your database and files directly. Solution Note: These instructions are for Mattermost v5.36.1 and …

---

## [Theme Share: New York Nights](https://forum.mattermost.com/t/theme-share-new-york-nights/25080)

<div class="topic-metadata">

**Author:** [@ylluminate](https://forum.mattermost.com/u/ylluminate)\
**Replies:** 0\
**Last updated:** [August 19, 2025, 4:06am UTC](https://forum.mattermost.com/t/theme-share-new-york-nights/25080 "2025-08-19T04:06:30Z")

</div>

Modeled after our favorite operating system from Cupertino, CA: New York Nights (Blue): { "awayIndicator": "#ffd60a", "buttonBg": "#0a5fcc", "buttonColor": "#ffffff", "centerChannelBg": "#1c1c1e", "centerCha…

---

## [Recipe: How to Use Mattermost Copilot to Troubleshoot Your Set-Up Like a Pro](https://forum.mattermost.com/t/recipe-how-to-use-mattermost-copilot-to-troubleshoot-your-set-up-like-a-pro/22913)

<div class="topic-metadata">

**Author:** [@john.combs](https://forum.mattermost.com/u/john.combs)\
**Replies:** 0\
**Last updated:** [March 21, 2025, 7:22pm UTC](https://forum.mattermost.com/t/recipe-how-to-use-mattermost-copilot-to-troubleshoot-your-set-up-like-a-pro/22913 "2025-03-21T19:22:23Z")

</div>

When you’re stuck troubleshooting a Mattermost deployment issue, sometimes all you need is a little push in the right direction, and that’s where Mattermost Copilot can shine. But here’s the trick: the quality of your a…

---

## [Recipe: Enhancing Team Collaboration with AI-Powered Summaries 🤖✨](https://forum.mattermost.com/t/recipe-enhancing-team-collaboration-with-ai-powered-summaries/22572)

<div class="topic-metadata">

**Author:** [@john.combs](https://forum.mattermost.com/u/john.combs)\
**Replies:** 0\
**Last updated:** [February 17, 2025, 10:54pm UTC](https://forum.mattermost.com/t/recipe-enhancing-team-collaboration-with-ai-powered-summaries/22572 "2025-02-17T22:54:55Z")

</div>

Problem: Long conversations in Mattermost channels can become overwhelming. When team members join a discussion late or need a quick update, scrolling through dozens (or hundreds!) of messages can be time-consuming. So…

---

## [Recipe: Hot Standby with Database Replication](https://forum.mattermost.com/t/recipe-hot-standby-with-database-replication/8832)

<div class="topic-metadata">

**Author:** [@paulrothrock](https://forum.mattermost.com/u/paulrothrock)\
**Replies:** 0\
**Last updated:** [January 17, 2020, 4:26am UTC](https://forum.mattermost.com/t/recipe-hot-standby-with-database-replication/8832 "2020-01-17T04:26:39Z")

</div>

Hi all, A customer had an interesting architecture design challenge: They wanted two Mattermost servers, each with their own PostgreSQL database in a hot-standby configuration. Because they needed to make changes on the…

---

## [Recipe: Notify Mattermost when a file is uploaded](https://forum.mattermost.com/t/recipe-notify-mattermost-when-a-file-is-uploaded/7465)

<div class="topic-metadata">

**Author:** [@paulrothrock](https://forum.mattermost.com/u/paulrothrock)\
**Replies:** 0\
**Last updated:** [June 12, 2019, 8:52pm UTC](https://forum.mattermost.com/t/recipe-notify-mattermost-when-a-file-is-uploaded/7465 "2019-06-12T20:52:19Z")

</div>

Mattermost Recipe: Notify Mattermost when a directory is changed Problem You’re waiting for a file to be uploaded to your server, but don’t want to keep refreshing your FTP client Solution 1. Install inotify-tools inoti…

---

## [Recipe: Debugging SAML Key Issues](https://forum.mattermost.com/t/recipe-debugging-saml-key-issues/9638)

<div class="topic-metadata">

**Author:** [@paulrothrock](https://forum.mattermost.com/u/paulrothrock)\
**Replies:** 0\
**Last updated:** [April 28, 2020, 7:47pm UTC](https://forum.mattermost.com/t/recipe-debugging-saml-key-issues/9638 "2020-04-28T19:47:45Z")

</div>

Problem You’re seeing errors reading the SAML keys and certificates in the logs, and cannot log in via SAML Solution First, verify your files have the correct permissions by running this command: sudo chown -R mattermo…

---

## [Recipe: Client notifications on macOS](https://forum.mattermost.com/t/recipe-client-notifications-on-macos/10171)

<div class="topic-metadata">

**Author:** [@marcokundt](https://forum.mattermost.com/u/marcokundt)\
**Replies:** 2\
**Last updated:** [February 10, 2025, 9:17pm UTC](https://forum.mattermost.com/t/recipe-client-notifications-on-macos/10171 "2025-02-10T21:17:17Z")

</div>

Some of our users had problems regarding the notification settings in macOS’ system preferences and the desktop app. The main confusion is about the absence of the Mattermost entry in this settings menu and the reason is…

---

## [Recipe: Migrating ID Attribute in SAML / LDAP](https://forum.mattermost.com/t/recipe-migrating-id-attribute-in-saml-ldap/10112)

<div class="topic-metadata">

**Author:** [@stu.doherty](https://forum.mattermost.com/u/stu.doherty)\
**Replies:** 1\
**Last updated:** [February 10, 2025, 9:16pm UTC](https://forum.mattermost.com/t/recipe-migrating-id-attribute-in-saml-ldap/10112 "2025-02-10T21:16:30Z")

</div>

Hi All, Wanted to share this here in case it helps anyone in the future. We had a customer using SAML and LDAP and encountered an issue with using the objectGUID as an ID Attribute in the LDAP and SAML Settings \*. The…

---

## [Recipe: Saving Mobile App Traffic for Analysis](https://forum.mattermost.com/t/recipe-saving-mobile-app-traffic-for-analysis/8812)

<div class="topic-metadata">

**Author:** [@paulrothrock](https://forum.mattermost.com/u/paulrothrock)\
**Replies:** 1\
**Last updated:** [February 10, 2025, 9:15pm UTC](https://forum.mattermost.com/t/recipe-saving-mobile-app-traffic-for-analysis/8812 "2025-02-10T21:15:54Z")

</div>

Problem Your mobile device is having issues connecting to Mattermost and you want to download the traffic as a HAR file for analysis Solution 1. Install mitmproxy on your workstation Mitmproxy Installation Instructions …

---

## [Recipe: Using Mattermost Copilot to Draft Engaging Channel Names, Descriptions, and Emojis](https://forum.mattermost.com/t/recipe-using-mattermost-copilot-to-draft-engaging-channel-names-descriptions-and-emojis/22347)

<div class="topic-metadata">

**Author:** [@john.combs](https://forum.mattermost.com/u/john.combs)\
**Replies:** 0\
**Last updated:** [January 24, 2025, 8:02pm UTC](https://forum.mattermost.com/t/recipe-using-mattermost-copilot-to-draft-engaging-channel-names-descriptions-and-emojis/22347 "2025-01-24T20:02:08Z")

</div>

Creating clear and engaging channels is key to fostering collaboration and productivity within your Mattermost workspace. With Mattermost Copilot, you can streamline the process of drafting channel names, descriptions, a…

---

## [Recipe: Set custom theme as the default for all new users \[unsupported recipe\]](https://forum.mattermost.com/t/recipe-set-custom-theme-as-the-default-for-all-new-users-unsupported-recipe/10167)

<div class="topic-metadata">

**Author:** [@stu.doherty](https://forum.mattermost.com/u/stu.doherty)\
**Replies:** 1\
**Last updated:** [July 29, 2020, 3:10pm UTC](https://forum.mattermost.com/t/recipe-set-custom-theme-as-the-default-for-all-new-users-unsupported-recipe/10167 "2020-07-29T15:10:18Z")

</div>

Hi All, We occasionally get requests from customers to introduce a feature to allow system admins to setup a custom theme as the default for all users on the system. This feature is being looked, but in the near term t…

---

## [Recipe: Using Let's Encrypt for TLS certificates with \`mattermost-docker\`](https://forum.mattermost.com/t/recipe-using-lets-encrypt-for-tls-certificates-with-mattermost-docker/7596)

<div class="topic-metadata">

**Author:** [@paulrothrock](https://forum.mattermost.com/u/paulrothrock)\
**Replies:** 2\
**Last updated:** [March 18, 2020, 8:22pm UTC](https://forum.mattermost.com/t/recipe-using-lets-encrypt-for-tls-certificates-with-mattermost-docker/7596 "2020-03-18T20:22:59Z")

</div>

Problem You’re setting up Mattermost using Docker in production and want to use a Let’s Encrypt certificate. When you attempt to configure this via the System Console you get the following error: p\_1 | {"level":"error"…

---

## [Recipe: How to process a large amount of items using the Mattermost CLI](https://forum.mattermost.com/t/recipe-how-to-process-a-large-amount-of-items-using-the-mattermost-cli/7971)

<div class="topic-metadata">

**Author:** [@paulrothrock](https://forum.mattermost.com/u/paulrothrock)\
**Replies:** 1\
**Last updated:** [September 23, 2019, 6:07pm UTC](https://forum.mattermost.com/t/recipe-how-to-process-a-large-amount-of-items-using-the-mattermost-cli/7971 "2019-09-23T18:07:16Z")

</div>

Problem You have a couple thousand users you need to remove from a specific channel. Solution Get a list of the user’s email addresses, usernames, or user IDs in a text file, with one entry per line named users.txt. Fo…

---

## [Recipe: Using a shared data directory in a Mattermost Cluster](https://forum.mattermost.com/t/recipe-using-a-shared-data-directory-in-a-mattermost-cluster/6833)

<div class="topic-metadata">

**Author:** [@paulrothrock](https://forum.mattermost.com/u/paulrothrock)\
**Replies:** 2\
**Last updated:** [March 12, 2019, 9:45pm UTC](https://forum.mattermost.com/t/recipe-using-a-shared-data-directory-in-a-mattermost-cluster/6833 "2019-03-12T21:45:55Z")

</div>

I just released a new Vagrant file and associated scripts that go into detail about how to use a Samba share as the data directory for a Mattermost cluster. Feedback appreciated!

---

## [Recipe: Encrypting Internal Traffic](https://forum.mattermost.com/t/recipe-encrypting-internal-traffic/6445)

<div class="topic-metadata">

**Author:** [@paulrothrock](https://forum.mattermost.com/u/paulrothrock)\
**Replies:** 1\
**Last updated:** [January 7, 2019, 7:18pm UTC](https://forum.mattermost.com/t/recipe-encrypting-internal-traffic/6445 "2019-01-07T19:18:20Z")

</div>

Hi everybody! One common requirement is to encrypt internal connections between the proxy server and Mattermost. This recipe demonstrates how to achieve this while keeping Mattermost on port 8065 so Nginx can handle loa…
