add_trusted_certs step fails when /etc/gitlab is symlinked
When we update GitLab Omnibus (on Centos 7 using yum), gitlab-ctl reconfigure
fails on the add_trusted_certs step. This issue started in the June release and before then our configuration had been working correctly for well over a year.
We are using a custom CA for our self signed certificate which is located in /etc/gitlab/trusted-certs. We have symlinked /data/gitlab/config to /etc/gitlab. I assume that the problem is with the real path of the certificate.
To fix the failure we need to remove the .0 linked certificate from /etc/gitlab/trusted-certs and /opt/gitlab/embedded/ssl/certs before running gitlab-ctl reconfigure
then gitlab-ctl restart
.