Include user in Omnibus GitLab

I installed gitlab-omnibus on the ubuntu server as instructed. It works great, but now I want to allow users to register.

Each result mentions editing the gitlab.yml file, the problem is that I don't have this file at all, I only have gitlab.rb

I tried to add:

gitlab_rails['gitlab_signup_enabled'] = true 

but this did not work even after starting the reconfiguration and restarting gitlab

In the admin control panel, I see a list of disabled features no matter what I do.

How to enable it in this case?

+5
source share
2 answers

I can not reproduce what you see.

Actions:

  • Add gitlab_rails['gitlab_signup_enabled'] = true for /etc/gitlab/gitlab.rb
  • run sudo gitlab-ctl reconfigure

Result:

  • registration is included

  • sudo grep signup/var/opt/gitlab/gitlab-rails/etc/gitlab.yml says signup_enabled: true .

    I found this file by looking at the output of gitlab-ctl reconfigure or using locate .

    What does this say to you? signup_enabled: true if you edit and change signup_enabled: true and run sudo gitlab-ctl restart ?

+2
source

In addition to Ciro: In the new version, the configuration can be performed in the settings of the administrator application: administrator / application _settings

Login restrictions Registration is enabled

This may be the reason that it does not show that this does not work for you. gitlab_rails ['gitlab_signup_enabled'] = true

0
source

Source: https://habr.com/ru/post/1205675/