Gitlab

Aus Vosp.info
Wechseln zu:Navigation, Suche

Fehler

fatal: Could not read from remote repository.

fatal: 'xxx.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

mehrere Sachen können falsch sein

  • ist der ssh key vom jeweiligen client rechner im webfrontend beim benutzer hoch geladen worden
ssh-keygen -t rsa

hoch geladen werden muss dann der inhalt von ~/.ssh/id_rsa.pub

  • einmal gab es das problem das der inhalt von ~/.ssh/id_rsa.pub, also der schlüssel irgendein sonderzeichen beinhaltete der zum obigen fehler geführt hat, also neuen schlüssel generieren und das ganze noch mal probieren


Customize

Startpage

Pfad ab Wurzel:
/opt/gitlab/embedded/service/gitlab-rails
Pfad ab IDE:
app/views/layouts/devise.html.haml
...
 %h1
             = brand_title
           - if brand_item
             = brand_image
             = brand_text
           - else
             %h3 Open source software to collaborate on code

             %p
               Manage git repositories with fine grained access controls that keep your code secure.
               Perform code reviews and enhance collaboration with merge requests.
               Each project can also have an issue tracker and a wiki.


===> neu
            %h1 netz.coop eG
           - if brand_item
             = brand_image
             = brand_text
           - else
             %h3 Open source software to collaborate on code

             %p
               Übersicht der Repos:
               = link_to "Code", "https://code.netz.coop/explore/projects/starred/"


auf dem Server

 cd /var/opt/gitlab/
gitlab-rake assets:precompile
gitlab-ctl restart unicorn
gitlab-ctl reconfigure