Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #253

Closed
Open
Created Dec 30, 2011 by Administrator@rootOwner

W access for java_proj DENIED to rails

Created by: kirantpatil

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 (closed)-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: [email protected] 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.

Assignee
Assign to
Time tracking