{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/3003","repository_url":"https://api.github.com/repos/gogits/gogs","labels_url":"https://api.github.com/repos/gogits/gogs/issues/3003/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/3003/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/3003/events","html_url":"https://github.com/gogits/gogs/issues/3003","id":149822315,"number":3003,"title":"Gogs webhooks don't seem to work.","user":{"login":"timshannon","id":1330485,"avatar_url":"https://avatars.githubusercontent.com/u/1330485?v=3","gravatar_id":"","url":"https://api.github.com/users/timshannon","html_url":"https://github.com/timshannon","followers_url":"https://api.github.com/users/timshannon/followers","following_url":"https://api.github.com/users/timshannon/following{/other_user}","gists_url":"https://api.github.com/users/timshannon/gists{/gist_id}","starred_url":"https://api.github.com/users/timshannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timshannon/subscriptions","organizations_url":"https://api.github.com/users/timshannon/orgs","repos_url":"https://api.github.com/users/timshannon/repos","events_url":"https://api.github.com/users/timshannon/events{/privacy}","received_events_url":"https://api.github.com/users/timshannon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/status/needs%20feedback","name":"status/needs feedback","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-04-20T16:37:41Z","updated_at":"2016-06-30T07:23:12Z","closed_at":null,"body":"- Gogs version (or commit ref): 0.9.13.0318\r\n- Git version: 2.5.0\r\n- Operating system: Ubuntu 15.10\r\n- Database:\r\n  - [ ] PostgreSQL\r\n  - [ ] MySQL\r\n  - [x] SQLite\r\n- Can you reproduce the bug at http://try.gogs.io:\r\n  - [ ] Yes (provide example URL)\r\n  - [x] No\r\n  - [ ] Not relevant\r\n- Log gist:\r\n```\r\n2016/04/19 19:33:59 [I] New random avatar created: 3\r\n2016/04/19 19:48:08 [...routers/user/home.go:364 Profile()] [E] GetUserByName: user does not exist [uid: 0, name: config]\r\n2016/04/19 19:33:59 [I] New random avatar created: 3\r\n2016/04/19 19:48:08 [...routers/user/home.go:364 Profile()] [E] GetUserByName: user does not exist [uid: 0, name: config]\r\n2016/04/19 19:48:08 [...s/middleware/repo.go:84 func1()] [E] GetUserByName: user does not exist [uid: 0, name: ironsmith]\r\n2016/04/19 23:59:05 [.../gogs/models/repo.go:1692 CheckRepoStats()] [E] Update repository count 'num_watches'[48]: database table is locked: repository\r\n2016/04/19 23:59:05 [.../gogs/models/repo.go:1692 CheckRepoStats()] [E] Update repository count 'num_watches'[50]: database table is locked: repository\r\n2016/04/19 23:59:05 [.../gogs/models/repo.go:1692 CheckRepoStats()] [E] Update repository count 'num_watches'[51]: database table is locked: repository\r\n2016/04/19 23:59:05 [.../gogs/models/repo.go:1692 CheckRepoStats()] [E] Update repository count 'num_watches'[52]: database table is locked: repository\r\n2016/04/19 23:59:05 [.../gogs/models/repo.go:1692 CheckRepoStats()] [E] Update repository count 'num_watches'[54]: database table is locked: repository\r\n2016/04/19 23:59:05 [.../gogs/models/repo.go:1692 CheckRepoStats()] [E] Update repository count 'num_watches'[55]: database table is locked: repository\r\n2016/04/19 23:59:05 [.../gogs/models/repo.go:1692 CheckRepoStats()] [E] Update repository count 'num_watches'[56]: database table is locked: repository\r\n2016/04/19 23:59:05 [.../gogs/models/repo.go:1692 CheckRepoStats()] [E] Update repository count 'num_watches'[57]: database table is locked: repository\r\n2016/04/19 23:59:05 [.../gogs/models/repo.go:1692 CheckRepoStats()] [E] Update repository count 'num_watches'[59]: database table is locked: repository\r\n```\r\n## Description\r\nI have a simple gogs (not slack) webhook setup, and I'm trying to tie it into a custom continuous integration application that's listening for the webhook trigger to kick off the next CI run.  I can test the webhook fine, and it works successfully, but it fails when it's triggered via a git push.\r\n\r\n![gogs](https://cloud.githubusercontent.com/assets/1330485/14682580/dbcca35c-06eb-11e6-8994-6943811fc934.png)\r\n\r\nIf I can get you any additional info, let me know."},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/229580147","html_url":"https://github.com/gogits/gogs/issues/3003#issuecomment-229580147","issue_url":"https://api.github.com/repos/gogits/gogs/issues/3003","id":229580147,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T07:23:12Z","updated_at":"2016-06-30T07:23:12Z","body":"@timshannon time to check your `path/to/gogs/log/serv.log`, I think there should be quite a lot errors by now..."}}
{"actor":{"display_login":"Unknwon"}}