{"action":"created","issue":{"url":"https://api.github.com/repos/matomo-org/matomo/issues/13812","repository_url":"https://api.github.com/repos/matomo-org/matomo","labels_url":"https://api.github.com/repos/matomo-org/matomo/issues/13812/labels{/name}","comments_url":"https://api.github.com/repos/matomo-org/matomo/issues/13812/comments","events_url":"https://api.github.com/repos/matomo-org/matomo/issues/13812/events","html_url":"https://github.com/matomo-org/matomo/issues/13812","id":388852838,"node_id":"MDU6SXNzdWUzODg4NTI4Mzg=","number":13812,"title":"something missing on setting db on install ","user":{"login":"NathanQ","id":1123763,"node_id":"MDQ6VXNlcjExMjM3NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1123763?v=4","gravatar_id":"","url":"https://api.github.com/users/NathanQ","html_url":"https://github.com/NathanQ","followers_url":"https://api.github.com/users/NathanQ/followers","following_url":"https://api.github.com/users/NathanQ/following{/other_user}","gists_url":"https://api.github.com/users/NathanQ/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanQ/subscriptions","organizations_url":"https://api.github.com/users/NathanQ/orgs","repos_url":"https://api.github.com/users/NathanQ/repos","events_url":"https://api.github.com/users/NathanQ/events{/privacy}","received_events_url":"https://api.github.com/users/NathanQ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-07T23:43:16Z","updated_at":"2018-12-10T15:35:25Z","closed_at":null,"author_association":"NONE","body":"I had an issue if I didn't set the db info before [using the composer](https://developer.matomo.org/guides/getting-started-part-1#get-install-composer), installing didn't work and the site said \"\"Error: Matomo is already installed.\" I went back and forth a little bit on this trying to set it in the config.ini.php after set up with this result. Maybe a bit of chicken and egg issue. The `matomo/config/global.ini.php` states \"Edit the config.ini.php instead,\" but it is not present before setup. Anyway, setting db in the `matomo/config/global.ini.php` like so got me running.\r\n```\r\n[database]\r\nhost = \"127.0.0.1\"\r\nusername = \"matomo\"\r\npassword = \"matomolikeamomo\"\r\ndbname = \"matomodb\"\r\ntables_prefix =\r\nport = 3306\r\nadapter = PDO\\MYSQL\r\ntype = InnoDB\r\nschema = Mysql\r\n```\r\nMaybe I missed something in the docs?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/matomo-org/matomo/issues/comments/445858427","html_url":"https://github.com/matomo-org/matomo/issues/13812#issuecomment-445858427","issue_url":"https://api.github.com/repos/matomo-org/matomo/issues/13812","id":445858427,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTg1ODQyNw==","user":{"login":"NathanQ","id":1123763,"node_id":"MDQ6VXNlcjExMjM3NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1123763?v=4","gravatar_id":"","url":"https://api.github.com/users/NathanQ","html_url":"https://github.com/NathanQ","followers_url":"https://api.github.com/users/NathanQ/followers","following_url":"https://api.github.com/users/NathanQ/following{/other_user}","gists_url":"https://api.github.com/users/NathanQ/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanQ/subscriptions","organizations_url":"https://api.github.com/users/NathanQ/orgs","repos_url":"https://api.github.com/users/NathanQ/repos","events_url":"https://api.github.com/users/NathanQ/events{/privacy}","received_events_url":"https://api.github.com/users/NathanQ/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T15:35:25Z","updated_at":"2018-12-10T15:35:25Z","author_association":"NONE","body":"Hi @tsteur, I can confirm this, but I ran into issues with permissions issues and had to run the `sudo chown -R www-data:www-data ./*various_dirs*` create directories in the tmp directory during setup which may be where this stems from. This was a fresh install of php, mysql, and nginx and they're users ran as their default installed on Ubuntu 18.04 server.  For instance, when I run the composer, the new directories' permissions were displayed as question marks. My user wasn't meshing right. I did get up and running, but I'll try it again."}}
{"actor":{"display_login":"NathanQ"}}