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
  • #1352

Closed
Open
Created Sep 01, 2012 by Administrator@rootOwner

web hooks nothing happens, 404 error

Created by: Bugagazavr

Hi, im using gitlab 2.8.2 from stable branch. But when i trying setup webhooks, im get some problems. I use my own ci system the system is written on rails...

I use tail -n 30 -f ./development.log, and watch for incoming POST requests to ci, if im running webhook test, its ok, the request success and i get

Started POST "/hook/1/secure_key" for 127.0.0.1 at 2012-09-01 17:26:28 +0400
Processing by HookController#update as HTML
  Parameters: {"before"=>"152ad5cc56ce3753cad31bd06c894975210f8a75", "after"=>"19540e84a14d982f0f0bbe6866186f92ad6c3198", 
"ref"=>"refs/heads/master", 
"user_id"=>1, 
"user_name"=>"Bugagazavr"...

But when im pushing new commits into repository nothing happens gitlab:app:status:

gitlab@dev:~/gitlab$ bundle exec rake gitlab:app:status RAILS_ENV=production
Starting diagnostic
config/database.yml............exists
config/gitlab.yml............exists
/home/git/repositories/............exists
/home/git/repositories/ is writable?............YES
remote: Counting objects: 32, done.
remote: Compressing objects: 100% (24/24), done.
Receiving objects: 100% (32/32), done.
remote: Total 32 (delta 5), reused 0 (delta 0)
Resolving deltas: 100% (5/5), done.
Can clone gitolite-admin?............YES
UMASK for .gitolite.rc is 0007? ............YES
/home/git/share/gitolite/hooks/common/post-receive exists? ............YES
Validating projects repositories:
gtsm.....post-reveice file ok
plm.....post-reveice file ok

commit a502f67c

os info

gitlab@dev:~/gitlab$ uname -a
Linux dev 2.6.32-042stab044.11 #1 SMP Wed Dec 14 16:02:00 MSK 2011 x86_64 x86_64 x86_64 GNU/Linux
gitlab@dev:~/gitlab$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
gitlab@dev:~/gitlab$ rvm -v
rvm 1.14.3 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
Assignee
Assign to
Time tracking