{"action":"closed","issue":{"url":"https://api.github.com/repos/firefly-iii/firefly-iii/issues/1573","repository_url":"https://api.github.com/repos/firefly-iii/firefly-iii","labels_url":"https://api.github.com/repos/firefly-iii/firefly-iii/issues/1573/labels{/name}","comments_url":"https://api.github.com/repos/firefly-iii/firefly-iii/issues/1573/comments","events_url":"https://api.github.com/repos/firefly-iii/firefly-iii/issues/1573/events","html_url":"https://github.com/firefly-iii/firefly-iii/issues/1573","id":345472586,"node_id":"MDU6SXNzdWUzNDU0NzI1ODY=","number":1573,"title":"Problem with docker installation","user":{"login":"xosem47","id":35007180,"node_id":"MDQ6VXNlcjM1MDA3MTgw","avatar_url":"https://avatars2.githubusercontent.com/u/35007180?v=4","gravatar_id":"","url":"https://api.github.com/users/xosem47","html_url":"https://github.com/xosem47","followers_url":"https://api.github.com/users/xosem47/followers","following_url":"https://api.github.com/users/xosem47/following{/other_user}","gists_url":"https://api.github.com/users/xosem47/gists{/gist_id}","starred_url":"https://api.github.com/users/xosem47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xosem47/subscriptions","organizations_url":"https://api.github.com/users/xosem47/orgs","repos_url":"https://api.github.com/users/xosem47/repos","events_url":"https://api.github.com/users/xosem47/events{/privacy}","received_events_url":"https://api.github.com/users/xosem47/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-28T19:21:20Z","updated_at":"2018-07-28T19:40:19Z","closed_at":"2018-07-28T19:40:19Z","author_association":"NONE","body":"I am running Firefly III version latest\r\n\r\n**Description**\r\nAfter installation, I try to initialize database and it does not work.\r\n\r\n$ docker exec -it firefly php artisan migrate --seed\r\n\r\nIn Connection.php line 664:\r\n                                                                                                                                                     \r\n  SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = firefly and table_name = migrations)  \r\n                                                                                                                                                     \r\n\r\nIn PDOConnection.php line 50:\r\n                                             \r\n  SQLSTATE[HY000] [2002] Connection refused  \r\n                                             \r\n\r\nIn PDOConnection.php line 46:\r\n                                             \r\n  SQLSTATE[HY000] [2002] Connection refused  \r\n                                             \r\n\r\n\r\n\r\n\r\n**Steps to reproduce** \r\nI am using https://firefly-iii.readthedocs.io/en/latest/installation/docker.html#straight-from-docker-hub\r\n\r\nI checked that user and password are correct. Also used remote host, localhost and 127.0.0.1\r\n\r\nThis is the installation command \r\n$ docker run -d -v firefly_iii_export:/var/www/firefly-iii/storage/export -v firefly_iii_upload:/var/www/firefly-iii/storage/upload -p 80:80 -e FF_APP_ENV=local -e FF_APP_KEY=zKH2PvbKPib4muSaJzm6ogpwK9QEdsWi -e FF_DB_HOST=127.0.0.1 -e FF_DB_NAME=firefly -e FF_DB_USER=root -e FF_DB_PASSWORD=<mypassword> --name firefly jc5x/firefly-iii:latest\r\n\r\n\r\n\r\n**Extra info**\r\nPlease add extra info here, such as OS, browser, and the output from the `/debug`-page of your Firefly III installation (click the version at the bottom). \r\n\r\n\r\n\r\n**Bonus points**\r\nEarn bonus points by:\r\n\r\n- Add a screenshot\r\n- Replicate the problem on the demo site https://demo.firefly-iii.org/"}}
{"actor":{"display_login":"xosem47"}}