typo? try "unicorn_rails -c", not "unicorn_rails-c" (notice the space).

On Thursday, December 6, 2012 2:36:17 AM UTC-8, Florian Ludwig wrote:
>
> Hi,
>
> I installed gitlab on a debian system, following pretty much this 
> tutorial: 
> https://github.com/gitlabhq/gitlabhq/blob/stable/doc/install/installation.md
>
> Sadly somewhere I did a wrong turn. 
>
> $ bundle exec rake gitlab:app:status RAILS_ENV=production
>> Starting diagnostics
>> config/database.yml............exists
>> config/gitlab.yml............exists
>> /home/git/repositories/............exists
>> /home/git/repositories/ is writable?............YES
>> Can clone gitolite-admin?............YES
>> Can git commit?............YES
>> UMASK for .gitolite.rc is 0007? ............YES
>> /home/git/.gitolite/hooks/common/post-receive exists? ............YES
>
>
> Finished
>
> But Starting gitlab does not work:
>
> gitlab@gitlab:~/gitlab$ bundle exec unicorn_rails-c 
>> /home/gitlab/gitlab/config/unicorn.rb -E production
>> bundler: command not found: unicorn_rails-c
>> Install missing gem executables with `bundle install`
>
>
> Well, ok, so I don't have unicorn_rails-c but lets try...
>
> $ bundle exec unicorn_rails /home/gitlab/gitlab/config/unicorn.rb -E 
>> production
>> I, [2012-12-06T11:30:18.520542 #18045]  INFO -- : listening on addr=
>> 0.0.0.0:8080 fd=9
>> I, [2012-12-06T11:30:18.520649 #18045]  INFO -- : worker=0 spawning...
>> I, [2012-12-06T11:30:18.521139 #18045]  INFO -- : master process ready
>> I, [2012-12-06T11:30:18.521413 #18074]  INFO -- : worker=0 spawned 
>> pid=18074
>> I, [2012-12-06T11:30:18.521512 #18074]  INFO -- : Refreshing Gem list
>> E, [2012-12-06T11:30:18.522657 #18074] ERROR -- : undefined method 
>> `worker_processes' for main:Object (NoMethodError)
>> /home/gitlab/gitlab/config/unicorn.rb:2:in `<top (required)>'
>> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn.rb:46:in
>>  
>> `require'
>> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn.rb:46:in
>>  
>> `block in builder'
>> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn/http_server.rb:700:in
>>  
>> `call'
>> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn/http_server.rb:700:in
>>  
>> `build_app!'
>> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn/http_server.rb:573:in
>>  
>> `init_worker_process'
>> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn/http_server.rb:593:in
>>  
>> `worker_loop'
>> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn/http_server.rb:491:in
>>  
>> `spawn_missing_workers'
>> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/lib/unicorn/http_server.rb:141:in
>>  
>> `start'
>> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.4.0/bin/unicorn_rails:209:in
>>  
>> `<top (required)>'
>> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/unicorn_rails:23:in 
>> `load'
>> /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/unicorn_rails:23:in 
>> `<main>'
>> E, [2012-12-06T11:30:18.523187 #18045] ERROR -- : reaped 
>> #<Process::Status: pid 18074 exit 1> worker=0
>> I, [2012-12-06T11:30:18.523255 #18045]  INFO -- : worker=0 spawning...
>> I, [2012-12-06T11:30:18.523818 #18077]  INFO -- : worker=0 spawned 
>> pid=18077
>> I, [2012-12-06T11:30:18.523918 #18077]  INFO -- : Refreshing Gem list
>> E, [2012-12-06T11:30:18.524911 #18077] ERROR -- : undefined method 
>> `worker_processes' for main:Object (NoMethodError)
>> [... endless loop ...]
>
>
> And at that point I have not much of an idea how to debug what is going on 
> so I appreciate any pointers,
>
> Thank you in advance,
> Florian
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to