I'm using a Banana Pi 1 with Ubuntu 14.04.5 Trusty Tahr (32bit architecture). I like to use the Banana Pi as my privat GitLab Server. I successfully installed gitlab-omnibus 7.9. See system information below:
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.1.5p273
Gem Version: 2.2.1
Bundler Version:1.5.3
Rake Version: 10.4.2
Sidekiq Version:3.3.0
GitLab information
Version: 7.9.0
Revision: 16d6f0e
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://192.168.0.115
HTTP Clone URL: http://192.168.0.115/some-project.git
SSH Clone URL: git@192.168.0.115:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 2.6.0
Repositories: /media/Seagate Expansion Dr/Projekte/GitLab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git
Commiting and pushing works fine over ssh but at the moment the git data is stored ad the SD card of the Banana Pi (where ubuntu is installed as well). I hooked up an external hard drive and I can access this drive as well when I log in via ssh. Now I want gitlab to store the git data on this external hard drive (name: Seagate Expansion Dr). I followed the guide in the gitlab README.md. So did the following:
I synchronized the repositorie on the banana pi in the default location
/var/opt/gitlab/git-data/
to the new location/media/Seagate\ Expansion\ Dr/Projekte/GitLab/git-data
(for a more detailed description see gitlab README.md)I added the following line to /etc/gitlab/gitlab.rb:
git_data_dir "/media/Seagate\ Expansion\ Dr/Projekte/GitLab/git-data"
reconfigured and restarted gitlab
gitlab-ctl reconfigure gitlab-ctl restart
But now when I try to push something from my repositorie on my Windows Desktop PC to the Banana Pi via:
git push -u origin master
I get the following error:
fatal: protocol error: bad line length character: No s
I did some research and think the error has something to do with permissions so I gave owner, group and others permission on write, reade and execute for a test but the error remains.
I would be very happy if somebody can help me. If any further information are needed ask me right away.
Best regards, Bredjo :)