Omnibus Mattermost on separate server - unable to disable GitLab

Summary

Following the directions at https://docs.gitlab.com/omnibus/gitlab-mattermost/ in the Running GitLab Mattermost on its own server section. No options for gitlab_rails['enable'] found.

Steps to reproduce

Edit gitlab.rb and add gitlab_rails['enable'] = false causes gitlab-ctl reconfigure to fail out:

Starting Chef Client, version 12.12.15
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
  - package (0.0.0)
  - runit (0.14.2)
  - gitlab (0.0.1)
Installing Cookbook Gems:
Compiling Cookbooks...
Recipe: gitlab::default
  * directory[/etc/gitlab] action create (up to date)
/sbin/init: unrecognized option '--version'
-.mount                                                                             loaded active mounted   /
  Converging 159 resources

Running handlers:
Running handlers complete
Chef Client failed. 0 resources updated in 05 seconds
  1. Version number
    $ apt-cache policy gitlab-ce
    gitlab-ce:
    Installed: 8.12.7-ce.0

  2. Steps to reproduce your issue
    Enter gitlab_rails['enable'] = false to /etc/gitlab/gitlab.rb and run sudo gitlab-ctl reconfigure

Yes, I can confirm the same behavior. Those instructions seem to be outdated. Try just commenting out the gitlab external_url and see if that works.

Thanks for the reply, I’ll give that a go and see, I still get the --version error. (I’m away from the console at the moment, I’ll update with the actual error.) Should I have a number of sidekiq processes, 25, if GitLab itself is disabled on the Mattermost box? I have OAuth set to query the Gitlab server for user access.

Commented out the external_url for gitlab. Checking processes shows git 28439 0.6 17.3 1533024 355056 ? Ssl Oct19 7:32 sidekiq 4.1.4 gitlab-rails [0 of 25 busy] which is about 17% of my memory on this box.

Unicorn is up there in the memory usage, but the rest of the processes are reasonable and managable. I’m only running Mattermost for a test team of 6 users.

Let me know if you need further information or if you’d like a pubkey account access to this test box.