docs/main/administration-guide/manage/admin/generating-support-packet.mdx
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
<PlanAvailability slug="all-commercial" />The Support Packet is used to help customers diagnose and troubleshoot issues. Use the System Console or the mmctl system supportpacket command to generate a zip file that includes configuration information, logs, plugin details, and data on external dependencies across all nodes in a high-availability cluster. Confidential data, such as passwords, are automatically stripped.
Go to the System Console, and select Commercial Support from the System Console menu.
Select Download Support Packet. A zip file is downloaded to the local machine. You'll be notified if any packet files are unavailable during packet generation. See the warning.txt file for details.
Run the mmctl system supportpacket command to generate and download a Support Packet to share with Mattermost Support.
go run ./cmd/mmctl system supportpacket
Downloading Support Packet
Downloaded Support Packet to mattermost_support_packet_.zip
Please sanitize any confidential data you wish to exclude before sharing the packet with Mattermost.
When present, the following information is automatically sanitized during packet generation: LdapSettings.BindPassword, FileSettings.PublicLinkSalt, FileSettings.AmazonS3SecretAccessKey, EmailSettings.SMTPPassword, GitLabSettings.Secret, GoogleSettings.Secret, Office365Settings.Secret, OpenIdSettings.Secret, SqlSettings.DataSource, SqlSettings.AtRestEncryptKey, ElasticsearchSettings.Password, All SqlSettings.DataSourceReplicas, All SqlSettings.DataSourceSearchReplicas, MessageExportSettings.GlobalRelaySettings.SmtpPassword, ServiceSettings.SplitKey, FileSettings.ExportAmazonS3SecretAccessKey, ServiceSettings.GoogleDeveloperKey, and ServiceSettings.GiphySdkKey (from Mattermost v11.6.0).
Plugins may not be sanitized during packet generation.
plugin.json file before sharing it with Mattermost. Replace details with example strings that contain the same special characters if possible, as special characters are common causes of configuration errors.Add the generated Support Packet to a standard support request, or share with with the Mattermost team you're working with.
Disable debug logging once you've generated the Support Packet. Debug logging can cause log files to expand substantially, and may adversely impact server performance. We recommend enabling it temporarily, or in development environments, but not production environments.
The contents of a Mattermost Support Packet can differ by server version. Select the tab that corresponds to your Mattermost version to see the files included in the Support Packet.
<Tabs> <TabItem value="v11-0-and-later" label="v11.0 and later">The following cluster-wide files are located in the root directory of the Support Packet:
plugins.json (all active and inactive plugins)sanitized_config.json (sanitized copy of the Mattermost configuration)stats.yaml (Mattermost usage statistics)jobs.yaml (last runs of important jobs)diagnostics.yaml (system and plugin diagnostics)permissions.yaml (role and scheme information)postgres_schema_dump.sql (PostgreSQL database schema information including tables, indexes, constraints, and other metadata to assist with database configuration diagnosis)warning.txt (present when issues are encountered during packet generation)tsdb_dump.tar.gz (present when the Metrics plugin is installed and the Performance metrics option is selected when generating the Support Packet)The following node-specific files are located in node subdirectories:
<node-id>/mattermost.log (Mattermost logs for each node)<node-id>/audit.log (Mattermost audit logs for each node)<node-id>/ldap.log (AD/LDAP logs for each node)<node-id>/notifications.log (notifications logs for each node)<node-id>/cpu.prof (Go performance metrics for each node)<node-id>/heap.prof (Go performance metrics for each node)<node-id>/goroutines (Go performance metrics for each node)The Support Packet diagnostics.yaml file includes system and plugin diagnostics to support troubleshooting and configuration validation.
The following additional plugin diagnostic data is available when the plugin is enabled and operational:
/github/diagnostics.yaml/com.github.manland.mattermost-plugin-gitlab/diagnostics.yaml/jira/diagnostics.yaml/com.mattermost.calls/diagnostics.yaml/focalboard/diagnostics.yaml/playbooks/diagnostics.yaml/com.mattermost.mscalendar/diagnostics.yaml/com.mattermost.gcal/diagnostics.yamlFrom v10.11, Support Packets include PostgreSQL database schema dump information that provides comprehensive metadata to help diagnose database configuration issues, performance problems, collation mismatches, and other database-related issues.
Cluster-wide files (root directory):
plugins.json (all active and inactive plugins)sanitized_config.json (sanitized copy of the Mattermost configuration)stats.yaml (Mattermost usage statistics)jobs.yaml (last runs of important jobs)diagnostics.yaml (core plugin diagnostics data)permissions.yaml (role & scheme information)postgres_schema_dump.sql (PostgreSQL database schema information including tables, indexes, constraints, and other database metadata to assist with database configuration diagnosis)warning.txt (present when issues are encountered during packet generation)tsdb_dump.tar.gz (present when the Metrics plugin is installed and the Performance metrics option is selected when generating the Support Packet)Cluster-specific files (in node subdirectories):
<node-id>/mattermost.log (Mattermost logs for each node)<node-id>/audit.log (Mattermost audit logs for each node)<node-id>/ldap.log (AD/LDAP logs for each node)<node-id>/notifications.log (notifications logs for each node)<node-id>/cpu.prof (Go performance metrics for each node)<node-id>/heap.prof (Go performance metrics for each node)<node-id>/goroutines (Go performance metrics for each node)The following additional plugin diagnostic data is included in the generated Support Packet when the plugin is enabled and operational:
/github/diagnostics.yaml/com.github.manland.mattermost-plugin-gitlab/diagnostics.yaml/jira/diagnostics.yaml/com.mattermost.calls/diagnostics.yaml/focalboard/diagnostics.yaml/playbooks/diagnostics.yaml/com.mattermost.mscalendar/diagnostics.yaml/com.mattermost.gcal/diagnostics.yamlFrom Mattermost v10.10, Support Packets from high availability deployments organize cluster-specific files (such as log files) in subdirectories named after each cluster node, while cluster-wide files remain in the root directory.
Support packet file organization has been improved to make it easier to identify cluster-wide versus cluster-specific files:
Cluster-wide files (root directory):
plugins.json (all active and inactive plugins)sanitized_config.json (sanitized copy of the Mattermost configuration)stats.yaml (Mattermost usage statistics)jobs.yaml (last runs of important jobs)diagnostics.yaml (core plugin diagnostics data)permissions.yaml (role & scheme information)warning.txt (present when issues are encountered during packet generation)tsdb_dump.tar.gz (present when the Metrics plugin is installed and the Performance metrics option is selected when generating the Support Packet)Cluster-specific files (in node subdirectories):
<node-id>/mattermost.log (Mattermost logs for each node)<node-id>/audit.log (Mattermost audit logs for each node)<node-id>/ldap.log (AD/LDAP logs for each node)<node-id>/notifications.log (notifications logs for each node)<node-id>/cpu.prof (Go performance metrics for each node)<node-id>/heap.prof (Go performance metrics for each node)<node-id>/goroutines (Go performance metrics for each node)The following additional plugin diagnostic data is included in the generated support packet when the plugin is enabled and operational:
/github/diagnostics.yaml/com.github.manland.mattermost-plugin-gitlab/diagnostics.yaml/jira/diagnostics.yaml/com.mattermost.calls/diagnostics.yaml/focalboard/diagnostics.yaml/playbooks/diagnostics.yaml/com.mattermost.mscalendar/diagnostics.yaml/com.mattermost.gcal/diagnostics.yamlPrior to v10.10, each node in the cluster of a high availability deployment has its own mattermost.log file and advanced logging files included directly in the Support Packet.
From v10.5, the following Support Packet data has changed:
support_packet.yaml file has been removed and split into diagnostics.yaml and stats.yaml files.diagnostics.yaml have been moved into their own objects for improved readability.The contents of a support packet include:
mattermost.log (Mattermost logs)audit.log (Mattermost audit logs)ldap.log (AD/LDAP logs)notifications.log (notifications logs)plugins.json (all active and inactive plugins)sanitized_config.json (sanitized copy of the Mattermost configuration)stats.yaml (Mattermost usage statistics)jobs.yaml (last runs of important jobs)diagnostics.yaml (core plugin diagnostics data)permissions.yaml (role & scheme information)cpu.prof, heap.prof, and goroutineswarning.txt (present when issues are encountered during packet generation)tsdb_dump.tar.gz (present when the Metrics plugin is installed and the Performance metrics option is selected when generating the Support Packet)The following additional plugin diagnostic data is included in the generated support packet when the plugin is enabled and operational:
/github/diagnostics.yaml/com.github.manland.mattermost-plugin-gitlab/diagnostics.yaml/jira/diagnostics.yaml/com.mattermost.calls/diagnostics.yaml/focalboard/diagnostics.yaml/playbooks/diagnostics.yaml/com.mattermost.mscalendar/diagnostics.yaml/com.mattermost.gcal/diagnostics.yamlFrom Mattermost v10.4, a new diagnostics.yaml file includes Mattermost Calls diagostics data, including plugin version, calls and active session counts, as well as average duration and participant counts.
mattermost.logplugins.jsonsanitized_config.jsonsupport_packet.yamldiagnostics.yaml (core plugin diagnostics data)cpu.prof, heap.prof, and goroutineswarning.txt (present when issues are encountered during packet generation)LDAP Version and LDAP Vendor are included when present. These values are included in the support_packet.yaml file.LDAP Vendor errors are included in the Support Packet. If fetching the LDAP Vendor name fails, the Support Packet generation includes the error in warning.txt. If no LDAP Vendor name is found, the Support Packet lists them as unknown.From Mattermost v9.11, generated Support Packets include a metadata.yaml file that contains the following information.
For example:
version: 1
type: support-packet
generated_at: 1622569200
server_version: 9.1.1
server_id: 8fqk9rti13fmpxdd5934a3xsxh
license_id: 3g3pqn8in3brzjkozcn1kdidgr
customer_id: 74cmws7gf3ykpj31car7zahsny
extras:
plugin_version: 0.1.0
The Support Packet contains 3 go runtime profiling files:
cpu.prof contains a 5-second CPU profileheap.prof contains a heap profilegoroutines contains a dump of all the running go routinesThese files can be read using pprof.
Use go tool pprof -web X to open a visualization of the profile in your browser, replacing X with the profile's file name.
From Mattermost v10.10, the Load Metric field under Product Menu > About Mattermost displays monthly active users relative to the total number of licensed users. This value gives Mattermost support teams a contextual reference point for understanding deployment active usage for troubleshooting and guidance. It isn’t a comprehensive performance monitoring tool or health indicator, but serves as a supplementary data point when traditional diagnostic methods aren’t available.