You want to see how many users a free tier AWS instance can support
You can use mattermost-load-test-ng to run load tests of tens of thousands of users, but it can be difficult to set up. This is a step
| #!/usr/bin/env ruby | |
| # frozen_string_literal: true | |
| ## migrate_custom_emoji.rb | |
| # | |
| ## ABOUT | |
| # | |
| # This script migrates custom emoji from one Mattermost instance to another. | |
| # While it can be run on the source, any machine that can access both | |
| # servers via HTTP that has a copy of the `/opt/mattermost/data/emoji` |
| #!/usr/bin/env ruby | |
| # frozen_string_literal: true | |
| ## mm_fix_compliance_reports.rb | |
| # | |
| ## ABOUT | |
| # | |
| # This script takes a Mattermost Compliance Monitoring export CSV and replaces | |
| # the direct message channel names with the corresponding usernames. For | |
| # example: |
| #!/bin/bash | |
| jq_cmd=jq | |
| [[ $(type -P "$jq_cmd") ]] || { | |
| echo "'$jq_cmd' command line JSON processor not found"; | |
| echo "Please install on linux with 'sudo apt-get install jq'" | |
| echo "Please install on mac with 'brew install jq'" | |
| exit 1; | |
| } |
| #!/bin/bash | |
| LdapServer="LdapServer" | |
| LdapPort="LdapPort" | |
| BindUsername="BindUsername" | |
| BindPassword="BindPassword" | |
| BaseDN="BaseDN" | |
| UserFilter="UserFilter" | |
| GroupFilter="GroupFilter" |
| #!/bin/bash | |
| # mmctl-export-downloader.sh | |
| ## ABOUT | |
| # | |
| # This script automates the process of downloading a very large Mattermost bulk | |
| # exports using mmctl. | |
| # | |
| ## USAGE |
| -- Total Active Users (non-bots) | |
| SELECT COUNT(DISTINCT u.Id) | |
| FROM Users AS u | |
| LEFT JOIN Bots ON u.Id = Bots.UserId | |
| WHERE u.DeleteAt = 0 | |
| AND Bots.UserId IS NULL; | |
| -- Total Teams | |
| SELECT COUNT(*) FROM Teams | |
| WHERE DeleteAt = 0; |
| { | |
| "id": "q67iw187djnoimfcz4t9xk3ibe", | |
| "name": "Run Name", | |
| "description": "", | |
| "owner_user_id": "9pjzm4kit7gp7mwadmcs697dyo", | |
| "reporter_user_id": "9pjzm4kit7gp7mwadmcs697dyo", | |
| "team_id": "7wx1ybtjebgyfp7b77r1x3pp7c", | |
| "channel_id": "fhma9oci8jgqiy5em1s4k6gypy", | |
| "create_at": 1630591134576, | |
| "end_at": 0, |
| { | |
| "id": "q67iw187djnoimfcz4t9xk3ibe", | |
| "name": "Run Name", | |
| "description": "Status update description", | |
| "owner_user_id": "9pjzm4kit7gp7mwadmcs697dyo", | |
| "reporter_user_id": "9pjzm4kit7gp7mwadmcs697dyo", | |
| "team_id": "7wx1ybtjebgyfp7b77r1x3pp7c", | |
| "channel_id": "fhma9oci8jgqiy5em1s4k6gypy", | |
| "create_at": 1630591134576, | |
| "end_at": 0, |
| #!/bin/bash | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run as root" | |
| exit 1 | |
| fi | |
| # Update & Upgrade | |
| apt-get update | |
| apt-get upgrade -y |