gitlabhq/gitlabhq — Issue #253: W access for java_proj DENIED to rails
Author: kirantpatil
Created: 2011-12-30 06:56:02+00:00
State: open

Hello,

I followed the steps of https://github.com/gitlabhq/gitlabhq/wiki/V2.0-easy-setup-for-ubuntu to install GitLab.

I got GitLab website up locally and able to create users.

I find error while creating a new project as shown below.

gitlabhq@gtt-ubuntu:~/java_proj$ git push -u origin master
W access for java_proj DENIED to rails
(Or there may be no repository at the given path. Did you spell it correctly?)
fatal: The remote end hung up unexpectedly

Please help me to resolve this issue.

Steps followed:
--------------------
gitlabhq@gtt-ubuntu:~$ mkdir java_proj
gitlabhq@gtt-ubuntu:~$ cd java_proj
gitlabhq@gtt-ubuntu:~/java_proj$ git init
gitlabhq@gtt-ubuntu:~/java_proj$ touch README
gitlabhq@gtt-ubuntu:~/java_proj$ git add README
gitlabhq@gtt-ubuntu:~/java_proj$ git commit -m 'first commit'
gitlabhq@gtt-ubuntu:~/java_proj$ git remote add origin git@localhost:java_proj.git
gitlabhq@gtt-ubuntu:~/java_proj$ git push -u origin master

System information:
------------------
gitlabhq@gtt-ubuntu:~$ uname -a
Linux gtt-ubuntu 2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:52:38 UTC 2011 x86_64 GNU/Linux

gitlabhq@gtt-ubuntu:~$ cat /etc/issue
Ubuntu 10.04.2 LTS \n \l

gitlabhq@gtt-ubuntu:~$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]

gitlabhq@gtt-ubuntu:~$ rails -v
Rails 3.1.1

gitlabhq@gtt-ubuntu:~$ pwd
/home/gitlabhq

gitlabhq@gtt-ubuntu:~$ ls
gitlabhq gitlabhq_install java_proj

gitlabhq@gtt-ubuntu:~$ ssh -T git@localhost
hello rails, this is gitolite v2.2-11-g8c4d1aa running on git 1.7.0.4
the gitolite config gives you the following access:
R W gitolite-admin
@R_ @W_ testing

gitlabhq@gtt-ubuntu:~$ cat gitlabhq/config/gitlab.yml

email:
from: notify@gitlabhq.com
host: gitlabhq.com

git_host:
system: gitolite
admin_uri: git@localhost:gitolite-admin
base_path: /home/git/repositories/
host: localhost
git_user: git
# port: 22

git:
git_max_size: 5242880 # 5.megabytes
git_timeout: 10

Thanks,
Kiran.