[7-4-stable] unknown provider (ldap). Available providers ["ldapmain"]
Created by: s1341
After upgrading to 7-4-stable and updating to the new gitlab.yml config file, I get the following error when trying to access anything:
# cat production.log
Started GET "/" for 127.0.0.1 at 2014-10-23 11:37:26 +0300
Processing by DashboardController#show as HTML
Completed 500 Internal Server Error in 67ms
RuntimeError (Unknown provider (ldap). Available providers: ["ldapmain"]):
lib/gitlab/ldap/config.rb:97:in `invalid_provider'
lib/gitlab/ldap/config.rb:21:in `initialize'
lib/gitlab/ldap/adapter.rb:13:in `new'
lib/gitlab/ldap/adapter.rb:13:in `config'
lib/gitlab/ldap/adapter.rb:7:in `open'
lib/gitlab/ldap/access.rb:11:in `open'
lib/gitlab/ldap/access.rb:17:in `allowed?'
app/controllers/application_controller.rb:204:in `ldap_security_check'
The bundle exec rake gitlab:ldap:check RAILS_ENV=production
test passes fine.