Check status: rake aborted Don't know how to build task 'gitlab_status'
Created by: weijianwen
Hi, all. I'm setting up GitLab on Scientific Linux 6.1 (a RedHat-based distro). I got some errors when checking status configuration. @jkeylu reports the problem in issue#657 and got @dscherger's advice.
Is it necessary to refine the "check status configuration" part in the installation manual?
Running, rake aborted.
$ sudo -u gitlab bundle exec rake gitlab_status
rake aborted!
Don't know how to build task 'gitlab_status'
(See full trace by running task with --trace)
Running with --trace
$ sudo -u gitlab bundle exec rake gitlab_status --trace
rake aborted!
Don't know how to build task 'gitlab_status'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task_manager.rb:49:in `[]'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:115:in `invoke_task'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/rake:19:in `load'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/rake:19:in `<main>'
gitlab:app:status
Running Thanks for @dscherger's tip. The output seems OK.
$ sudo -u gitlab bundle exec rake gitlab:app:status RAILS_ENV=production
Starting diagnostic
config/database.yml............exists
config/gitlab.yml............exists
/home/git/repositories/............exists
/home/git/repositories/ is writable?............YES
remote: Counting objects: 47, done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 47 (delta 10), reused 0 (delta 0)
Receiving objects: 100% (47/47), 4.37 KiB, done.
Resolving deltas: 100% (10/10), done.
Can clone gitolite-admin?............YES
UMASK for .gitolite.rc is 0007? ............YES
Finished