Stuck at "Checking for ability to automatically merge…". HELP!

Hello guys,

I have GitLab 7.6.2 16f0968 (Omnibus) installed. Everything was OK (and I was able to accept merges using web interface) but once I got stuck at “Checking for ability to automatically merge…”

I tried gitlab:app:enable_automerge RAILS_ENV=production, but I got rake aborted!
Don’t know how to build task ‘gitlab:app:enable_automerge’

I noticed strange message in log file (may be it has a key to resolve the problem):

Completed 500 Internal Server Error in 88ms

Grit::Git::CommandFailed (Command failed [1]: /opt/gitlab/embedded/bin/git --git-dir=/var/opt/gitlab/git-data/gitlab-satellites/dbsm/dbsm/.git --work-tree=/v
ar/opt/gitlab/git-data/gitlab-satellites/dbsm/dbsm branch -D devel.lock

error: branch 'devel.lock' not found.
):
  lib/gitlab/satellite/satellite.rb:107:in `block in delete_heads!'
  lib/gitlab/satellite/satellite.rb:107:in `each'
  lib/gitlab/satellite/satellite.rb:107:in `delete_heads!'
  lib/gitlab/satellite/satellite.rb:23:in `clear_and_update!'
  lib/gitlab/satellite/action.rb:40:in `prepare_satellite!'
  lib/gitlab/satellite/merge_action.rb:15:in `block in can_be_merged?'
  lib/gitlab/satellite/action.rb:24:in `block (2 levels) in in_locked_and_timed_satellite'
  lib/gitlab/satellite/satellite.rb:56:in `block in lock'
  lib/gitlab/satellite/satellite.rb:53:in `open'
  lib/gitlab/satellite/satellite.rb:53:in `lock'
  lib/gitlab/satellite/action.rb:23:in `block in in_locked_and_timed_satellite'
  lib/gitlab/satellite/action.rb:22:in `in_locked_and_timed_satellite'
  lib/gitlab/satellite/merge_action.rb:14:in `can_be_merged?'
  app/models/merge_request.rb:176:in `check_if_can_be_merged'
  app/controllers/projects/merge_requests_controller.rb:107:in `automerge_check'


My settings:   gitlab:check RAILS_ENV=production

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 2.4.0 ? ... OK (2.4.0)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
Satellites access is drwxr-x---? ... yes
hooks directories in repos are links: ...
dbsm / dbsm ... ok
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
        /var/opt/gitlab/git-data/repositories: OK
        /var/opt/gitlab/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.8.2
Send ping to redis server: PONG
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
projects have namespace: ...
dbsm / dbsm ... yes
Projects have satellites? ...
dbsm / dbsm ... yes
Redis version >= 2.0.0? ... yes
Ruby version >= 2.0.0 ? ... yes (2.1.4)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 1.7.10 ? ... yes (2.0.5)

Checking GitLab ... Finished

Please, help me!

@alexkkk this question are resolved? I have the same problem and still could not find the solution about this case.

Regards!