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
  • #6670

Closed
Open
Created Apr 01, 2014 by Administrator@rootOwner

creat repository response 500

Created by: looveu

System information
System:     Ubuntu 12.04
Current User:   git
Using RVM:  no
Ruby Version:   2.0.0p353
Gem Version:    2.0.14
Bundler Version:1.6.0
Rake Version:   10.1.1

GitLab information
Version:    6.7.2
Revision:   dbbf4ea
Directory:  /home/git/gitlab
DB Adapter: postgresql
URL:        http://124.115.21.5:3000
HTTP Clone URL: http://124.115.21.5:3000/some-project.git
SSH Clone URL:  [email protected]:some-project.git
Using LDAP: no
Using Omniauth: no

GitLab Shell
Version:    1.9.1
Repositories:   /home/git/repositories/
Hooks:      /home/git/gitlab-shell/hooks/
Git:        /usr/bin/git
Checking Environment ...

Git configured for git user? ... yes

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 1.9.1 ? ... OK (1.9.1)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ... 
Administrator / baga ... repository is empty
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files: 
    /home/git/repositories: OK
    /home/git/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.2.12
Send ping to redis server: PONG
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned UsersGroups? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ... 
Administrator / baga ... yes
Projects have satellites? ... 
Administrator / baga ... can't create, repository is empty
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.9.1)

Checking GitLab ... Finished

error log is

2014-04-01T08:05:03Z 21228 TID-or8cpyc5s INFO: Sidekiq client with redis options {:url=>"redis://localhost:6379", :namespace=>"resque:gitlab"}
Initialized empty Git repository in /home/git/repositories/root/baga.wiki.git/
  Rendered projects/create.js.haml (5.0ms)
Completed 200 OK in 1142ms (Views: 11.5ms | ActiveRecord: 30.1ms)
Started GET "/root/baga" for 117.36.7.186 at 2014-04-01 01:05:04 -0700
Processing by ProjectsController#show as HTML
  Parameters: {"id"=>"root/baga"}
Completed 500 Internal Server Error in 25ms

Rugged::ConfigError (Error stat'ing config file '/root/.gitconfig'):
  app/models/repository.rb:8:in `new'
  app/models/repository.rb:8:in `initialize'
  app/models/project.rb:210:in `new'
  app/models/project.rb:210:in `repository'
  app/controllers/application_controller.rb:98:in `repository'
  app/controllers/application_controller.rb:58:in `set_current_user_for_thread'

is there anything wrong in my config?

Assignee
Assign to
Time tracking