Skip to content
This repository

gitlab:app:status uses the wrong admin_uri #1052

LeonB opened this Issue · 2 comments

2 participants

Leon Bogaert Dmitriy Zaporozhets
Leon Bogaert
LeonB commented

When I execute bundle exec rake gitlab:app:status RAILS_ENV=production it keeps insisting on using git@localhost:gitolite-admin instead of gitolite@localhost:gitolite-admin.

My gitlab.yml contains an git_host.admin_uri but gitlab:app:status ignores that. However, if I add an admin_uri to "git" so git.admin_uri exists it works.

I believe the problem is in config/initializers/1_settings.rb:

def gitolite_admin_uri
  git['admin_uri'] || 'git@localhost:gitolite-admin'
Dmitriy Zaporozhets
randx commented

does it fixed now?

Leon Bogaert

Yes, works now with a502f67. Thanks!

Leon Bogaert LeonB closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.