I am trying configure BitNami GitLab Stack 5.1.0-2 with LDAP
Then ran into problem
Could not authorize you from Ldap because “Server 192.168.133.100 refused connection on port 389”.
where 192.168.133.100 is actually gitlab server itself.
I change /opt/bitnami/apps/gitlab/htdocs/config/gitlab.yml
to have
ldap:
enabled: true
host: '192.168.1.14'
, but after reboot
or GitLab restart, it is back to 192.168.133.100. That is bug!
How to make BitNami GitLab Stack not to do that?
How to restart GitLab for changed gitlab.yml to take effect? ->
sudo /opt/bitnami/ctlscript.sh restart gitlab_sidekiq
https://github.com/gitlabhq/gitlabhq/issues/3934
UPDATE Renaming /opt/bitnami/apps/gitlab/updateip
doesn't solve the problem.
UPDATE 2: Problem still exists on 5.4.0-0
sudo chmod -x /etc/init.d/bnconfig-gitlab
helps.
Have you tried the following to disable the bncofnig-gitlab service instead of renaming files?
sudo chmod -x /etc/init.d/bnconfig-gitlab
or
sudo update-rc.d -f bnconfig-gitlab disable