JJC's 테크니컬 다이어리

GitLab 10 LDAP 설정 reconfigure 오류 해결 본문

Git

GitLab 10 LDAP 설정 reconfigure 오류 해결

털털한JJC 2018. 7. 18. 16:26

gitlab 설치후 ldap 등을 설정한 후 reconfigure 시 오류 발생시에 해결한 경험을 기록합니다.


$ sudo /opt/gitlab/bin/gitlab-ctl reconfigure 명령시

어쩌구 저쩌구 등.. 오류..

결론부터 말하자면 gitlab.rb 내부의 문제였음.


gitlab_rails['ldap_enabled'] = true

###! **remember to close this block with 'EOS' below**

 gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'

   main: # 'main' is the GitLab 'provider ID' of this LDAP server


파란색 라인의 indent 변경으로 해결됨.