Hi All,

I have a strange gitlab-shell problem. 

I followed the standard installation instruction. My installation differs 
slightly as I am planning to run multiple instances on one machine, 
therefore I am using userid git01 instead of git. I also installed the 
kerberos plugin using omniauth including commenting out 
protect_from_forgery in  controllers/application_controller.rb (otherwise 
the kerberos module does not seem to work in the moment). Commenting this 
line out is not a good idea for sure -- I keep that in mind and will try to 
find a fix later.

 The Webfrontend seems to work fine -- I can create projects as well. The 
project.git and project.wiki.git are created. But unfortunately I cannot 
access the repository from a git client via ssh (gitlab-shell)

What works:
  * WebFrontend
  * ssh git01@gitserver (So I got authenticated successfully)
  * creating projects

What does not work:
  git clone or push or whatever. Unicorn answers with a "405 method not 
allowed" message.

>From the gitlab-shell.log:
I, [2014-10-16T14:00:56.314715 #27091]  INFO -- : Adding key key-5 => 
"ssh-rsa AAAAB..."
I, [2014-10-16T14:01:11.766898 #27119]  INFO -- : Adding project 
Waldemar/supertest.git at </home/git01/repositories/Waldemar/supertest.git>.
I, [2014-10-16T14:01:11.813285 #27120]  INFO -- : Adding project 
Waldemar/supertest.wiki.git at 
</home/git01/repositories/Waldemar/supertest.wiki.git>.
D, [2014-10-16T14:01:57.971345 #27135] DEBUG -- : Performing GET 
http://git01.x.de/api/v3/internal/allowed?action=git-receive-pack&ref=_any&project=Waldemar%2Fsupertest&forced_push=false&key_id=5
E, [2014-10-16T14:01:58.000698 #27135] ERROR -- : API call <GET 
http://git01.x.de/api/v3/internal/allowed?action=git-receive-pack&ref=_any&project=Waldemar%2Fsupertest&forced_push=false&key_id=5>
 
failed: 405 => <>.
W, [2014-10-16T14:01:58.000777 #27135]  WARN -- : gitlab-shell: Access 
denied for git command <git-receive-pack 'Waldemar/supertest.git'> by user 
with key key-5.

There are no useful information in the unicorn.log -- unfortunately I 
haven't found out how to increase its debuglevel.

The rake-info seems to be ok as well:
System information
System:         OracleServer 6.5
Current User:   git01
Using RVM:      no
Ruby Version:   2.1.2p95
Gem Version:    2.2.2
Bundler Version:1.7.3
Rake Version:   10.3.2
Sidekiq Version:2.17.0

GitLab information
Version:        7.3.2
Revision:       f092e53
Directory:      /home/git01/gitlab
DB Adapter:     postgresql
URL:            https://git01.xy
HTTP Clone URL: https://git01.xy/some-project.git
SSH Clone URL:  gi...@git01.xy:some-project.git
Using LDAP:     no
Using Omniauth: yes
Omniauth Providers: kerberos

GitLab Shell
Version:        1.9.6
Repositories:   /home/git01/repositories/
Hooks:          /home/git01/gitlab-shell/hooks/
Git:            /usr/bin/git


Any hints or ideas are appreciated.

thanks in advance
Waldemar

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/172c0ba3-da47-4cf9-8faf-aa411b381470%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to