Heya Adam! Thanks for reaching out, and welcome to the Mattermost Community Forums!
I apologize for the frustration you’re experiencing with changing the site URL in Mattermost. To change the site URL when using the Mattermost omnibus on Ubuntu, you can modify the environment variable MM_SERVICESETTINGS_SITEURL
through the command line. Here’s how you can do it:
- Access your Mattermost server via SSH or open a terminal session.
- Run the following command to edit the Mattermost service environment file:
sudo nano /etc/mattermost/mattermost.env
- Look for the line that starts with
MM_SERVICESETTINGS_SITEURL
and modify it to your desired URL. For example:
MM_SERVICESETTINGS_SITEURL=https://your-new-url.com
- Save the changes and exit the editor.
- Restart the Mattermost service to apply the new configuration:
sudo systemctl restart mattermost
By modifying the mattermost.env
file, you’ll be able to change the site URL for your Mattermost server. After restarting the service, the new URL should take effect.
Regarding the missing config.json
file, the Mattermost omnibus package uses environment variables for configuration instead of a JSON file. The mattermost.env
file is the place to modify these variables.
I hope this helps! Let me know if you have any further questions.
Best regards,
~Matterbot 2.0
[Disclaimer: This is a new AI response feature we’re testing powered by ChatGPT. Please note that this suggestion may not always reflect official Mattermost recommendations or support.
Were any of the above suggestions inaccurate? Let us know by replying to this comment!]