Missing setting 'signin_enabled' in 'gitlab' section in /home/git/gitlab/config/gitlab.yml
Created by: runemadsen
Hi all
We updated to Gitlab 6.8
on two different servers, and we're now getting a 500 error when trying to sign in on one of them:
Started GET "/users/sign_in" for 173.225.73.123 at 2014-05-13 18:48:57 +0000
Processing by Devise::SessionsController#new as HTML
Rendered devise/sessions/new.html.haml within layouts/devise (0.7ms)
Completed 500 Internal Server Error in 4ms
ActionView::Template::Error (Missing setting 'signin_enabled' in 'gitlab' section in /home/git/gitlab/config/gitlab.yml):
15: - elsif ldap_enabled?
16: = render partial: 'devise/sessions/new_ldap'
17:
18: - elsif gitlab_config.signin_enabled
19: = render partial: 'devise/sessions/new_base'
20:
21: - else
app/views/devise/sessions/new.html.haml:18:in `_app_views_devise_sessions_new_html_haml__1883089644502964188_69857600'
app/controllers/application_controller.rb:58:in `set_current_user_for_thread'
I checked the gitlab.yml
file on both servers, and none of them have the signin_enabled
setting, but still one of them works.
We used the official cookbook to deploy this, so I'm not sure what's going on.