New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github webhook return 404 error #450

ghost opened this Issue Jun 5, 2015 · 1 comment


None yet
1 participant

ghost commented Jun 5, 2015

I want use Github webhook for issue syncing but Redmine return 404 error.

My config :

  • Redmine 3.0.3-stable
  • Redmine git Hosting : 1.0.6
  • Github webhook : https://**********/githooks/post-receive/github/redmine
    ("redmine" is my project id)

An extract of my production.log :

Started POST "/githooks/post-receive/github/redmine" for at 2015-06-05 15:06:55 +0200
Processing by GitoliteHooksController#post_receive as */*
  Parameters: { ............., "type"=>"github", "projectid"=>"redmine"}
  Current user: anonymous
Completed 404 Not Found in 147ms (ActiveRecord: 2.8ms)

ActiveRecord::RecordNotFound (Couldn't find Tracker with 'id'=first [WHERE `projects_trackers`.`project_id` = ?]):

The trouble is apparently in redmine_git_hosting/app/services/hooks/github_issues_sync.rb, line 78 :

issue.tracker_id = @project.trackers.find(:first).try(:id)

If i change :first by a tracker id like 1,2 or 3, it's work. :first does not seem to be defined.

@n-rodriguez n-rodriguez self-assigned this Jun 6, 2015

@n-rodriguez n-rodriguez added this to the v1.1.0 milestone Jun 6, 2015

@n-rodriguez n-rodriguez added the bug label Jun 6, 2015

n-rodriguez added a commit that referenced this issue Jun 6, 2015

@n-rodriguez n-rodriguez removed this from the v1.1.0 milestone Jun 6, 2015


This comment has been minimized.

Show comment
Hide comment

n-rodriguez Jun 6, 2015


Fixed in version 1.0.7 (and 1.1.0)


n-rodriguez commented Jun 6, 2015

Fixed in version 1.0.7 (and 1.1.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment