GitLab: Can't push code to server?

后端 未结 6 1512
傲寒
傲寒 2021-02-09 07:57

I\'ve installed GitLab on an Ubuntu Server. Everything seems to work fine except I can\'t push/pull/clone to/from the server.

When I push I get the general error message

6条回答
  •  自闭症患者
    2021-02-09 08:22

    I finally figured it out after many hours of debugging, and I somehow knew there was a simple issue with the configuration.

    Since the second guide mention how to set up gitlab on apache with a relative url you actually have to do some more configs inside gitlab. I uncommented the line about relative url:s unicorn.rb and in gitlab-shell/config I added my whole URL (with subdirectory).

    Before:

     http://web-adress.com/
    

    after:

     http://web-adress.com/subdomain/
    

    Now it works great.

提交回复
热议问题