{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/3905","repository_url":"https://api.github.com/repos/gogits/gogs","labels_url":"https://api.github.com/repos/gogits/gogs/issues/3905/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/3905/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/3905/events","html_url":"https://github.com/gogits/gogs/issues/3905","id":191583765,"number":3905,"title":"500 on creating repository for Organisation","user":{"login":"fruitloop","id":5485777,"avatar_url":"https://avatars.githubusercontent.com/u/5485777?v=3","gravatar_id":"","url":"https://api.github.com/users/fruitloop","html_url":"https://github.com/fruitloop","followers_url":"https://api.github.com/users/fruitloop/followers","following_url":"https://api.github.com/users/fruitloop/following{/other_user}","gists_url":"https://api.github.com/users/fruitloop/gists{/gist_id}","starred_url":"https://api.github.com/users/fruitloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fruitloop/subscriptions","organizations_url":"https://api.github.com/users/fruitloop/orgs","repos_url":"https://api.github.com/users/fruitloop/repos","events_url":"https://api.github.com/users/fruitloop/events{/privacy}","received_events_url":"https://api.github.com/users/fruitloop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-24T19:46:08Z","updated_at":"2016-11-25T04:11:05Z","closed_at":null,"body":"- Gogs version (or commit ref): Gogs Version: 0.9.100.1119\r\n- Git version: 2.10.2\r\n- Operating system: Centos 6 (uname -r): 2.6.32-642.6.2.el6.x86_64\r\n- Database (use `[x]`):\r\n  - [ ] PostgreSQL\r\n  - [x] MySQL\r\n  - [ ] SQLite\r\n- Can you reproduce the bug at https://try.gogs.io:\r\n  - [ ] Yes (provide example URL)\r\n  - [x] No\r\n  - [ ] Not relevant\r\n- Log gist:\r\n\r\n## Description\r\nI am trying to create a repository for an Organisation. I get a 500 error.\r\nThe log file looks like this:\r\n```\r\n2016/11/24 20:38:33 [...routers/repo/repo.go:101 handleCreateError()] [E] CreatePost: addRepository: getMembers: get team-users: Error 1054: Unknown column 'team_id' in 'where clause'\r\n```\r\n\r\nbest regards\r\nroland"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/262877512","html_url":"https://github.com/gogits/gogs/issues/3905#issuecomment-262877512","issue_url":"https://api.github.com/repos/gogits/gogs/issues/3905","id":262877512,"user":{"login":"johnmcdowall","id":237175,"avatar_url":"https://avatars.githubusercontent.com/u/237175?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmcdowall","html_url":"https://github.com/johnmcdowall","followers_url":"https://api.github.com/users/johnmcdowall/followers","following_url":"https://api.github.com/users/johnmcdowall/following{/other_user}","gists_url":"https://api.github.com/users/johnmcdowall/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmcdowall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmcdowall/subscriptions","organizations_url":"https://api.github.com/users/johnmcdowall/orgs","repos_url":"https://api.github.com/users/johnmcdowall/repos","events_url":"https://api.github.com/users/johnmcdowall/events{/privacy}","received_events_url":"https://api.github.com/users/johnmcdowall/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T04:11:05Z","updated_at":"2016-11-25T04:11:05Z","body":"I am seeing the same issue on trying to create a repository under an Organization: \r\n\r\n```\r\n2016/11/25 04:08:04 [...routers/repo/repo.go:101 handleCreateError()] [E] CreatePost: addRepository: getMembers: get team-users: pq: column \"team_id\" does not exist\r\n```"}}
{"actor":{"display_login":"johnmcdowall"}}