Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #8147

Closed
Open
Created Oct 23, 2014 by Administrator@rootOwner

[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.

Assignee
Assign to
Time tracking