{"action":"created","issue":{"url":"https://api.github.com/repos/medialab/hyphe/issues/152","labels_url":"https://api.github.com/repos/medialab/hyphe/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/medialab/hyphe/issues/152/comments","events_url":"https://api.github.com/repos/medialab/hyphe/issues/152/events","html_url":"https://github.com/medialab/hyphe/issues/152","id":109139336,"number":152,"title":"hyphe and docker in linux to ?","user":{"login":"ElCep","id":1777267,"avatar_url":"https://avatars.githubusercontent.com/u/1777267?v=3","gravatar_id":"","url":"https://api.github.com/users/ElCep","html_url":"https://github.com/ElCep","followers_url":"https://api.github.com/users/ElCep/followers","following_url":"https://api.github.com/users/ElCep/following{/other_user}","gists_url":"https://api.github.com/users/ElCep/gists{/gist_id}","starred_url":"https://api.github.com/users/ElCep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElCep/subscriptions","organizations_url":"https://api.github.com/users/ElCep/orgs","repos_url":"https://api.github.com/users/ElCep/repos","events_url":"https://api.github.com/users/ElCep/events{/privacy}","received_events_url":"https://api.github.com/users/ElCep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-30T17:19:24Z","updated_at":"2015-10-02T06:42:25Z","closed_at":null,"body":"Dear all and dear @oncletom , \r\nI'am a Linux user, but in a flavor not well supported (yet) by hyphe (Fedora 22). So I want take the docker solution... my procedure is :\r\n \r\n     sudo systemctl start docker\r\n     git clone git@github.com:medialab/hyphe.git\r\n     cd hyphe\r\n     docker-compose up\r\n\r\nAfter something like 15 min it seem to be ok in my terminal ... and in docker I have : \r\n\r\n    > docker ps\r\n    CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                    NAMES\r\n    5e26642259a4        hyphe_backend       \"/bin/sh -c '/bin/bas\"   17 minutes ago      Up 17 minutes       0.0.0.0:6978->6978/tcp   hyphe_backend_1\r\n    54404fd4edab        hyphe_crawler       \"/usr/bin/scrapyd\"       24 minutes ago      Up 24 minutes       6800/tcp                 hyphe_crawler_1\r\n    aef92b9b74fd        mongo:3.0           \"/entrypoint.sh mongo\"   27 minutes ago      Up 27 minutes       27017/tcp                hyphe_mongo_1\r\n   f98b80104f4c        hyphe_frontend      \"/app/node_modules/.b\"   28 minutes ago      Up 28 minutes       0.0.0.0:8000->8000/tcp   hyphe_frontend_1\r\n\r\nI have seen on [this](https://github.com/medialab/hyphe/pull/135) the URL of my service ... for me it's \r\n\r\n    192.168.0.2:8000 \r\nBut nothing happens in my browser ... However in my terminal  : \r\n```\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /bower_assets/bootstrap/dist/css/bootstrap.min.css\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /css/main.css\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /bower_assets/html5-boilerplate/js/vendor/modernizr-2.6.2.min.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /bower_assets/bootstrap/dist/js/bootstrap.min.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /js/sigma.min.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /js/sigma.layout.forceAtlas2.min.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /js/json_graph_api.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /bower_assets/angular-route/angular-route.min.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /bower_assets/angular-bootstrap/ui-bootstrap.min.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /bower_assets/angular-bootstrap/ui-bootstrap-tpls.min.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /bower_assets/FileSaver.js/FileSaver.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /bower_assets/angulartics/dist/angulartics.min.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /conf/conf.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /bower_assets/angulartics/dist/angulartics-ga.min.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /conf/conf_default.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /js/services.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /js/service_utils.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /js/app.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/checkStartPages.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /js/service_hyphe_api.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /js/service_glossary.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /js/controllers.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/export.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/prepareCrawls.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/definewebentities.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/login2.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/importurls.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/listWebentities.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/login.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/network.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/monitorCrawls.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/newCrawl.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/scheduleCrawls.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/overview.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/prospect.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/webentity.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /js/directives.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend```_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /views/settings.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /js/filters.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\nfrontend_1        | [Wed, 30 Sep 2015 17:14:42 GMT] \"GET /partials/webentitystartpagesmodal.js\" \"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0\"\r\n ```\r\n\r\nWhat is going on ? Can I have a hand ?\r\n\r\nThank's\r\n\r\nE."},"comment":{"url":"https://api.github.com/repos/medialab/hyphe/issues/comments/144936698","html_url":"https://github.com/medialab/hyphe/issues/152#issuecomment-144936698","issue_url":"https://api.github.com/repos/medialab/hyphe/issues/152","id":144936698,"user":{"login":"ElCep","id":1777267,"avatar_url":"https://avatars.githubusercontent.com/u/1777267?v=3","gravatar_id":"","url":"https://api.github.com/users/ElCep","html_url":"https://github.com/ElCep","followers_url":"https://api.github.com/users/ElCep/followers","following_url":"https://api.github.com/users/ElCep/following{/other_user}","gists_url":"https://api.github.com/users/ElCep/gists{/gist_id}","starred_url":"https://api.github.com/users/ElCep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElCep/subscriptions","organizations_url":"https://api.github.com/users/ElCep/orgs","repos_url":"https://api.github.com/users/ElCep/repos","events_url":"https://api.github.com/users/ElCep/events{/privacy}","received_events_url":"https://api.github.com/users/ElCep/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T06:42:25Z","updated_at":"2015-10-02T06:42:25Z","body":"Hi all, \r\nOk I have take time this morning for try :-) but something is wrong . I'm quiet new with docker so I dont know is the error come frome docker or your modification : \r\n```\r\n>git pull\r\n>docker rm $(docker ps -a -q)\r\n> docker-compose up\r\nCreating hyphe_memorystructure_1...\r\nCreating hyphe_frontend_1...\r\nCreating hyphe_mongo_1...\r\nCreating hyphe_crawler_1...\r\nCreating hyphe_backend_1...\r\nAttaching to hyphe_memorystructure_1, hyphe_frontend_1, hyphe_mongo_1, hyphe_crawler_1, hyphe_backend_1\r\nfrontend_1        | Starting up http-server, serving ./ on port: 8000\r\nfrontend_1        | Hit CTRL-C to stop the server\r\nmongo_1           | 2015-10-02T06:38:00.843+0000 I JOURNAL  [initandlisten] journal dir=/data/db/journal\r\nmongo_1           | 2015-10-02T06:38:00.843+0000 I JOURNAL  [initandlisten] recover : no journal files present, no recovery needed\r\nmongo_1           | 2015-10-02T06:38:05.570+0000 I JOURNAL  [initandlisten] preallocateIsFaster=true 41.64\r\ncrawler_1         | 2015-10-02 06:38:03+0000 [-] Log opened.\r\ncrawler_1         | 2015-10-02 06:38:03+0000 [-] twistd 15.4.0 (/usr/bin/python 2.7.9) starting up.\r\ncrawler_1         | 2015-10-02 06:38:03+0000 [-] reactor class: twisted.internet.epollreactor.EPollReactor.\r\ncrawler_1         | 2015-10-02 06:38:03+0000 [-] Site starting on 6800\r\ncrawler_1         | 2015-10-02 06:38:03+0000 [-] Starting factory <twisted.web.server.Site instance at 0x7f69c4019320>\r\ncrawler_1         | 2015-10-02 06:38:03+0000 [Launcher] Scrapyd 1.0.1 started: max_proc=12, runner='scrapyd.runner'\r\nbackend_1         | Unhandled Error\r\nbackend_1         | Traceback (most recent call last):\r\nbackend_1         |   File \"/opt/virtualenvs/hyphe/lib/python2.7/site-packages/twisted/application/app.py\", line 617, in run\r\nbackend_1         |     runApp(config)\r\nbackend_1         |   File \"/opt/virtualenvs/hyphe/lib/python2.7/site-packages/twisted/scripts/twistd.py\", line 25, in runApp\r\nbackend_1         |     _SomeApplicationRunner(config).run()\r\nbackend_1         |   File \"/opt/virtualenvs/hyphe/lib/python2.7/site-packages/twisted/application/app.py\", line 348, in run\r\nbackend_1         |     self.application = self.createOrGetApplication()\r\nbackend_1         |   File \"/opt/virtualenvs/hyphe/lib/python2.7/site-packages/twisted/application/app.py\", line 413, in createOrGetApplication\r\nbackend_1         |     application = getApplication(self.config, passphrase)\r\nbackend_1         | --- <exception caught here> ---\r\nbackend_1         |   File \"/opt/virtualenvs/hyphe/lib/python2.7/site-packages/twisted/application/app.py\", line 424, in getApplication\r\nbackend_1         |     application = service.loadApplication(filename, style, passphrase)\r\nbackend_1         |   File \"/opt/virtualenvs/hyphe/lib/python2.7/site-packages/twisted/application/service.py\", line 411, in loadApplication\r\nbackend_1         |     passphrase)\r\nbackend_1         |   File \"/opt/virtualenvs/hyphe/lib/python2.7/site-packages/twisted/persisted/sob.py\", line 207, in loadValueFromFile\r\nbackend_1         |     eval(codeObj, d, d)\r\nbackend_1         |   File \"/app/hyphe_backend/core.tac\", line 28, in <module>\r\nbackend_1         |     from hyphe_backend.lib.utils import *\r\nbackend_1         |   File \"/app/hyphe_backend/lib/utils.py\", line 8, in <module>\r\nbackend_1         |     config = load_config()\r\nbackend_1         |   File \"/app/hyphe_backend/lib/config_hci.py\", line 82, in load_config\r\nbackend_1         |     db = MongoClient(os.environ.get('HYPHE_MONGODB_HOST', mongoconf['host']), int(os.environ.get('HYPHE_MONGODB_PORT', mongoconf['mongo_port'])))[mongoconf.get('db_name', mongoconf.get('project'))]\r\nbackend_1         |   File \"/opt/virtualenvs/hyphe/lib/python2.7/site-packages/pymongo/mongo_client.py\", line 366, in __init__\r\nbackend_1         |     raise ConnectionFailure(str(e))\r\nbackend_1         | pymongo.errors.ConnectionFailure: [Errno 111] Connection refused\r\nbackend_1         | \r\nbackend_1         | \r\nbackend_1         | Failed to load application: [Errno 111] Connection refused\r\nbackend_1         | \r\nhyphe_backend_1 exited with code 1\r\nGracefully stopping... (press Ctrl+C again to force)\r\nStopping hyphe_crawler_1... done\r\nStopping hyphe_mongo_1... done\r\nStopping hyphe_frontend_1... done\r\n```"}}