{"action":"created","issue":{"url":"https://api.github.com/repos/infobyte/faraday/issues/273","repository_url":"https://api.github.com/repos/infobyte/faraday","labels_url":"https://api.github.com/repos/infobyte/faraday/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/infobyte/faraday/issues/273/comments","events_url":"https://api.github.com/repos/infobyte/faraday/issues/273/events","html_url":"https://github.com/infobyte/faraday/issues/273","id":356275646,"node_id":"MDU6SXNzdWUzNTYyNzU2NDY=","number":273,"title":"Docker distribution functionality regression after postgresql","user":{"login":"fryjustinc","id":6653944,"node_id":"MDQ6VXNlcjY2NTM5NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6653944?v=4","gravatar_id":"","url":"https://api.github.com/users/fryjustinc","html_url":"https://github.com/fryjustinc","followers_url":"https://api.github.com/users/fryjustinc/followers","following_url":"https://api.github.com/users/fryjustinc/following{/other_user}","gists_url":"https://api.github.com/users/fryjustinc/gists{/gist_id}","starred_url":"https://api.github.com/users/fryjustinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fryjustinc/subscriptions","organizations_url":"https://api.github.com/users/fryjustinc/orgs","repos_url":"https://api.github.com/users/fryjustinc/repos","events_url":"https://api.github.com/users/fryjustinc/events{/privacy}","received_events_url":"https://api.github.com/users/fryjustinc/received_events","type":"User","site_admin":false},"labels":[{"id":64432268,"node_id":"MDU6TGFiZWw2NDQzMjI2OA==","url":"https://api.github.com/repos/infobyte/faraday/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-02T11:45:33Z","updated_at":"2018-10-22T21:10:31Z","closed_at":null,"author_association":"NONE","body":"\r\n\r\n## Issue Type\r\n - Bug Report\r\n\r\n## Faraday version\r\n\r\nFaraday v3.0.1\r\n\r\n## Component Name\r\n\r\nrun_service.sh\r\n\r\n## Steps to reproduce\r\nOpen terminal.\r\n\r\n$ sudo docker run -t -i infobyte/faraday /root/run.sh\r\n\r\n> 2018-09-02 11:18:27,728 - faraday-server.__main__ - ERROR {MainThread} [faraday-server.py:102 - check_postgresql() ]\r\n> \r\n> Could not connect to PostgreSQL.\r\n> Please check:\r\n>   * if database is running\r\n>   * configuration settings are correct.\r\n> \r\n> For first time installations execute:\r\n> \r\n>   python manage.py \r\n\r\n$ python manage.py initdb\r\n\r\n> python: can't open file 'manage.py': [Errno 2] No such file or directory\r\n\r\n## Expected results\r\n\r\nrun_service.sh should contain commands to start postgresql, it currently only contains couchdb. the docker distribution needs to be updt\r\n\r\n### Debugging tracebacks (current results)\r\n\r\npip requirements:\r\nalembic==1.0.0\r\nasn1crypto==0.24.0\r\nattrs==17.4.0\r\nautobahn==18.8.2\r\nAutomat==0.6.0\r\nBabel==2.6.0\r\nbackports-abc==0.5\r\nbackports.csv==1.0.6\r\nbackports.ssl-match-hostname==3.4.0.2\r\nbcrypt==3.1.4\r\nbeautifulsoup4==4.6.3\r\nblinker==1.4\r\ncertifi==2018.8.24\r\ncffi==1.11.2\r\nchardet==3.0.4\r\ncli-helpers==1.0.2\r\nclick==6.7\r\ncolorama==0.3.9\r\nconfigobj==5.0.6\r\nconstantly==15.1.0\r\ncouchdbkit==0.6.5\r\ncryptography==2.1.4\r\ndecorator==3.4.0\r\ndeprecation==2.0.5\r\nenum34==1.1.6\r\nfiledepot==0.5.2\r\nfilteralchemy==0.1.0\r\nFlask==1.0.2\r\nFlask-BabelEx==0.9.3\r\nFlask-Classful==0.14.1\r\nFlask-Login==0.4.1\r\nFlask-Mail==0.9.1\r\nFlask-Principal==0.4.0\r\nFlask-Security==3.0.0\r\nFlask-Session==0.3.1\r\nFlask-SQLAlchemy==2.3.2\r\nFlask-WTF==0.14.2\r\nfuncsigs==1.0.2\r\nhtml5lib==0.999\r\nhttp-parser==0.8.3\r\nhumanize==0.5.1\r\nhyperlink==17.3.1\r\nidna==2.7\r\nincremental==17.5.0\r\nipaddress==1.0.19\r\nIPy==0.83\r\nipython==1.2.1\r\nitsdangerous==0.24\r\nJinja2==2.10\r\nMako==1.0.7\r\nmanage.py==0.2.10\r\nMarkupSafe==0.23\r\nmarshmallow==2.15.4\r\nmarshmallow-sqlalchemy==0.14.1\r\nmockito==1.0.12\r\nndg-httpsclient==0.4.0\r\nnplusone==1.0.0\r\npackaging==17.1\r\npasslib==1.7.1\r\npexpect==3.1\r\npgcli==1.10.3\r\npgspecial==1.11.2\r\nPillow==5.2.0\r\nprompt-toolkit==1.0.15\r\npsycopg2==2.7.5\r\npyasn1==0.4.2\r\npyasn1-modules==0.2.1\r\npycparser==2.18\r\npydot==1.2.4\r\nPygments==2.2.0\r\npygobject==3.12.0\r\nPyHamcrest==1.9.0\r\npyOpenSSL==17.5.0\r\npyparsing==2.2.0\r\npython-dateutil==2.7.3\r\npython-editor==1.0.3\r\npython-slugify==1.2.5\r\npytz==2018.5\r\nrequests==2.19.1\r\nrestkit==4.2.2\r\nservice-identity==17.0.0\r\nsetproctitle==1.1.10\r\nsimplegeneric==0.8.1\r\nsingledispatch==3.4.0.3\r\nsix==1.11.0\r\nsocketpool==0.5.3\r\nspeaklater==1.3\r\nSQLAlchemy==1.2.0\r\nsqlalchemy-schemadisplay==1.3\r\nsqlparse==0.2.4\r\nssh-import-id==3.21\r\ntabulate==0.8.2\r\nterminaltables==3.1.0\r\ntornado==4.5.2\r\ntqdm==4.25.0\r\nTwisted==18.7.0\r\ntxaio==18.8.1\r\nUnidecode==1.0.22\r\nurllib3==1.23\r\nw3af-api-client==1.1.7\r\nwcwidth==0.1.7\r\nwebargs==4.0.0\r\nwebsocket-client==0.51.0\r\nWerkzeug==0.14.1\r\nWhoosh==2.7.4\r\nWTForms==2.2.1\r\nzope.interface==4.5.0\r\n### Screenshots\r\n[https://i.imgur.com/icW55Iv.jpg](url)\r\n## Environment information\r\nstandard docker\r\n\r\n### OS\r\nOSX high sierra\r\n"},"comment":{"url":"https://api.github.com/repos/infobyte/faraday/issues/comments/431987922","html_url":"https://github.com/infobyte/faraday/issues/273#issuecomment-431987922","issue_url":"https://api.github.com/repos/infobyte/faraday/issues/273","id":431987922,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTk4NzkyMg==","user":{"login":"edoz90","id":6991986,"node_id":"MDQ6VXNlcjY5OTE5ODY=","avatar_url":"https://avatars1.githubusercontent.com/u/6991986?v=4","gravatar_id":"","url":"https://api.github.com/users/edoz90","html_url":"https://github.com/edoz90","followers_url":"https://api.github.com/users/edoz90/followers","following_url":"https://api.github.com/users/edoz90/following{/other_user}","gists_url":"https://api.github.com/users/edoz90/gists{/gist_id}","starred_url":"https://api.github.com/users/edoz90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edoz90/subscriptions","organizations_url":"https://api.github.com/users/edoz90/orgs","repos_url":"https://api.github.com/users/edoz90/repos","events_url":"https://api.github.com/users/edoz90/events{/privacy}","received_events_url":"https://api.github.com/users/edoz90/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T21:10:31Z","updated_at":"2018-10-22T21:10:31Z","author_association":"NONE","body":"still nothing?\r\n"}}
{"actor":{"display_login":"edoz90"}}