{"action":"created","issue":{"url":"https://api.github.com/repos/bartonhammond/snowflake-hapi-openshift/issues/4","labels_url":"https://api.github.com/repos/bartonhammond/snowflake-hapi-openshift/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/bartonhammond/snowflake-hapi-openshift/issues/4/comments","events_url":"https://api.github.com/repos/bartonhammond/snowflake-hapi-openshift/issues/4/events","html_url":"https://github.com/bartonhammond/snowflake-hapi-openshift/issues/4","id":129458433,"number":4,"title":"Small mistake in README ?","user":{"login":"udiedrichsen","id":4386398,"avatar_url":"https://avatars.githubusercontent.com/u/4386398?v=3","gravatar_id":"","url":"https://api.github.com/users/udiedrichsen","html_url":"https://github.com/udiedrichsen","followers_url":"https://api.github.com/users/udiedrichsen/followers","following_url":"https://api.github.com/users/udiedrichsen/following{/other_user}","gists_url":"https://api.github.com/users/udiedrichsen/gists{/gist_id}","starred_url":"https://api.github.com/users/udiedrichsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udiedrichsen/subscriptions","organizations_url":"https://api.github.com/users/udiedrichsen/orgs","repos_url":"https://api.github.com/users/udiedrichsen/repos","events_url":"https://api.github.com/users/udiedrichsen/events{/privacy}","received_events_url":"https://api.github.com/users/udiedrichsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-28T13:51:34Z","updated_at":"2016-01-28T16:48:35Z","closed_at":null,"body":"Hi,\r\n\r\nGreat job with this REPO. Good stuff and awesome docs: +1\r\n\r\nI followed your description, but is a small typo:\r\n\r\ncp src/config.sample.js src/config.js\r\n\r\nI think it must be:\r\ncp src/config.sample.js src/config\r\n\r\nOr you have to change to src code:\r\nin src/auth/jwt_strategy.js\r\n..\r\nvar  Config = require('../config'),\r\n\r\nto \r\nvar  Config = require('../config.js'),\r\n\r\nI change the cp statement and the deployment on my own openshift domain works.\r\n\r\nI got this error message:\r\nremote: Application 'mysnowflake' failed to start (port 8080 not available)\r\nremote: -------------------------\r\nremote: Git Post-Receive Result: failure\r\nremote: Activation status: failure\r\nremote: Activation failed for the following gears:\r\nremote: 56aa11597628e1102100001b (Error activating gear: CLIENT_ERROR: Failed to execute: 'control start' for /var/lib/openshift/56aa11597628e1102100001b/nodej\r\nremote: #<IO:0x00000001445290>\r\nremote: #<IO:0x00000001445218>\r\nremote: )\r\nremote: Deployment completed with status: failure\r\nremote: postreceive failed\r\n\r\nSo I checked the app logs with: rhc tail -a mysnowflake\r\n\r\nRSA 1024 bit CA certificates are loaded due to old openssl compatibility\r\n==> app-root/logs/haproxy.log <==\r\n[WARNING] 027/080641 (292020) : config : log format ignored for proxy 'stats' since it has no log address.\r\n[WARNING] 027/080641 (292020) : config : log format ignored for proxy 'express' since it has no log address.\r\n[WARNING] 027/081740 (292020) : Stopping proxy stats in 0 ms.\r\n[WARNING] 027/081740 (292020) : Stopping proxy express in 0 ms.\r\n[WARNING] 027/081740 (292020) : Proxy stats stopped (FE: 1 conns, BE: 0 conns).\r\n[WARNING] 027/081740 (292020) : Proxy express stopped (FE: 4 conns, BE: 5 conns).\r\n[WARNING] 027/081740 (334524) : config : log format ignored for proxy 'stats' since it has no log address.\r\n[WARNING] 027/081740 (334524) : config : log format ignored for proxy 'express' since it has no log address.\r\n[WARNING] 027/082720 (334524) : Server express/local-gear is DOWN for maintenance.\r\n[ALERT] 027/082720 (334524) : proxy 'express' has no server available!\r\n\r\n==> app-root/logs/haproxy_ctld.log <==\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bartonhammond/snowflake-hapi-openshift/issues/comments/176278738","html_url":"https://github.com/bartonhammond/snowflake-hapi-openshift/issues/4#issuecomment-176278738","issue_url":"https://api.github.com/repos/bartonhammond/snowflake-hapi-openshift/issues/4","id":176278738,"user":{"login":"bartonhammond","id":1282364,"avatar_url":"https://avatars.githubusercontent.com/u/1282364?v=3","gravatar_id":"","url":"https://api.github.com/users/bartonhammond","html_url":"https://github.com/bartonhammond","followers_url":"https://api.github.com/users/bartonhammond/followers","following_url":"https://api.github.com/users/bartonhammond/following{/other_user}","gists_url":"https://api.github.com/users/bartonhammond/gists{/gist_id}","starred_url":"https://api.github.com/users/bartonhammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartonhammond/subscriptions","organizations_url":"https://api.github.com/users/bartonhammond/orgs","repos_url":"https://api.github.com/users/bartonhammond/repos","events_url":"https://api.github.com/users/bartonhammond/events{/privacy}","received_events_url":"https://api.github.com/users/bartonhammond/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T16:48:35Z","updated_at":"2016-01-28T16:48:35Z","body":"Well - keep me posted - I don't see any evidence that the instructions or code is wrong.  I've deployed this app a significant number of times w/o issue."}}