Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #1156

Closed
Open
Created Jul 27, 2012 by Administrator@rootOwner

Resque crashed on any git push event

Created by: cgart

HI.

I think there is somewhere a bug, but since I am not very familar with ruby, hence cannot solve it on my own. The issue is a following: I've installed gitlab v2.7.0 on my server. I've connected it to my repositories running gitolite (2.3.1) and git (1.7.0.4). As ruby I am running 1.9.3p194

Now, everything works pretty fine. However whenever there is a new event in the repository, for example when I push something to the git remote server where gitlab is running, the resque job crashes. Below is the crash report. I assume the problem is resque, however since it breaks down when using with gitlab, I posted my problem here. It would be great if somebody could give me hints how to resolve that.

root@domain:/home/gitlab/gitlab# ./resque_dev.sh
** Invoke environment (first_time)
** Execute environment
** Invoke resque:work (first_time)
** Invoke resque:preload (first_time)
** Invoke resque:setup (first_time)
** Execute resque:setup
** Execute resque:preload
** Invoke resque:setup
** Execute resque:work
** [17:22:24 2012-07-27] 24743: Starting worker domain.net:24743:post_receive,mailer,system_hook
** [17:22:24 2012-07-27] 24743: Registered signals
** [17:22:24 2012-07-27] 24743: Checking post_receive
** [17:22:24 2012-07-27] 24743: Error reserving job: #<Resque::Helpers::DecodeException: 757: unexpected token at '189'>
** [17:22:24 2012-07-27] 24743: /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/json-1.7.3/lib/json/common.rb:155:in `parse'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/json-1.7.3/lib/json/common.rb:155:in `parse'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json/adapters/json_common.rb:7:in `load'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json.rb:93:in `load'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/helpers.rb:30:in `decode'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque.rb:158:in `pop'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/job.rb:97:in `reserve'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque.rb:312:in `reserve'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:196:in `block in reserve'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:194:in `each'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:194:in `reserve'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:129:in `block in work'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:126:in `loop'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:126:in `work'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/tasks.rb:34:in `block (2 levels) in <top (required)>'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/rake:23:in `load'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/rake:23:in `<main>'
rake aborted!
757: unexpected token at '189'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/json-1.7.3/lib/json/common.rb:155:in `parse'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/json-1.7.3/lib/json/common.rb:155:in `parse'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json/adapters/json_common.rb:7:in `load'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json.rb:93:in `load'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/helpers.rb:30:in `decode'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque.rb:158:in `pop'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/job.rb:97:in `reserve'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque.rb:312:in `reserve'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:196:in `block in reserve'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:194:in `each'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:194:in `reserve'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:129:in `block in work'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:126:in `loop'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/worker.rb:126:in `work'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque-1.20.0/lib/resque/tasks.rb:34:in `block (2 levels) in <top (required)>'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/rake:23:in `load'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bin/rake:23:in `<main>'
Tasks: TOP => resque:work
Assignee
Assign to
Time tracking