Install the Mattermost desktop app#

plans-img Available on all plans

deployment-img Cloud and self-hosted deployments

The Mattermost desktop app is available for Linux, Mac, and Windows operating systems. The Desktop App supports all the features of the web experience, plus the following features:

See the desktop app software requirements for details on supported operating systems and releases.

Install and update the Mattermost desktop app#

You can download the desktop app directly from the Downloads page. You can also use the following installation guides for Linux, Mac, and Windows.

Windows 10+ is required. Automatic app updates are supported and enabled. When a new version of the desktop app is released, your app updates automatically.

Install the Mattermost Desktop App

  1. Download the latest version of the Mattermost desktop app for the 64-bit version of Windows

  2. From the Downloads folder, right-click on the file mattermost-desktop-setup-5.10.0-win.exe, then select Open to start an installer for the app. Once finished, the Mattermost desktop app opens automatically.

Warning

Mattermost Desktop should always be installed on a local drive. Network Shares are not supported as installation locations.

MSI Installer and group policies

The following group policies are available supporting a state option of Not Configured, Enabled, or Disabled:

Group policy

Description

Mattermost release

Setting

Enable Server Management

If disabled, management of servers in the app settings are disabled.

v4.3 or later

EnableServerManagement

Default Server List

Define one or more default, permanent servers.

v4.3 or later

DefaultServerList

Automatic Updates

If disabled, automatic desktop app updates are disabled.

v5.1 or later

EnableAutoUpdates

Disable automatic updates

Automatic desktop app updates can be disabled by configuring the supported group policy. See the MSI installer and group policy documentation for instructions on installing the Mattermost Desktop App via an MSI installer, configuring supported group policies, and performing silent MSI installations. Changes to group policies require you to restart Mattermost for those changes to take effect.

MacOS 11+ is required. You have two ways to install the desktop app, and how you install the app determines whether it updates automatically.

Install from the App Store

We recommend that you install the desktop app from the App Store. When you install through the App Store, your desktop app updates automatically when a new release is available.

Download the Desktop App from GitHub

You can download the desktop app directly from the Downloads page. However, when you install the desktop app this way, you can’t manually check for updates, and updates won’t be installed automatically.

  1. Download the latest version of the Mattermost desktop app:

  2. Double-click the download to open the disk image.

  3. Drag the Mattermost application to the Applications folder.

Tip

You can review the current version of your desktop app by selecting Mattermost > About Mattermost from the macOS menu bar.

Both a .deb package (Beta), and an official APT repository is available for Debian 9 and for Ubuntu releases 20.04 LTS or later. Automatic app updates are supported and enabled. When a new version of the desktop app is released, your app updates automatically.

Important

The GPG public key has changed. If you had previously set up the repository on your system, you’ll need to download the new key. You can set the UPDATE_GPG_KEY=yes environment variable when running the setup script to configure it to overwrite the previous key on your system with the new one. The first step of installation then becomes: curl -fsS -o- https://deb.packages.mattermost.com/setup-repo.sh | sudo UPDATE_GPG_KEY=yes bash. Depending on your setup, additional steps may also be required, particularly for installations that don’t rely on the repository setup script.

  1. At the command line, set up the Mattermost repository on your system:

curl -fsS -o- https://deb.packages.mattermost.com/setup-repo.sh | sudo bash
  1. Install the Mattermost desktop app:

sudo apt install mattermost-desktop
  1. Update the Mattermost desktop app:

sudo apt upgrade mattermost-desktop

Snapcraft package

A snap is available for systems that have Snapcraft installed. Snapcraft is installed by default on Ubuntu 16.04 and later, but for most other Linux distributions you can install it manually. To install Snapcraft, see Install snapd on the Snapcraft website for details.

  1. At the command line, execute the following command:

sudo snap install mattermost-desktop --beta
  1. Run Mattermost as a desktop app.

Tip

You can review the current version of your desktop app by selecting the More Use the More icon in the top left corner to access Mattermost desktop apps customization settings. icon located in the top left corner of the desktop app, then selecting Help > Version….

Beta .rpm packages are available for CentOS and RHEL 7 and 8. Automatic app updates aren’t supported. You must update your app manually.

