{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/20327","labels_url":"https://api.github.com/repos/owncloud/core/issues/20327/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/20327/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/20327/events","html_url":"https://github.com/owncloud/core/issues/20327","id":115265405,"number":20327,"title":"Make logfile more comprehensible during installation","user":{"login":"tflidd","id":8111200,"avatar_url":"https://avatars.githubusercontent.com/u/8111200?v=3","gravatar_id":"","url":"https://api.github.com/users/tflidd","html_url":"https://github.com/tflidd","followers_url":"https://api.github.com/users/tflidd/followers","following_url":"https://api.github.com/users/tflidd/following{/other_user}","gists_url":"https://api.github.com/users/tflidd/gists{/gist_id}","starred_url":"https://api.github.com/users/tflidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tflidd/subscriptions","organizations_url":"https://api.github.com/users/tflidd/orgs","repos_url":"https://api.github.com/users/tflidd/repos","events_url":"https://api.github.com/users/tflidd/events{/privacy}","received_events_url":"https://api.github.com/users/tflidd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T11:31:16Z","updated_at":"2015-11-05T12:03:51Z","closed_at":null,"body":"We had a user worrying about errors during the installation process. It was a failure about creating a new database user:\r\n````\r\n\"Database creation failed: An exception occurred while executing 'GRANT ALL PRIVILEGES ON `ownCloud` . * TO 'db-user'': SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'db-user'@'%' to database 'ownCloud'\"\r\n````\r\nIt seems like owncloud tries if the given database user is `root` and in that case creates a new user (as it is supposed to do). But when he's not `root`, it will create this error and continue setting up owncloud which finally succeeds. Now, where is the problem?\r\n\r\nThe user is confronted with a lot of errors which can lead him in the wrong direction. The process would be more understandable if you created a \"protocol\" of the installation process, e.g.\r\nverify if it is a root user and create new user ...\r\nerror\r\n-> no root user, continue creating database tables ...\r\ninstallation completed."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/154041482","html_url":"https://github.com/owncloud/core/issues/20327#issuecomment-154041482","issue_url":"https://api.github.com/repos/owncloud/core/issues/20327","id":154041482,"user":{"login":"domhardt","id":1955290,"avatar_url":"https://avatars.githubusercontent.com/u/1955290?v=3","gravatar_id":"","url":"https://api.github.com/users/domhardt","html_url":"https://github.com/domhardt","followers_url":"https://api.github.com/users/domhardt/followers","following_url":"https://api.github.com/users/domhardt/following{/other_user}","gists_url":"https://api.github.com/users/domhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/domhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domhardt/subscriptions","organizations_url":"https://api.github.com/users/domhardt/orgs","repos_url":"https://api.github.com/users/domhardt/repos","events_url":"https://api.github.com/users/domhardt/events{/privacy}","received_events_url":"https://api.github.com/users/domhardt/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T12:03:51Z","updated_at":"2015-11-05T12:03:51Z","body":"Here is the confused user. :) The log was indeed misleading to me. The check of the given database showed several tables with oc_-prefix, so installation seems successful."}}