Redis::InheritedError when deleting a project
Created by: redcapital
After adding a system hook I can't delete projects anymore. I can create them without problems though (and hook invocation is working since I see the POST requests).
Also, I can delete projects if I remove all system hooks.
I run gitlab 4. The gitlab:check
command says everything is OK.
Here is the log from production.log
tab:
Started DELETE "/testproject" for 172.22.38.115 at 2013-01-04 19:02:47 +0600
Processing by ProjectsController#destroy as HTML
Parameters: {"authenticity_token"=>"+qh4idZZnp9Riz4GoDbBulmIdWU+lrS3PjxgajDlJUo=", "id"=>"testproject"}
Completed 500 Internal Server Error in 155ms
Redis::InheritedError (Tried to use a connection from a child process without reconnecting. You need to reconnect to Redis after forking.):
app/models/system_hook.rb:22:in `async_execute'
app/models/system_hook.rb:17:in `block in all_hooks_fire'
app/models/system_hook.rb:16:in `each'
app/models/system_hook.rb:16:in `all_hooks_fire'
app/observers/system_hook_observer.rb:56:in `after_destroy'
app/controllers/projects_controller.rb:105:in `destroy'
Here is the output of bundle exec rake gitlab:env:info RAILS_ENV=production
System information
System: Debian testing
Current User: gitlab
Using RVM: yes
RVM Version: 1.13.8
Ruby Version: 1.9.3p194
Gem Version: 1.8.24
Bundler Version:1.1.4
Rake Version: 10.0.1
GitLab information
Version: 4.0.0
Revision: 708a0d4
Directory: /home/gitlab/gitlab
DB Adapter: mysql2
URL: http://myserver.com
HTTP Clone URL: http://myserver.com/some-project.git
SSH Clone URL: [email protected]:some-project.git
Using LDAP: no
Using Omniauth: no
Gitolite information
Version: v3.04-4-g4524f01
Admin URI: git@localhost:gitolite-admin
Admin Key: gitlab
Repositories: /home/git/repositories/
Hooks: /home/git/.gitolite/hooks/
Git: /usr/bin/git