Mattermost: 7. Keep your service up to date

This documentation is part of the Automating with the CLI guide. You can view the complete guide here: Start Mattermost, retrieve its credentials, and programmatically update its configuration using the Stackhero CLI.

Welcome to the Stackhero documentation

Stackhero offers a production-ready Mattermost cloud environment designed for seamless collaboration and enhanced data protection. Key benefits include:

  • Unlimited users and channels to support your team's growth without restrictions.
  • A dedicated SMTP email server with no extra limits, included by default.
  • Full control over your domain name, automatically secured with HTTPS (for example, https://chat.your-company.com).
  • Updates made simple, managed with a single click.
  • High performance and advanced security on a private, dedicated infrastructure: your data remains isolated and confidential.
  • Hosting available in both 🇪🇺 Europe and 🇺🇸 USA regions.

You can get started in just a few minutes. Stackhero takes care of installation, security, and operational management for your Mattermost cloud hosting, providing you with a secure and scalable collaboration platform with minimal effort.

When a new version of Mattermost is available, you can view and install it from the command line as well:

# Show the current version, available updates, and their severity
stackhero service-updates-list --service=svc-xxxxxx

# Install the next update (a backup is taken first), then wait for the service to be running again
stackhero service-update --service=svc-xxxxxx --confirm
stackhero service-wait-for --service=svc-xxxxxx

That's it. You've now seen the full lifecycle: start a service, retrieve its credentials, reconfigure it, and keep it up to date, all in a scriptable, automated way. To learn more, see the full CLI documentation, which also covers the non-interactive STACKHERO_TOKEN authentication shown here. To run your tests against a real Mattermost in GitHub Actions or GitLab CI, see Start services for your CI tests.