Mattermost: 7. Keep your service up to date
This documentation is part of the Full CLI Automation Workflow guide. You can view the complete guide here: Start Mattermost, retrieve its credentials, and modify its configuration programmatically using the Stackhero CLI.
Welcome to the Stackhero documentation
Stackhero provides 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 restriction.
- A dedicated SMTP email server with no additional limits, included as standard.
- Full control over your domain name, automatically secured with HTTPS (for example, https://chat.your-company.com).
- Updates made simple, managed in just one 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 operational again
stackhero service-update --service=svc-xxxxxx --confirm
stackhero service-wait-for --service=svc-xxxxxx
That is the complete process. You have now seen the full lifecycle: start a service, retrieve its credentials, reconfigure it, and keep it up to date, all in a scriptable, automated manner. To learn more, refer to 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.