Webhooks not working after upgrade to 6.9
Created by: lcx
I just upgraded from 6.7 to 6.8 and then to 6.9 Restarted and even rebooted the system. When pushing a commit sidekiq reports this error:
2014-05-22T17:02:51Z 3712 TID-s0dp4 PostReceive JID- INFO: start
2014-05-22T17:02:51Z 3712 TID-s0dp4 PostReceive JID- INFO: fail: 0.068 sec
2014-05-22T17:02:51Z 3712 TID-s0dp4 WARN: {"class"=>"PostReceive", "args"=>["/home/git/repositories/ahn/foobar.git", "c36444077124b145df8d9b52b9d74e880d99a2ca", "0971d8b57867f975a62df945810fc1af1ca4290d", "refs/heads/master", "key-4"]}
2014-05-22T17:02:51Z 3712 TID-s0dp4 WARN: undefined method `repository_size=' for #<Project:0x00000005960370>
2014-05-22T17:02:51Z 3712 TID-s0dp4 WARN: /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activemodel-4.0.5/lib/active_model/attribute_methods.rb:439:in `method_missing'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.5/lib/active_record/attribute_methods.rb:167:in `method_missing'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.5/lib/active_record/persistence.rb:219:in `update_attribute'
/home/git/gitlab/app/models/project.rb:571:in `update_repository_size'
/home/git/gitlab/app/services/git_push_service.rb:28:in `execute'
/home/git/gitlab/app/workers/post_receive.rb:35:in `perform'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/processor.rb:49:in `block (3 levels) in process'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/middleware/chain.rb:122:in `call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/middleware/chain.rb:122:in `block in invoke'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/middleware/chain.rb:124:in `block in invoke'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/middleware/server/retry_jobs.rb:62:in `call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/middleware/chain.rb:124:in `block in invoke'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/middleware/server/logging.rb:11:in `block in call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/logging.rb:22:in `with_context'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/middleware/server/logging.rb:7:in `call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/middleware/chain.rb:124:in `block in invoke'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/middleware/chain.rb:127:in `call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/middleware/chain.rb:127:in `invoke'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/processor.rb:48:in `block (2 levels) in process'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/processor.rb:105:in `stats'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.17.0/lib/sidekiq/processor.rb:47:in `block in process'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/celluloid-0.15.2/lib/celluloid/calls.rb:67:in `dispatch'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/celluloid-0.15.2/lib/celluloid/future.rb:14:in `block in new'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/celluloid-0.15.2/lib/celluloid/thread_handle.rb:13:in `block in initialize'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/celluloid-0.15.2/lib/celluloid/internal_pool.rb:100:in `call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/celluloid-0.15.2/lib/celluloid/internal_pool.rb:100:in `block in create'
I'm not really sure that if it has anything to do with webhooks, what I can see is that the webhook is not being triggered, neither is the slack notification. If however I click the "Test Hook" button, everything works fine.