Initial Setup
The MM_TEAMSETTINGS_ENABLEOPENSERVER environment variable determines if users can register on your Mattermost pod. You should set it to true until registering the first admin user.
After the pod is created, open it via Open Pod and follow those steps to create an admin user and team:
- Choose View in browser to skip downloading an app
- Then Don’t have an account? to add the initial admin account
- Choose an email, username and password
- Then create a team
That’s it! You should now be in your team’s workspace. You can then go to the System Console or add more teams via the menus in the top-left.
Also be sure to disable open registrations, if appropriate, by setting the MM_TEAMSETTINGS_ENABLEOPENSERVER env var to false in your PikaPods control panel.
Sending emails
Mattermost doesn’t always require emails, but uses it for select features, like forgotten passwords. To enable sending email, add your SMTP details as described here. You can use your existing email service or a service recommended in our email section.
Using Custom Plugins
To enable integrations in Mattermost with custom plugins, follow these steps:
- Use SFTP to access your server. (Refer to this page for accessing pod files using SFTP.)
- Locate the
config.jsonfile inside theconfigfolder. - Manually set
PluginSettings > EnableUploadstotruein theconfig.jsonfile. By default, this setting isfalse. - Save the changes and restart your Mattermost server.
Enabling this configuration change allows you to upload custom plugins, expanding Mattermost’s functionality with external resources.
Troubleshooting
Server fails to start after update: archived channels error
After updating to newer Mattermost versions (e.g., 11.0.1), some pods may fail to start with an error similar to:
failed to load configuration: failed to create store: unable to load on store creation: invalid config: Config.IsValid: Hiding archived channels is no longer supported. Make these channels private and remove members instead.
To fix this, set ExperimentalViewArchivedChannels to true in your config.json.
Steps:
- Access your pod files via SFTP. (Refer to this page for accessing pod files using SFTP.)
- Open
config/config.json. - In the
TeamSettingssection, ensureExperimentalViewArchivedChannelsis set totrue. If it’s missing, add it:"TeamSettings": { ... "ExperimentalViewArchivedChannels": true, ... } - Save the file and restart the pod.
Reference: Mattermost issue #34084.