Cant clone/push/pull after changing ip on local gitlab server

Hi

We had to change the IP of our internal gitlab server.
After this the web interface is working fine.

  • Users that have been using the gitlab server before the change now no longer can clone/push/pull any projects.
  • The users that have had their PCs reinstalled after the Ip change can clone/push/pull
  • New user on my PC that user can clone/push/pull

It seems like git is saving a reference to the old ip on the local users files somewhere, that makes Gitlab return a “error 500” when clon/push/pull-ing

any idea how to fix this?

Note:
Gitlab is installed on a Ubuntu machine and local users are on Win7

I know this is a old post, but i am facing this exact issue.

Hey there,

Your old IP data is stored in two known files and needs updating. Please check to see if you notice references to the old IP address in:

  • /opt/gitlab-8.9.6-0/apps/gitlab/htdocs/config/gitlab.yml
    and
  • /home/git/gitlab-shell/config.yml

Then change the references in those files from the old address to the new address and everything should work again.

Let me know how it goes!

Beth

1 Like