Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable user sign up in Omnibus GitLab

Tags:

gitlab

I have installed gitlab-omnibus on ubuntu server following the instructions. It works fine but now I'd like to allow users to sign up.

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

I tried to add:

gitlab_rails['gitlab_signup_enabled'] = true

but that didn't work at all even after running a reconfigure and restarting gitlab

In the admin dashboard I see listed it among the disabled features no matter what I do.

How do I enable it in this case?

like image 424
MaddoScientisto Avatar asked Nov 01 '22 15:11

MaddoScientisto


1 Answers

I can't reproduce what you see.

Actions:

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

Outcome:

  • signup is enabled

  • 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 with locate.

    What does it say for you? Does it work if you edit and change to signup_enabled: true and run sudo gitlab-ctl restart?