Install the Mattermost Desktop App

  1. Download the latest version of the Mattermost desktop app for 64-bit systems: mattermost-desktop-5.10.0-linux-x86_64.rpm

  2. At the command line, execute the following command:

sudo rpm -i mattermost-desktop-5.10.0-linux-x86_64.rpm
  1. Run Mattermost as a desktop app.

To manually update the desktop app, run the following command:

sudo rpm -u mattermost-desktop-5.10.0-linux-x86_64.rpm

Tip

You can review the current version of your desktop app by selecting the More Use the More icon in the top left corner to access Mattermost desktop apps customization settings. icon located in the top left corner of the desktop app, then selecting Help > Version….

The Desktop app is available in two formats which are usable on most Linux distributions: a compressed tarball, and an AppImage binary. Both can be downloaded from the Desktop App’s Github releases page. Automatic app updates are supported and enabled on AppImage binary builds. When a new version of the desktop app is released, your app updates automatically.

For instructions on how to use the AppImage binary, please refer to the AppImage Quickstart documentation page.

Install the Desktop App’s compressed tarball

  1. Download the latest version of the Mattermost desktop app for 64-bit systems: mattermost-desktop-5.10.0-linux-x64.tar.gz

  2. Extract the archive to a convenient location, then give chrome-sandbox in the extracted directory the required ownership and permissions: sudo chown root:root chrome-sandbox && sudo chmod 4755 chrome-sandbox

  3. Execute mattermost-desktop located inside the extracted directory.

  4. To create a Desktop launcher, open the file README.md, and follow the instructions in the Desktop launcher section.

Log in using the desktop app#

The first time you log in to Mattermost using the desktop app, you’ll see a splash screen that introduces you to desktop app functionality.

  1. Select Get Started to connect to a Mattermost server.

  2. Enter a Server URL and Server display name, then select Connect.

Tip

  • Can’t find your Mattermost server URL? Ask your company’s IT department or your Mattermost system admin for your organization’s Mattermost Site URL. It’ll look something like https://example.com/company/mattermost, mattermost.yourcompanydomain.com, or chat.yourcompanydomain.com. These URLs could also end in .net.

  • Having trouble launching your Desktop App? See the Troubleshooting section <#troubleshooting-your-desktop-app-installation> for details.

Additional documentation resources#

The following additional documentation resources are also available for the Mattermost desktop app:

Troubleshooting your Desktop App installation#

Where is configuration stored locally?#

The location of the Mattermost desktop app configuration file depends on the platform where you’re running Mattermost (and, in the case of macOS, how you’ve chosen to install the app):

  • Windows: Users\<username>\AppData\Roaming\Mattermost

  • macOS installer: /Users/<username>/Library/Application Support/Mattermost

  • macOS App Store: /Users/<username>/Library/Containers/Mattermost/Data/Library/Application Support/Mattermost

  • Linux: ~/.config/Mattermost

Note

  • Local configuration data is not automatically removed when uninstalling the desktop app. If you wish to remove all data, you must manually remove the files from the applicable location noted above.

  • Prior to uninstalling, you can choose to log out of any active sessions. You can terminate active sessions from another Mattermost session in Profile > Security > View and Logout of Active Sessions, then select Log Out. Desktop app sessions are labeled as Native Desktop App.

How do I access logs?#

From Mattermost desktop v5.3, you can access logs via Help > Show logs, which opens the file manager window showing the location of the log file.

How do I download app diagnostics?#

From Mattermost desktop v5.3, you can download a diagnostics text file via Help > Run diagnostics, which can be attached to a Support ticket.

Desktop App displays white screen while launching and doesn’t load the page#

  1. Delete the local Mattermost desktop app configuration file. See the Where is configuration stored locally? section above for file location details.

  2. Reinstall the application.

“Installation has failed” dialog#

The app data might be corrupted. Remove all the files in %LOCALAPPDATA%\mattermost, then try reinstalling the app.

“The application “Mattermost” can’t be opened” dialog#

On macOS Catalina, this dialog can be triggered if the Mac Archive Utility is the default method for decompressing files. In this case using a third-party tool such as Keka or Unarchiver may resolve the problem.

