GitLab“;无法通过gitlab shell创建存储库;没有错误

GitLab“;无法通过gitlab shell创建存储库;没有错误,gitlab,Gitlab,我最近在Debian8上安装了GitLab,除了创建项目之外,其他一切都正常工作。尝试创建时,我收到“未能通过gitlab shell创建存储库” 生产日志: Started POST "/projects" for (my ip) at 2015-08-18 19:45:18 -0400 Processing by ProjectsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>

我最近在Debian8上安装了GitLab,除了创建项目之外,其他一切都正常工作。尝试创建时,我收到“未能通过gitlab shell创建存储库”

生产日志:

Started POST "/projects" for (my ip) at 2015-08-18 19:45:18 -0400
Processing by ProjectsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "project"=>{"path"=>"test", "namespace_id"=>"2", "import_url"=>"", "description"=>"test", "visibility_level"=>"0"}}
Completed 200 OK in 799ms (Views: 386.7ms | ActiveRecord: 33.7ms)
sidekiq日志:

2015-08-18T23:36:24.305Z 884 TID-zos08 INFO: [Sidetiq] Sidetiq::Actor::Handler id: 59945040 initialize
2015-08-18T23:36:24.305Z 884 TID-znnls INFO: [Sidetiq] Sidetiq::Actor::Handler id: 59905360 initialize
2015-08-18T23:36:24.306Z 884 TID-zn7pk INFO: [Sidetiq] Sidetiq::Actor::Handler id: 59872600 initialize
2015-08-18T23:36:24.316Z 884 TID-zmuhg INFO: [Sidetiq] Sidetiq::Actor::Handler id: 59855100 initialize
2015-08-18T23:36:24.317Z 884 TID-alxtw INFO: [Sidetiq] Sidetiq::Actor::Handler id: 17779800 initialize
2015-08-18T23:36:24.317Z 884 TID-b72xc INFO: [Sidetiq] Sidetiq::Actor::Handler id: 17884580 initialize
2015-08-18T23:36:25.087Z 884 TID-anxek INFO: Booting Sidekiq 3.3.0 with redis options {:url=>"unix:/var/run/redis/redis.sock", :namespace=>"resque:gitlab"}
2015-08-18T23:36:26.637Z 884 TID-anxek INFO: Running in ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]
2015-08-18T23:36:26.637Z 884 TID-anxek INFO: See LICENSE and the LGPL-3.0 for licensing details.
2015-08-18T23:36:26.637Z 884 TID-anxek INFO: Upgrade to Sidekiq Pro for more features and support: http://sidekiq.org/pro
gitlab:检查

Checking GitLab Shell ...

GitLab Shell version >= 2.6.4 ? ... OK (2.6.4)
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
Satellites access is drwxr-x---? ... yes
hooks directories in repos are links: ... can't check, you have no projects
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 3.0.3
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 ...

Git configured with autocrlf=input? ... yes
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned GroupMembers? ... 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: ... can't check, you have no projects
Projects have satellites? ... can't check, you have no projects
Redis version >= 2.0.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.1.5)
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (2.5.0)
Active users: 3

Checking GitLab ... Finished
当我没有遇到错误并且一切正常运行时,我还没有找到任何关于这方面的具体信息。在此方面的任何帮助都将不胜感激

更新:我看到的唯一一件事是在跑步之后

sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
-

/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20:警告:已初始化常量rouge::lexers::shell::关键字
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20:警告:这里有以前的关键字定义
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25:警告:已初始化常量rouge::lexers::shell::BUILTINS
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25:警告:这里有以前的内置定义
系统信息
系统:Debian8.1
当前用户:git
使用RVM:否
Ruby版本:2.1.5p273
Gem版本:2.2.2
捆绑程序版本:1.10.6
Rake版本:10.4.2
Sidekiq版本:3.3.0
雷克流产了!
ActionController::UrlGenerationError:没有路由匹配{:action=>“show”,:controller=>“projects”,:id=>#,:namespace_id=>nil}缺少必需的键:[:namespace_id]
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action\u dispatch/journey/formatter.rb:39:in“generate”
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action\u dispatch/routing/route\u set.rb:613:in'generate'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action\u dispatch/routing/route\u set.rb:643:in'generate'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action\u dispatch/routing/route\u set.rb:679:in'url\u for'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action\u dispatch/routing/route\u set.rb:411:in'url\u for'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action\u dispatch/routing/route\u set.rb:230:in'call'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action\u dispatch/routing/route\u set.rb:284:define\u url\u helper中的`块(两级)'
/home/git/gitlab/app/models/project.rb:319:in'weburl'
/home/git/gitlab/app/models/project.rb:574:in'http\u url\u to\u repo'
/home/git/gitlab/lib/tasks/gitlab/info.rake:36:in'block(3层)in'
Tasks:TOP=>gitlab:env:info
(通过使用--trace运行任务查看完整跟踪)

我最终清理并安装了Debian 7,现在一切正常

/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: already initialized constant Rouge::Lexers::Shell::KEYWORDS
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: previous definition of KEYWORDS was here
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: already initialized constant Rouge::Lexers::Shell::BUILTINS
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: previous definition of BUILTINS was here

System information
System:         Debian 8.1
Current User:   git
Using RVM:      no
Ruby Version:   2.1.5p273
Gem Version:    2.2.2
Bundler Version:1.10.6
Rake Version:   10.4.2
Sidekiq Version:3.3.0
rake aborted!
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"projects", :id=>#<Project id: nil, name: nil, path: "some-project", description: nil, created_at: nil, updated_at: nil, creator_id: nil, issues_enabled: true, wall_enabled: false, merge_requests_enabled: true, wiki_enabled: true, namespace_id: nil, issues_tracker: "gitlab", issues_tracker_id: nil, snippets_enabled: true, last_activity_at: nil, import_url: nil, visibility_level: 0, archived: false, avatar: nil, import_status: "none", repository_size: 0.0, star_count: 0, import_type: nil, import_source: nil, commit_count: 0>, :namespace_id=>nil} missing required keys: [:namespace_id]
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action_dispatch/journey/formatter.rb:39:in `generate'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action_dispatch/routing/route_set.rb:613:in `generate'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action_dispatch/routing/route_set.rb:643:in `generate'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action_dispatch/routing/route_set.rb:679:in `url_for'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action_dispatch/routing/route_set.rb:411:in `url_for'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action_dispatch/routing/route_set.rb:230:in `call'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.11/lib/action_dispatch/routing/route_set.rb:284:in `block (2 levels) in define_url_helper'
/home/git/gitlab/app/models/project.rb:319:in `web_url'
/home/git/gitlab/app/models/project.rb:574:in `http_url_to_repo'
/home/git/gitlab/lib/tasks/gitlab/info.rake:36:in `block (3 levels) in <top (required)>'
Tasks: TOP => gitlab:env:info
(See full trace by running task with --trace)