{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/9889","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/9889/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/9889/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/9889/events","html_url":"https://github.com/owncloud/core/issues/9889","id":38704995,"number":9889,"title":"Setup for Postgres","user":{"login":"mrflow","id":2960691,"avatar_url":"https://avatars.githubusercontent.com/u/2960691?v=3","gravatar_id":"","url":"https://api.github.com/users/mrflow","html_url":"https://github.com/mrflow","followers_url":"https://api.github.com/users/mrflow/followers","following_url":"https://api.github.com/users/mrflow/following{/other_user}","gists_url":"https://api.github.com/users/mrflow/gists{/gist_id}","starred_url":"https://api.github.com/users/mrflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrflow/subscriptions","organizations_url":"https://api.github.com/users/mrflow/orgs","repos_url":"https://api.github.com/users/mrflow/repos","events_url":"https://api.github.com/users/mrflow/events{/privacy}","received_events_url":"https://api.github.com/users/mrflow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/db:postgresql","name":"db:postgresql","color":"444444"},{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement","name":"enhancement","color":"02e10c"},{"url":"https://api.github.com/repos/owncloud/core/labels/settings:installation","name":"settings:installation","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/11","html_url":"https://github.com/owncloud/core/milestones/backlog","labels_url":"https://api.github.com/repos/owncloud/core/milestones/11/labels","id":697149,"number":11,"title":"backlog","description":"","creator":{"login":"MTRichards","id":1818977,"avatar_url":"https://avatars.githubusercontent.com/u/1818977?v=3","gravatar_id":"","url":"https://api.github.com/users/MTRichards","html_url":"https://github.com/MTRichards","followers_url":"https://api.github.com/users/MTRichards/followers","following_url":"https://api.github.com/users/MTRichards/following{/other_user}","gists_url":"https://api.github.com/users/MTRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/MTRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTRichards/subscriptions","organizations_url":"https://api.github.com/users/MTRichards/orgs","repos_url":"https://api.github.com/users/MTRichards/repos","events_url":"https://api.github.com/users/MTRichards/events{/privacy}","received_events_url":"https://api.github.com/users/MTRichards/received_events","type":"User","site_admin":false},"open_issues":765,"closed_issues":274,"state":"open","created_at":"2014-06-20T19:52:03Z","updated_at":"2016-04-25T09:17:54Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2014-07-25T07:48:44Z","updated_at":"2016-04-25T11:50:48Z","closed_at":"2016-04-24T21:12:44Z","body":"The setup with PostgreSQL is \"kind of\" broken.\r\nowncloud does not allow an empty database host, if the field is left empty, the value will be replaced by \"localhost\". This is not a good thing, because empty host means \"use unix socket\" to Postgres.\r\n\r\nI could fix the setup by editing the line 41 in private/setup/abstractdatabase.php\r\n\r\n\r\nIndeed it is a big Problem if one does not want to setup postgres to listen on tcp connections."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/214280258","html_url":"https://github.com/owncloud/core/issues/9889#issuecomment-214280258","issue_url":"https://api.github.com/repos/owncloud/core/issues/9889","id":214280258,"user":{"login":"strk","id":289678,"avatar_url":"https://avatars.githubusercontent.com/u/289678?v=3","gravatar_id":"","url":"https://api.github.com/users/strk","html_url":"https://github.com/strk","followers_url":"https://api.github.com/users/strk/followers","following_url":"https://api.github.com/users/strk/following{/other_user}","gists_url":"https://api.github.com/users/strk/gists{/gist_id}","starred_url":"https://api.github.com/users/strk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strk/subscriptions","organizations_url":"https://api.github.com/users/strk/orgs","repos_url":"https://api.github.com/users/strk/repos","events_url":"https://api.github.com/users/strk/events{/privacy}","received_events_url":"https://api.github.com/users/strk/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T11:50:48Z","updated_at":"2016-04-25T11:50:48Z","body":"Ok, `/var/run/postgresql:5433` works"}}