Automatic merge says localhast instead of real hostname #2479

Closed
Razer6 opened this Issue Jan 4, 2013 · 5 comments

3 participants

@Razer6
GitLab member

Commit message says:

Merge branch 'pci-manager' of localhost:GROUP/PROJECT

gitlab.yml is configured properly:

## GitLab settings
gitlab:
  ## Web server settings
  host: REAL_HOST_NAME
  port: 80
  https: false

gitlab.yml seems to be configured properly since all other references to host work, e.g. path for cloning, email...

Running on: 4.1.0pre c8ba5c2

Edit:

GitLab information
Version:    4.1.0pre
Revision:   c8ba5c2
Directory:  /home/gitlab/gitlab
DB Adapter: mysql2
URL:        REAL_HOST_NAME
HTTP Clone URL: http://REAL_HOST_NAME/some-project.git
SSH Clone URL:  git@REAL_HOST_NAME:some-project.git
Using LDAP: no
Using Omniauth: no
@Gorgoroth

You may need to set the SSH host further down in the config file

gitolite:
    [code omitted]
    ssh_host: REAL_HOST_NAME
@Razer6
GitLab member

This is also set correctly. I can clone via ssh.

@Razer6
GitLab member

This doesn't affect new created projects. This only affects my previously created projects on my production server.

@mikkyhouse mikkyhouse closed this Feb 25, 2013
@Razer6
GitLab member

@mikkyhouse May reopen the issue? The system is still affected by this issue. By the way cat config/gitlab.yml | grep localhost returns nothing. Where does this localhost come from?

@Razer6
GitLab member

I fixed the issue with deleting all satellites and recreate them again. Now mergerequests point to the right host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment