After upgrading to Gitlab 6.2, redmine property in gitlab.yml giving exceptions
Created by: jainnaren
Hello, I was using redmine as external issue tracker with gitlab 6.1 and it was working fine. Yesterday I have upgraded to Gitlab 6.2 stable and after that it is giving exceptions on line where redmine: is written.
issues_tracker: redmine: title: "Redmine" project_url: "http://redmine/projects/:issues_tracker_id" issues_url: "http://redmine/:project_id/:issues_tracker_id/:id" new_issue_url: "http://redmine/projects/:issues_tracker_id/issues/new"
If I comment redmine it started successfully. Below is exception
/usr/lib64/ruby/1.9.1/psych.rb:203:in parse': (<unknown>): did not find expected key while parsing a block mapping at line 75 column 7 (Psych::SyntaxError) from /usr/lib64/ruby/1.9.1/psych.rb:203:in
parse_stream'
from /usr/lib64/ruby/1.9.1/psych.rb:151:in parse' from /usr/lib64/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 '
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
'
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
'
I could not find any problem in gitlab.yml on this line . Can any one help and tell me what is the cause of problem and how to fix this.
Thanks