2013-11-26 126 views
3

後沒有啓動我最近更新來自gitlab 6.0至6.2,得到了一個問題後開始麒麟:麒麟從gitlab 6.0升級到6.2

I, [2013-11-25T15:18:16.934411 #5391] INFO -- : Refreshing Gem list 
I, [2013-11-25T15:18:39.929592 #5391] INFO -- : listening on addr=/home/git/gitlab/tmp/sockets/gitlab.socket fd=16 
I, [2013-11-25T15:18:39.929976 #5391] INFO -- : listening on addr=0.0.0.0:8080 fd=17 
I, [2013-11-25T15:18:39.934823 #5391] INFO -- : master process ready 
I, [2013-11-25T15:18:39.954384 #5400] INFO -- : worker=0 ready 
I, [2013-11-25T15:18:39.963827 #5403] INFO -- : worker=1 ready 
E, [2013-11-26T15:28:03.348742 #5391] ERROR -- : reaped #<Process::Status: pid 5394 SIGKILL (signal 9)> worker=unknown 
I, [2013-11-26T15:28:03.549345 #5391] INFO -- : reaped #<Process::Status: pid 5400 exit 0> worker=0 
I, [2013-11-26T15:28:03.749781 #5391] INFO -- : reaped #<Process::Status: pid 5403 exit 0> worker=1 
I, [2013-11-26T15:28:03.749973 #5391] INFO -- : master complete 
I, [2013-11-26T15:58:50.547084 #6212] INFO -- : Refreshing Gem list 
/usr/local/lib/ruby/1.9.1/psych.rb:203:in `parse': (<unknown>): mapping values are not allowed in this context at line 51 column 14 (Psych::SyntaxError) 
     from /usr/local/lib/ruby/1.9.1/psych.rb:203:in `parse_stream' 
     from /usr/local/lib/ruby/1.9.1/psych.rb:151:in `parse' 
     from /usr/local/lib/ruby/1.9.1/psych.rb:127:in `load' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/settingslogic-2.0.9/lib/settingslogic.rb:103:in `initialize' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/settingslogic-2.0.9/lib/settingslogic.rb:60:in `new' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/settingslogic-2.0.9/lib/settingslogic.rb:60:in `instance' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/settingslogic-2.0.9/lib/settingslogic.rb:37:in `[]' 
     from /home/git/gitlab/config/initializers/1_settings.rb:38:in `<top (required)>' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `block in load' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:587:in `each' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:587:in `block in <class:Engine>' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing' 
     from /home/git/gitlab/config/environment.rb:5:in `<top (required)>' 
     from config.ru:4:in `require' 
     from config.ru:4:in `block in <main>' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize' 
     from config.ru:1:in `new' 
     from config.ru:1:in `<main>' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.3/lib/unicorn.rb:48:in `eval' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.3/lib/unicorn.rb:48:in `block in builder' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.3/bin/unicorn_rails:139:in `call' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.3/bin/unicorn_rails:139:in `block in rails_builder' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:722:in `call' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:722:in `build_app!' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:140:in `start' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.3/bin/unicorn_rails:209:in `<top (required)>' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/bin/unicorn_rails:23:in `load' 
     from /home/git/gitlab/vendor/bundle/ruby/1.9.1/bin/unicorn_rails:23:in `<main>' 

有什麼不對呢? 它運行在Ubuntu 12.04上,我在更新過程中收到包被回收的包,內容爲https://github.com/gitlabhq/gitlabhq/issues/5694。不確定它是否相關。

+1

粘貼您的YAML文件,可能語法錯誤。 –

+0

獨角獸?這是來自https://github.com/gitlabhq/gitlabhq/blob/6-2-stable/config/unicorn.rb.example的默認設置 – frlan

+0

不,gitlab.yml有配置問題(錯誤的縮進)。修復它,它幫助。感謝提示:) – frlan

回答

4

問題是一個錯誤的gitlab.yml文件。在合併6.2中的更改期間,我輸入了一個錯誤的縮進。修好後,它現在正在運行。