I run Gitlab and Mattermost on a Ubuntu 14.4 VM for intranet access and each week when I do my Gitlab update (‘sudo apt-get update’ then ‘sudo apt-get install gitlab-ce’) I lose a number of Mattermost settings. I then have to get into Mattermost and revert those settings.
One example is on the Gitlab Settings page in each of the Endpoint values the fqdn of our Gitlab server gets changed to just the hostname. Example being http://dogmeat.domain.com/oauth/authorize becomes http://dogmeat/oauth/authorize.
This actually makes it fun getting back into Mattermost to the System Console but over time I’ve saved some shortcuts and log in with my Mattermost account as attempting to use my Gitlab account fails.
Other settings include e-mail being set back to disabled, settings related to webhooks turned off, team creation enabled, etc. Just various settings here and there I have to flip again. Also, the site name always reverts back to Gitlab Mattermost.
I’ve been running this since before the config changeover but I don’t recall the version and I don’t recall if I started with a standalone or if it was always in Gitlab. I’m sure this is self-inflicted as it is very likely that somewhere early on I edited a config file or something and that is getting reapplied losing what I configure in the System Console. I’ve checked /var/opt/gitlab/mattermost/config.json which has appropriate settings along with /etc/gitlab/gitlab.rb which has very little tweaked for Mattermost and what is there uncommented and set is not what it reverts to after the upgrade (example being that the site name is correct, not the default.)
So I guess my question is, where did I tweak something along the way that is getting into the mix each time I do my upgrade, or more specifically what files should I look at? We don’t have many using Mattermost at the moment as we have an internal one-off site I coded for communication (which I hope to replace with Mattermost), but I am afraid of turning away the few folks that are “previewing” it as a replacement (or dealing with this with each update.)
Thanks in advance!