Skip to content

ArgumentError - A copy of Gitlab::SidekiqStatus::ClientMiddleware when create a project

This time this error is pretty hidden and hard discoverable.

CE master, development.

I reproduced this error when changed app/controllers/projects/branches_controller.rb

Make some change to app/controllers/projects/branches_controller.rb then create a new project and try to add README.md, you can't do that because of the flash message with error "You can't push to this branch". No log errors during this request! But I was able to find errors during the project creation:

Started POST "/projects" for 127.0.0.1 at 2017-02-06 23:44:08 +0200
....
Unable to save project. Error: A copy of Gitlab::SidekiqStatus::ClientMiddleware has been removed from the module tree but is still active!Project ID: 13
Redirected to http://localhost:3000/root/testdcdv
Completed 302 Found in 1825ms (ActiveRecord: 21.5ms)

Slack - https://gitlab.slack.com/archives/core/p1486420185003930

@rspeicher @rymai @smcgivern