{"action":"created","issue":{"url":"https://api.github.com/repos/hypothesis/h/issues/5024","repository_url":"https://api.github.com/repos/hypothesis/h","labels_url":"https://api.github.com/repos/hypothesis/h/issues/5024/labels{/name}","comments_url":"https://api.github.com/repos/hypothesis/h/issues/5024/comments","events_url":"https://api.github.com/repos/hypothesis/h/issues/5024/events","html_url":"https://github.com/hypothesis/h/issues/5024","id":322548112,"number":5024,"title":"run-h-dev-in-docker cannot work correctly, needing more configuration?","user":{"login":"jayzhen521","id":36140554,"avatar_url":"https://avatars1.githubusercontent.com/u/36140554?v=4","gravatar_id":"","url":"https://api.github.com/users/jayzhen521","html_url":"https://github.com/jayzhen521","followers_url":"https://api.github.com/users/jayzhen521/followers","following_url":"https://api.github.com/users/jayzhen521/following{/other_user}","gists_url":"https://api.github.com/users/jayzhen521/gists{/gist_id}","starred_url":"https://api.github.com/users/jayzhen521/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayzhen521/subscriptions","organizations_url":"https://api.github.com/users/jayzhen521/orgs","repos_url":"https://api.github.com/users/jayzhen521/repos","events_url":"https://api.github.com/users/jayzhen521/events{/privacy}","received_events_url":"https://api.github.com/users/jayzhen521/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-12T22:39:41Z","updated_at":"2018-05-16T19:31:08Z","closed_at":null,"author_association":"NONE","body":"using the helper of https://groups.google.com/a/list.hypothes.is/forum/#!searchin/dev/docker/dev/mbPxRWF2Ax4/79l5kgvTAwAJ\r\nit almost succeed, but some functions cannot be enabled. Such as\r\nerror example1:\r\n![image](https://user-images.githubusercontent.com/36140554/39962042-8a940e3a-5676-11e8-9c69-02d10c0e8464.png)\r\npress create button:\r\n![image](https://user-images.githubusercontent.com/36140554/39962046-9be4e1d2-5676-11e8-84b6-76234bf40163.png)\r\nerror example2:\r\n![image](https://user-images.githubusercontent.com/36140554/39962052-ac479542-5676-11e8-8a00-73fa6a56e915.png)\r\n\r\n### What I want to ask\r\nSo, I want to ask if there's some steps lost in run-h-dev-in-docker? It works correctly when following the install.rst using \"make dev\"\r\n(I want ask in:https://groups.google.com/a/list.hypothes.is/forum/#!forum/dev\r\nbut when I submitted, all posts are deleted...\r\n![image](https://user-images.githubusercontent.com/36140554/39962079-692b5a90-5677-11e8-8c4e-03bd00bd7483.png))\r\n\r\n### Steps to reproduce\r\nstep1: checkout to master:0fe368f(maybe any of recent version)\r\nstep2: root@xxx:/home/of/h docker-compose up -d\r\n(h_elasticsearchold_1,h_postgres_1,h_rabbit_1,h_elasticsearch_1)\r\nstep3: pull image\r\ngit pull hypothesis/hypothesis //image id is a9f6f23d2d62(maybe any of recent version)\r\nstep4:modify run-h-dev-in-docker:\r\nES_CONTAINER=h_elasticsearchold_1 //using h_elasticsearch_1 will result in more errors.\r\nPG_CONTAINER=h_postgres_1\r\nRABBITMQ_CONTAINER=h_rabbit_1\r\n\r\ndocker run \\\r\n    --link $RABBITMQ_CONTAINER --net h_default \\\r\n    --link $PG_CONTAINER \\\r\n    --link $ES_CONTAINER \\\r\n    -e \"APP_URL=http://0.0.0.0:5000\" \\\r\n    -e \"BROKER_URL=amqp://guest:guest@$RABBITMQ_CONTAINER:5672//\" \\\r\n    -e \"DATABASE_URL=postgresql://postgres@$PG_CONTAINER/postgres\" \\\r\n    -e \"ELASTICSEARCH_HOST=http://$ES_CONTAINER:9200\" \\\r\n    -e \"CLIENT_OAUTH_ID=8454a690-5501-11e8-a100-5b656af29c7c\" \\\r\n    -e \"CLIENT_URL=https://abc.example.com/hypothesis\" \\\r\n    -p 5000:5000 \\\r\n    hypothesis/hypothesis\r\n\r\nstep5:\r\nroot@xxx:./run-h-dev-in-docker\r\nlog:\r\n2018-05-12 02:29:30,888 INFO supervisord started with pid 1\r\n2018-05-12 02:29:31,890 INFO spawned: 'logger' with pid 13\r\n2018-05-12 02:29:31,892 INFO spawned: 'web' with pid 14\r\n2018-05-12 02:29:31,894 INFO spawned: 'websocket' with pid 15\r\n2018-05-12 02:29:31,896 INFO spawned: 'worker' with pid 16\r\n2018-05-12 02:29:31,897 INFO spawned: 'collectd' with pid 17\r\n2018-05-12 02:29:31,899 INFO spawned: 'nginx' with pid 18\r\n2018-05-12 02:29:31,922 INFO success: collectd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)\r\n2018-05-12 02:29:31,924 INFO exited: collectd (exit status 0; expected)\r\n2018-05-12 02:29:33,346 INFO success: logger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)\r\n2018-05-12 02:29:33,347 INFO success: web entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)\r\n2018-05-12 02:29:33,347 INFO success: websocket entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)\r\n2018-05-12 02:29:33,347 INFO success: worker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)\r\n2018-05-12 02:29:33,347 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)\r\ncollectd             | INFO: GRAPHITE_HOST not provided so collectd will not be started\r\nwebsocket (stderr)   | 2018-05-12 02:29:32,652 [15] [gunicorn.error:INFO] Starting gunicorn 19.6.0\r\nwebsocket (stderr)   | 2018-05-12 02:29:32,653 [15] [gunicorn.error:INFO] Listening at: unix:/tmp/gunicorn-websocket.sock (15)\r\nwebsocket (stderr)   | 2018-05-12 02:29:32,653 [15] [gunicorn.error:INFO] Using worker: h.websocket.Worker\r\nwebsocket (stderr)   | 2018-05-12 02:29:32,657 [26] [gunicorn.error:INFO] Booting worker with pid: 26\r\nwebsocket (stderr)   | 2018-05-12 02:29:32,667 [26] [gunicorn.error:INFO] Made psycopg green\r\nwebsocket (stderr)   | 2018-05-12 02:29:32,717 [26] [h.config:WARNING] No secret key provided: using transient key. Please configure the secret_key setting or the SECRET_KEY environment variable!\r\nweb (stderr)         | 2018-05-12 02:29:33,346 [14] [gunicorn.error:INFO] Starting gunicorn 19.6.0\r\nweb (stderr)         | 2018-05-12 02:29:33,347 [14] [gunicorn.error:INFO] Listening at: unix:/tmp/gunicorn-web.sock (14)\r\nweb (stderr)         | 2018-05-12 02:29:33,347 [14] [gunicorn.error:INFO] Using worker: sync\r\nweb (stderr)         | 2018-05-12 02:29:33,351 [31] [gunicorn.error:INFO] Booting worker with pid: 31\r\nweb (stderr)         | 2018-05-12 02:29:33,648 [31] [h.config:WARNING] No secret key provided: using transient key. Please configure the secret_key setting or the SECRET_KEY environment variable!\r\nworker (stderr)      | 2018-05-12 02:29:34,578 [16] [h.config:WARNING] No secret key provided: using transient key. Please configure the secret_key setting or the SECRET_KEY environment variable!\r\nworker               |  \r\nworker               |  -------------- celery@450daf6497b7 v4.1.0 (latentcall)\r\nworker               | ---- **** ----- \r\nworker               | --- * ***  * -- Linux-4.4.0-105-generic-x86_64-with 2018-05-12 02:29:35\r\nworker               | -- * - **** --- \r\nworker               | - ** ---------- [config]\r\nworker               | - ** ---------- .> app:         h:0x7faf18269350\r\nworker               | - ** ---------- .> transport:   amqp://guest:**@h_rabbit_1:5672//\r\nworker               | - ** ---------- .> results:     disabled://\r\nworker               | - *** --- * --- .> concurrency: 2 (prefork)\r\nworker               | -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)\r\nworker               | --- ***** ----- \r\nworker               |  -------------- [queues]\r\nworker               |                 .> celery           exchange=celery(direct) key=celery\r\nworker               |                 .> indexer          exchange=indexer(direct) key=indexer\r\nworker               | \r\n\r\nstep6:\r\nI logged in, and press \"Create new group\", after filling the name of group and press \"Create a new group\" button, error is returned:\r\n\r\n### Expected behaviour\r\ngroup created page should show correctly.\r\nclient can displayed correctly.\r\n\r\n### Actual behaviour\r\nget error page, says:\r\nUh-oh, something went wrong!\r\nWe’re very sorry, our application wasn’t able to load this page. The team has been notified and we’ll fix it shortly.\r\nIf the problem persists or you'd like more information please contact support@hypothes.is\r\n\r\n### Browser/system information\r\nclient:browser is chrome, firefox, edge, windows 10\r\nserver:ubuntu 16.04\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hypothesis/h/issues/comments/389638525","html_url":"https://github.com/hypothesis/h/issues/5024#issuecomment-389638525","issue_url":"https://api.github.com/repos/hypothesis/h/issues/5024","id":389638525,"user":{"login":"jayzhen521","id":36140554,"avatar_url":"https://avatars1.githubusercontent.com/u/36140554?v=4","gravatar_id":"","url":"https://api.github.com/users/jayzhen521","html_url":"https://github.com/jayzhen521","followers_url":"https://api.github.com/users/jayzhen521/followers","following_url":"https://api.github.com/users/jayzhen521/following{/other_user}","gists_url":"https://api.github.com/users/jayzhen521/gists{/gist_id}","starred_url":"https://api.github.com/users/jayzhen521/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayzhen521/subscriptions","organizations_url":"https://api.github.com/users/jayzhen521/orgs","repos_url":"https://api.github.com/users/jayzhen521/repos","events_url":"https://api.github.com/users/jayzhen521/events{/privacy}","received_events_url":"https://api.github.com/users/jayzhen521/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T19:31:08Z","updated_at":"2018-05-16T19:31:08Z","author_association":"NONE","body":"check issues and [google mailing list](https://groups.google.com/a/list.hypothes.is/forum/#!forum/dev) can find what you want."}}
{"actor":{"display_login":"jayzhen521"}}