gitlab-shell's config.yml gitlab_url says to require a trailing slash but doesn't have one
I have still a pretty standard private installion of the current gitlab ee version 12 (actually, I'm having trouble figuring out the exact version as the web UI does not show it anywhere I looked, such as footers or Settings - VERSION file in gitlab-shell says 12.0.0)
I was looking at /opt/gitlab/embedded/service/gitlab-shell/config.yml
and found these lines in it:
# Url to gitlab instance. Used for api calls. Should end with a slash.
gitlab_url: "http://127.0.0.1:8080"
So, the comment says to add a trailing slash, yet the values does not have one.
Something is amiss - either the comment or the url.
I did not edit this file, and my gitlab.rb has no manual edits other than for external_url
and nginx['enable'] = false
, so I believe this was not caused by me.
So, two things should happen:
- Clarify what is correct (I'd like to know since I'm troubleshooting a shell issue)
- Fix it :)
Edited by Thomas Tempelmann