Desktop App window is black and doesn’t load the page#

  1. First, make sure you have installed the latest desktop app version.

  2. Clear your cache and reload the app from View > Clear Cache and Reload or press Ctrl Shift R on Windows or Linux, or R on Mac.

  3. Quit the app and restart it to see if the issue clears.

  4. Disable GPU hardware acceleration from File > Settings on Windows and Linux or Mattermost > Settings on macOS, and unselect Use GPU hardware acceleration.

  5. If you are using a special video driver, such as Optimus, try disabling it to see if the problem is resolved.

If none of the above steps resolve the issue, please open a new ticket in the Troubleshooting forum.

Desktop App is not visible, but the Mattermost icon is in the Task Bar#

This issue can occur on Windows in a multiple-monitor setup. When you disconnect the monitor that Mattermost is displayed on, Mattermost continues to display at screen coordinates that no longer exist.

To resolve this issue, you can reset the desktop app screen location by deleting the screen location file. When the file is not present, the desktop app displays on the primary monitor by default.

To reset the desktop app screen location:

  1. If the desktop app is running, right-click the Mattermost icon in the task bar, then select Close Window.

  2. Open Windows File Explorer, and go to the %APPDATA%\Mattermost folder.

  3. Delete the file bounds-info.json.

Desktop App constantly refreshes the page#

This issue can occur when localStorage has an unexpected state. To resolve the issue:

  • Windows: Open Windows File Explorer, go to the %APPDATA%\Mattermost folder, then delete the Local Storage folder.

  • Mac: Open Finder, go to the ~/Library/Application Support/Mattermost folder, then delete the Local Storage folder.

  • Linux: Open the File Manager, go to the ~/.config/Mattermost folder, then delete the Local Storage folder. Linux file managers may hide folders starting with a period by default. You can delete them from the terminal using rm -rf ~/.config/Mattermost.

Desktop App constantly asks to log in to Mattermost server#

This issue can occur after a crash or unexpected shutdown of the desktop app that causes the app data to be corrupted. To resolve the issue:

  • Windows: Open Windows File Explorer, go to the %APPDATA%\Mattermost folder, then delete the IndexedDB folder and the Cookies and Cookies-journal files.

  • Mac: Open Finder, go to the ~/Library/Application Support/Mattermost folder, then delete the IndexedDB folder and the Cookies and Cookies-journal files.

  • Linux: Open the file manager, go to the ~/.config/Mattermost folder, then delete the IndexedDB folder and the Cookies and Cookies-journal files. Linux file managers may hide folders starting with a period by default. You can delete them from the terminal using rm -rf ~/.config/Mattermost.

“Internal error: BrowserWindow ‘unresponsive’ event has been emitted”#

Selecting Show Details on the dialog provides logs. Ways to resolve the issue:

  1. Clear the cache via View > Clear Cache and Reload or press Ctrl Shift R on Windows or Linux, or R on Mac.

  2. Go to App Settings via File > Settings (or by pressing Ctrl , on Windows or Linux, or , on Mac) and unselect hardware acceleration.

Desktop app not responsive within Citrix Virtual Apps or Desktop Environment#

Append Mattermost.exe; to the Registry Key HKLM\SYSTEM\CurrentControlSet\Services\CtxUvi\UviProcessExcludes and reboot the system.

For further assistance, review the Troubleshooting forum for previously reported errors, or join the Mattermost user community for troubleshooting help.

Can I uninstall the desktop app I installed using snap on Linux?#

Yes. Run the following command from a terminal window: sudo snap remove mattermost-desktop.

Report Desktop App issues#

When reporting issues found in the Mattermost desktop app, it’s helpful to include the contents of the Developer Tools Console along with the information on this page.

To access the Developer Tools Console:

  1. In the menu bar, go to View > Developer Tools > Developer Tools for Current Tab.

  2. Select the Console tab.

  3. Right-click the log entry, then select Save As.

  4. Save the file, then send it along with a description of your issue.

  5. Close the console to disable the Developer Tools.

You can open an additional set of developer tools for each server you have added to the desktop app. The tools can be opened by pasting this command in the Developer Tools Console you opened with the steps described above:

document.getElementsByTagName("webview")[0].openDevTools();