Closed thien closed 7 years ago
2017-04-20T17:50:16.249512+00:00 app[api]: Deploy 8210a6a by user me@thien.io 2017-04-20T17:50:16.249512+00:00 app[api]: Release v334 created by user me@thien.io 2017-04-20T17:50:16.410257+00:00 app[api]: Release v334 created by user me@thien.io 2017-04-20T17:49:50.000000+00:00 app[api]: Build succeeded 2017-04-20T17:50:16.717182+00:00 heroku[web.1]: State changed from crashed to starting 2017-04-20T17:50:16.509726+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV7zx" host=dinno.herokuapp.com request_id=07fad101-28d2-42ed-b9c0-38e6b643e435 fwd="82.44.44.199" dyno= connect= service= status=503 bytes= protocol=https 2017-04-20T17:50:21.115861+00:00 heroku[web.1]: Starting process with command `npm start` 2017-04-20T17:50:24.324623+00:00 app[web.1]: 2017-04-20T17:50:24.324664+00:00 app[web.1]: > dinno@0.0.1 start /app 2017-04-20T17:50:24.324665+00:00 app[web.1]: > node index.js 2017-04-20T17:50:24.324666+00:00 app[web.1]: 2017-04-20T17:50:25.000890+00:00 app[web.1]: { Error: ENOENT: no such file or directory, open './config/database.json' 2017-04-20T17:50:25.000901+00:00 app[web.1]: at Object.fs.openSync (fs.js:557:18) 2017-04-20T17:50:25.000901+00:00 app[web.1]: at Object.fs.readFileSync (fs.js:467:33) 2017-04-20T17:50:25.000902+00:00 app[web.1]: at Object.<anonymous> (/app/functions/database.js:7:33) 2017-04-20T17:50:25.000903+00:00 app[web.1]: at Module._compile (module.js:573:32) 2017-04-20T17:50:25.000904+00:00 app[web.1]: at Object.Module._extensions..js (module.js:582:10) 2017-04-20T17:50:25.000904+00:00 app[web.1]: at Module.load (module.js:490:32) 2017-04-20T17:50:25.000905+00:00 app[web.1]: at tryModuleLoad (module.js:449:12) 2017-04-20T17:50:25.000905+00:00 app[web.1]: at Function.Module._load (module.js:441:3) 2017-04-20T17:50:25.000906+00:00 app[web.1]: at Module.require (module.js:500:17) 2017-04-20T17:50:25.000907+00:00 app[web.1]: at require (internal/module.js:20:19) 2017-04-20T17:50:25.000908+00:00 app[web.1]: errno: -2, 2017-04-20T17:50:25.000909+00:00 app[web.1]: code: 'ENOENT', 2017-04-20T17:50:25.000909+00:00 app[web.1]: syscall: 'open', 2017-04-20T17:50:25.000910+00:00 app[web.1]: path: './config/database.json' } 2017-04-20T17:50:25.001978+00:00 app[web.1]: Secret Database Keys aren't found. 2017-04-20T17:50:25.002057+00:00 app[web.1]: Attempting to Allocate from Heroku Servers. 2017-04-20T17:50:25.336048+00:00 app[web.1]: Dinno can be seen on http://localhost:4608 2017-04-20T17:50:25.355725+00:00 app[web.1]: Connected to Database - 2809544 2017-04-20T17:50:25.356590+00:00 app[web.1]: Connected to Database - 2809544 2017-04-20T17:50:25.417692+00:00 app[web.1]: cleared database 2017-04-20T17:50:25.430011+00:00 app[web.1]: created new database 2017-04-20T17:50:25.435977+00:00 app[web.1]: Connected to Database - 2809546 2017-04-20T17:50:25.872559+00:00 heroku[web.1]: State changed from starting to up 2017-04-20T17:50:25.834206+00:00 app[web.1]: Loaded core database file. 2017-04-20T17:50:26.547752+00:00 app[web.1]: a new human has connected 2017-04-20T17:50:26.540763+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV8DZ" host=dinno.herokuapp.com request_id=c6e86f49-d57a-4454-ad98-2c9d459d9f18 fwd="82.44.44.199" dyno=web.1 connect=1ms service=21ms status=200 bytes=324 protocol=https 2017-04-20T17:50:26.959718+00:00 app[web.1]: a new human has connected 2017-04-20T17:50:26.970168+00:00 app[web.1]: a new human has connected 2017-04-20T17:50:27.011548+00:00 app[web.1]: a new human has connected 2017-04-20T17:50:27.200029+00:00 app[web.1]: a new human has connected 2017-04-20T17:50:26.960919+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV3Yi" host=dinno.herokuapp.com request_id=dfb4844d-356c-4dc3-ab36-c64dc2ce9eb1 fwd="82.44.44.199" dyno=web.1 connect=1ms service=3ms status=200 bytes=324 protocol=https 2017-04-20T17:50:26.996463+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV5XO&sid=9DlTKumET9H4Sr2lAAAB" host=dinno.herokuapp.com request_id=35aaa65a-c9f0-44d3-bf80-16e72e8f28cb fwd="82.44.44.199" dyno=web.1 connect=0ms service=1ms status=200 bytes=267 protocol=https 2017-04-20T17:50:27.236425+00:00 app[web.1]: a new human has connected 2017-04-20T17:50:27.066082+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV5YE&sid=DxNye1dBSLtlmZEIAAAD" host=dinno.herokuapp.com request_id=586a11a5-eef0-4b0c-9b02-6091ca4f9478 fwd="82.44.44.199" dyno=web.1 connect=0ms service=3ms status=200 bytes=267 protocol=https 2017-04-20T17:50:26.669363+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVATw&sid=05ecIlkLXTUQjyY2AAAA" host=dinno.herokuapp.com request_id=c961b92b-29a1-449d-8a2b-da999ed9d134 fwd="82.44.44.199" dyno=web.1 connect=0ms service=4ms status=200 bytes=267 protocol=https 2017-04-20T17:50:26.907332+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVAUw&sid=05ecIlkLXTUQjyY2AAAA" host=dinno.herokuapp.com request_id=6674a963-9d7c-4cf5-8b32-0686dbd1b36f fwd="82.44.44.199" dyno=web.1 connect=1ms service=176ms status=200 bytes=225 protocol=https 2017-04-20T17:50:26.970352+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV3J3" host=dinno.herokuapp.com request_id=c78c71d8-8c7a-46fa-814e-6207c65e464b fwd="82.44.44.199" dyno=web.1 connect=1ms service=3ms status=200 bytes=324 protocol=https 2017-04-20T17:50:27.291265+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV5YV&sid=yajmdS3p_fK-1mePAAAC" host=dinno.herokuapp.com request_id=2977bb54-bef7-480e-ba71-ed527d991df0 fwd="82.44.44.199" dyno=web.1 connect=0ms service=223ms status=200 bytes=225 protocol=https 2017-04-20T17:50:27.515780+00:00 app[web.1]: a new human has connected 2017-04-20T17:50:27.579673+00:00 app[web.1]: a new human has connected 2017-04-20T17:50:27.032716+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV5Xb&sid=yajmdS3p_fK-1mePAAAC" host=dinno.herokuapp.com request_id=31d33304-5462-4629-aa61-25d348add3bc fwd="82.44.44.199" dyno=web.1 connect=1ms service=5ms status=200 bytes=267 protocol=https 2017-04-20T17:50:27.234202+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV7_I" host=dinno.herokuapp.com request_id=66daa828-6eb2-4d7e-83d6-511c948f2da8 fwd="92.236.224.140" dyno=web.1 connect=0ms service=1ms status=200 bytes=324 protocol=https 2017-04-20T17:50:27.269981+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV9-J&sid=rL1mVUyJgZhy8ZGsAAAE" host=dinno.herokuapp.com request_id=aa607a77-1c79-4109-bc3a-dc9b19683c41 fwd="92.236.224.140" dyno=web.1 connect=1ms service=1ms status=200 bytes=267 protocol=https 2017-04-20T17:50:27.011559+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV3J3" host=dinno.herokuapp.com request_id=404e797f-8b6a-4409-9650-f69a3739e1a9 fwd="82.44.44.199" dyno=web.1 connect=1ms service=2ms status=200 bytes=324 protocol=https 2017-04-20T17:50:27.193550+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV5Xy&sid=9DlTKumET9H4Sr2lAAAB" host=dinno.herokuapp.com request_id=b91eca21-4c98-490e-9508-457d9178d044 fwd="82.44.44.199" dyno=web.1 connect=0ms service=152ms status=200 bytes=225 protocol=https 2017-04-20T17:50:27.411076+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV5Z0&sid=DxNye1dBSLtlmZEIAAAD" host=dinno.herokuapp.com request_id=a0da1a69-1c89-4db1-b0b4-0527df3a3d7a fwd="82.44.44.199" dyno=web.1 connect=0ms service=309ms status=200 bytes=225 protocol=https 2017-04-20T17:50:27.197298+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV7_I" host=dinno.herokuapp.com request_id=a5da10da-07e8-4307-b743-8396479285ca fwd="92.236.224.140" dyno=web.1 connect=0ms service=1ms status=200 bytes=324 protocol=https 2017-04-20T17:50:27.303554+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV9-t&sid=BH5aNW_DCfyu4YsKAAAF" host=dinno.herokuapp.com request_id=65b89874-e150-464e-9f2d-27779beb7982 fwd="92.236.224.140" dyno=web.1 connect=0ms service=1ms status=200 bytes=267 protocol=https 2017-04-20T17:50:27.517311+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV9hJ" host=dinno.herokuapp.com request_id=be9c82e4-d69a-4cfa-bca6-a794d42a5c9e fwd="82.44.44.199" dyno=web.1 connect=0ms service=6ms status=200 bytes=324 protocol=https 2017-04-20T17:50:27.795873+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVAlU&sid=BOZ6Aj5qSiAVte6UAAAG" host=dinno.herokuapp.com request_id=f132910d-ce06-4518-829f-b8ccd1693896 fwd="82.44.44.199" dyno=web.1 connect=0ms service=1ms status=200 bytes=267 protocol=https 2017-04-20T17:50:27.813658+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVAls&sid=1h209oUY-x9B9QnZAAAH" host=dinno.herokuapp.com request_id=5346140f-a7ff-44de-971f-1902009a56ea fwd="82.44.44.199" dyno=web.1 connect=0ms service=2ms status=200 bytes=267 protocol=https 2017-04-20T17:50:27.487837+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV9_Q&sid=rL1mVUyJgZhy8ZGsAAAE" host=dinno.herokuapp.com request_id=31f8d52d-36a9-40d7-816d-293e39cedcb0 fwd="92.236.224.140" dyno=web.1 connect=0ms service=164ms status=200 bytes=225 protocol=https 2017-04-20T17:50:27.576038+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCV9Ri" host=dinno.herokuapp.com request_id=c511c1e1-91aa-4b17-b1f2-730601bd44e8 fwd="82.44.44.199" dyno=web.1 connect=0ms service=2ms status=200 bytes=324 protocol=https 2017-04-20T17:50:28.005310+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVAmS&sid=BOZ6Aj5qSiAVte6UAAAG" host=dinno.herokuapp.com request_id=8438708d-f471-4547-83c2-0bce0bf146a9 fwd="82.44.44.199" dyno=web.1 connect=0ms service=144ms status=200 bytes=225 protocol=https 2017-04-20T17:50:27.616349+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVA00&sid=BH5aNW_DCfyu4YsKAAAF" host=dinno.herokuapp.com request_id=927e2608-9c0b-4000-912a-62951450a2bd fwd="92.236.224.140" dyno=web.1 connect=1ms service=271ms status=200 bytes=225 protocol=https 2017-04-20T17:50:28.132532+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVAmk&sid=1h209oUY-x9B9QnZAAAH" host=dinno.herokuapp.com request_id=77fb7b7b-fdc3-44c2-9811-d60ec6654783 fwd="82.44.44.199" dyno=web.1 connect=0ms service=268ms status=200 bytes=225 protocol=https 2017-04-20T17:50:33.683030+00:00 heroku[router]: at=info method=GET path="/" host=dinno.herokuapp.com request_id=38b27910-a5eb-4d63-8bb1-8e3555715f8e fwd="193.60.182.97" dyno=web.1 connect=0ms service=586ms status=200 bytes=34590 protocol=https 2017-04-20T17:50:33.796683+00:00 heroku[router]: at=info method=GET path="/tether/dist/js/tether.min.js" host=dinno.herokuapp.com request_id=265a9d56-0ccf-464a-94e4-e32adf10bec6 fwd="193.60.182.97" dyno=web.1 connect=0ms service=4ms status=304 bytes=238 protocol=https 2017-04-20T17:50:33.889897+00:00 heroku[router]: at=info method=GET path="/jquery-bar-rating/dist/themes/css-stars.css" host=dinno.herokuapp.com request_id=046944b2-d534-4ffe-b4a2-48f13b6373e3 fwd="193.60.182.97" dyno=web.1 connect=0ms service=4ms status=304 bytes=237 protocol=https 2017-04-20T17:50:33.888302+00:00 heroku[router]: at=info method=GET path="/bootstrap-tagsinput/dist/bootstrap-tagsinput.css" host=dinno.herokuapp.com request_id=5782634f-dfa9-49be-8f7a-9688e441ea49 fwd="193.60.182.97" dyno=web.1 connect=0ms service=1ms status=304 bytes=237 protocol=https 2017-04-20T17:50:34.108687+00:00 heroku[router]: at=info method=GET path="/assets/jquery-ui.min.js" host=dinno.herokuapp.com request_id=a86d2cac-3bc0-4df6-8ae1-5baf62389933 fwd="193.60.182.97" dyno=web.1 connect=0ms service=5ms status=200 bytes=36185 protocol=https 2017-04-20T17:50:33.821407+00:00 heroku[router]: at=info method=GET path="/js-cookie/src/js.cookie.js" host=dinno.herokuapp.com request_id=6d71a2a8-8514-4442-963e-8c275d92c301 fwd="193.60.182.97" dyno=web.1 connect=0ms service=2ms status=304 bytes=237 protocol=https 2017-04-20T17:50:33.893740+00:00 heroku[router]: at=info method=GET path="/bootstrap-tagsinput/dist/bootstrap-tagsinput.js" host=dinno.herokuapp.com request_id=9f1d6066-73ff-4238-92fd-a6293b7a35d8 fwd="193.60.182.97" dyno=web.1 connect=0ms service=1ms status=304 bytes=238 protocol=https 2017-04-20T17:50:33.887009+00:00 heroku[router]: at=info method=GET path="/bootstrap-tagsinput/examples/assets/app.css" host=dinno.herokuapp.com request_id=f4f36550-0a5f-40dd-b916-4e1762e654f1 fwd="193.60.182.97" dyno=web.1 connect=0ms service=2ms status=304 bytes=237 protocol=https 2017-04-20T17:50:34.287528+00:00 app[web.1]: a new human has connected 2017-04-20T17:50:33.861399+00:00 heroku[router]: at=info method=GET path="/components-font-awesome/css/font-awesome.min.css" host=dinno.herokuapp.com request_id=d2f21fa1-7613-4dfb-abc4-55e158f4cdc2 fwd="193.60.182.97" dyno=web.1 connect=0ms service=3ms status=304 bytes=238 protocol=https 2017-04-20T17:50:34.096994+00:00 heroku[router]: at=info method=GET path="/assets/js-cookie.js" host=dinno.herokuapp.com request_id=283801e6-f24e-4bad-abf0-bc6d2055af89 fwd="193.60.182.97" dyno=web.1 connect=0ms service=179ms status=200 bytes=4615 protocol=https 2017-04-20T17:50:33.888613+00:00 heroku[router]: at=info method=GET path="/typeahead.js/dist/typeahead.bundle.js" host=dinno.herokuapp.com request_id=7fef9496-b121-4ccd-a626-6b57e725efda fwd="193.60.182.97" dyno=web.1 connect=0ms service=2ms status=304 bytes=239 protocol=https 2017-04-20T17:50:33.838270+00:00 heroku[router]: at=info method=GET path="/bootstrap/dist/js/bootstrap.min.js" host=dinno.herokuapp.com request_id=72f36eb1-f8ca-4aa9-b785-fc2668c048c1 fwd="193.60.182.97" dyno=web.1 connect=0ms service=2ms status=304 bytes=238 protocol=https 2017-04-20T17:50:34.078201+00:00 heroku[router]: at=info method=GET path="/holderjs/holder.js" host=dinno.herokuapp.com request_id=2e8b0f75-0fc4-4575-b427-4672790bc3ad fwd="193.60.182.97" dyno=web.1 connect=0ms service=168ms status=200 bytes=20334 protocol=https 2017-04-20T17:50:34.079404+00:00 heroku[router]: at=info method=GET path="/socket.io/socket.io.js" host=dinno.herokuapp.com request_id=f11f1653-2bd9-4968-95e0-55bf015afa14 fwd="193.60.182.97" dyno=web.1 connect=0ms service=167ms status=304 bytes=85 protocol=https 2017-04-20T17:50:33.856081+00:00 heroku[router]: at=info method=GET path="/es6-promise/es6-promise.js" host=dinno.herokuapp.com request_id=f07f9613-661e-4916-ab5a-a3a8ead6f1c9 fwd="193.60.182.97" dyno=web.1 connect=0ms service=4ms status=304 bytes=238 protocol=https 2017-04-20T17:50:34.287030+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVBCS" host=dinno.herokuapp.com request_id=16cfb864-75c8-41ed-b4c4-8bc436408470 fwd="193.60.182.97" dyno=web.1 connect=0ms service=1ms status=200 bytes=324 protocol=https 2017-04-20T17:50:34.108052+00:00 heroku[router]: at=info method=GET path="/assets/push_notifications.js" host=dinno.herokuapp.com request_id=acfe78d2-387b-4d3e-8ede-1dbc4bd56979 fwd="193.60.182.97" dyno=web.1 connect=0ms service=4ms status=200 bytes=3052 protocol=https 2017-04-20T17:50:33.888453+00:00 heroku[router]: at=info method=GET path="/jquery-bar-rating/dist/jquery.barrating.min.js" host=dinno.herokuapp.com request_id=edb38a4e-691b-46cd-a640-66b1b00c8088 fwd="193.60.182.97" dyno=web.1 connect=0ms service=2ms status=304 bytes=238 protocol=https 2017-04-20T17:50:33.857373+00:00 heroku[router]: at=info method=GET path="/bootstrap/dist/css/bootstrap.min.css" host=dinno.herokuapp.com request_id=52fef5ee-62e1-4ba2-8080-36f600aec604 fwd="193.60.182.97" dyno=web.1 connect=0ms service=3ms status=304 bytes=239 protocol=https 2017-04-20T17:50:34.093156+00:00 heroku[router]: at=info method=GET path="/assets/coordinates/coordinates-basefunctions.js" host=dinno.herokuapp.com request_id=9c983a00-2202-4a3d-a203-586ec3f7745a fwd="193.60.182.97" dyno=web.1 connect=0ms service=180ms status=200 bytes=564 protocol=https 2017-04-20T17:50:34.301513+00:00 heroku[router]: at=info method=GET path="/undefined" host=dinno.herokuapp.com request_id=540d198b-5fb4-47e3-b695-901f135c5df6 fwd="193.60.182.97" dyno=web.1 connect=0ms service=5ms status=200 bytes=20334 protocol=https 2017-04-20T17:50:34.093373+00:00 heroku[router]: at=info method=GET path="/assets/check_active.js" host=dinno.herokuapp.com request_id=1392f4bd-32d0-4f0b-ad7a-6cb4950fe2c7 fwd="193.60.182.97" dyno=web.1 connect=0ms service=180ms status=200 bytes=514 protocol=https 2017-04-20T17:50:34.409421+00:00 heroku[router]: at=info method=GET path="/data/random_food_list.json" host=dinno.herokuapp.com request_id=b1c09116-1e1e-408d-ada1-fde5086504a0 fwd="193.60.182.97" dyno=web.1 connect=0ms service=6ms status=200 bytes=23769 protocol=https 2017-04-20T17:50:34.080862+00:00 heroku[router]: at=info method=GET path="/jquery/dist/jquery.min.js" host=dinno.herokuapp.com request_id=4698896e-1a4e-4f4a-8cfc-b7e8207a5ba1 fwd="193.60.182.97" dyno=web.1 connect=0ms service=168ms status=304 bytes=239 protocol=https 2017-04-20T17:50:34.539060+00:00 heroku[router]: at=info method=POST path="/socket.io/?EIO=3&transport=polling&t=LkCVBGL&sid=QCT_jiJ1-7tk5g5JAAAI" host=dinno.herokuapp.com request_id=3f3d3428-2401-4bec-b470-edd79fee2a64 fwd="193.60.182.97" dyno=web.1 connect=0ms service=4ms status=200 bytes=208 protocol=https 2017-04-20T17:50:34.431089+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVBEd&sid=QCT_jiJ1-7tk5g5JAAAI" host=dinno.herokuapp.com request_id=25f0966d-5aec-414a-890a-8aca18c9e34e fwd="193.60.182.97" dyno=web.1 connect=0ms service=1ms status=200 bytes=267 protocol=https 2017-04-20T17:50:35.087864+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVBGQ&sid=QCT_jiJ1-7tk5g5JAAAI" host=dinno.herokuapp.com request_id=bd186142-3963-49d6-b59c-cab664c4b650 fwd="193.60.182.97" dyno=web.1 connect=0ms service=543ms status=200 bytes=225 protocol=https 2017-04-20T17:50:41.224772+00:00 app[web.1]: A user has disconnected 2017-04-20T17:50:41.222171+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=websocket&sid=QCT_jiJ1-7tk5g5JAAAI" host=dinno.herokuapp.com request_id=43ba94e2-4e4b-4aa5-8671-44325da47ee8 fwd="193.60.182.97" dyno=web.1 connect=0ms service=6385ms status=101 bytes=175 protocol=https 2017-04-20T17:50:42.150280+00:00 app[web.1]: a new human has connected 2017-04-20T17:50:42.154157+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVD7I" host=dinno.herokuapp.com request_id=8ae0bccb-25b4-4ae2-923c-fa43c408682d fwd="193.60.182.97" dyno=web.1 connect=0ms service=2ms status=200 bytes=324 protocol=https 2017-04-20T17:50:42.199141+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=LkCVD80&sid=A608EBmsM8z7HELVAAAJ" host=dinno.herokuapp.com request_id=1ea06a36-8dca-4d82-9e40-a0c4865348b0 fwd="193.60.182.97" dyno=web.1 connect=0ms service=1ms status=200 bytes=267 protocol=https 2017-04-20T17:50:42.450337+00:00 app[web.1]: [ { formattedAddress: '2 Stockton Rd, Durham DH1 3DX, UK', 2017-04-20T17:50:42.450347+00:00 app[web.1]: latitude: 54.7689371, 2017-04-20T17:50:42.450347+00:00 app[web.1]: longitude: -1.5725568, 2017-04-20T17:50:42.450348+00:00 app[web.1]: extra: 2017-04-20T17:50:42.450349+00:00 app[web.1]: { googlePlaceId: 'ChIJQ0P1Y2SHfkgRV72bFDd9XX4', 2017-04-20T17:50:42.450350+00:00 app[web.1]: confidence: 1, 2017-04-20T17:50:42.450350+00:00 app[web.1]: premise: null, 2017-04-20T17:50:42.450351+00:00 app[web.1]: subpremise: null, 2017-04-20T17:50:42.450351+00:00 app[web.1]: neighborhood: null, 2017-04-20T17:50:42.450352+00:00 app[web.1]: establishment: null }, 2017-04-20T17:50:42.450353+00:00 app[web.1]: administrativeLevels: 2017-04-20T17:50:42.450354+00:00 app[web.1]: { level2long: 'County Durham', 2017-04-20T17:50:42.450354+00:00 app[web.1]: level2short: 'County Durham', 2017-04-20T17:50:42.450355+00:00 app[web.1]: level1long: 'England', 2017-04-20T17:50:42.450355+00:00 app[web.1]: level1short: 'England' }, 2017-04-20T17:50:42.450356+00:00 app[web.1]: streetNumber: '2', 2017-04-20T17:50:42.450357+00:00 app[web.1]: streetName: 'Stockton Road', 2017-04-20T17:50:42.450357+00:00 app[web.1]: city: 'Durham', 2017-04-20T17:50:42.450357+00:00 app[web.1]: country: 'United Kingdom', 2017-04-20T17:50:42.450358+00:00 app[web.1]: countryCode: 'GB', 2017-04-20T17:50:42.450359+00:00 app[web.1]: zipcode: 'DH1 3DX', 2017-04-20T17:50:42.450359+00:00 app[web.1]: provider: 'google' }, 2017-04-20T17:50:42.450360+00:00 app[web.1]: { formattedAddress: 'New Inn - Church Street, Durham DH1 3DN, UK', 2017-04-20T17:50:42.450360+00:00 app[web.1]: latitude: 54.769402, 2017-04-20T17:50:42.450361+00:00 app[web.1]: longitude: -1.573378, 2017-04-20T17:50:42.450361+00:00 app[web.1]: extra: 2017-04-20T17:50:42.450362+00:00 app[web.1]: { googlePlaceId: 'ChIJRXR1B2SHfkgRMWPFjyQICk8', 2017-04-20T17:50:42.450376+00:00 app[web.1]: confidence: 0.5, 2017-04-20T17:50:42.450376+00:00 app[web.1]: premise: null, 2017-04-20T17:50:42.450377+00:00 app[web.1]: subpremise: null, 2017-04-20T17:50:42.450377+00:00 app[web.1]: neighborhood: null, 2017-04-20T17:50:42.450378+00:00 app[web.1]: establishment: null }, 2017-04-20T17:50:42.450378+00:00 app[web.1]: administrativeLevels: 2017-04-20T17:50:42.450379+00:00 app[web.1]: { level2long: 'County Durham', 2017-04-20T17:50:42.450380+00:00 app[web.1]: level2short: 'County Durham', 2017-04-20T17:50:42.450380+00:00 app[web.1]: level1long: 'England', 2017-04-20T17:50:42.450381+00:00 app[web.1]: level1short: 'England' }, 2017-04-20T17:50:42.450381+00:00 app[web.1]: city: 'Durham', 2017-04-20T17:50:42.450382+00:00 app[web.1]: country: 'United Kingdom', 2017-04-20T17:50:42.450383+00:00 app[web.1]: countryCode: 'GB', 2017-04-20T17:50:42.450383+00:00 app[web.1]: zipcode: 'DH1', 2017-04-20T17:50:42.450384+00:00 app[web.1]: provider: 'google' }, 2017-04-20T17:50:42.450384+00:00 app[web.1]: { formattedAddress: 'Durham, UK', 2017-04-20T17:50:42.450385+00:00 app[web.1]: latitude: 54.77525, 2017-04-20T17:50:42.450385+00:00 app[web.1]: longitude: -1.584852, 2017-04-20T17:50:42.450386+00:00 app[web.1]: extra: 2017-04-20T17:50:42.450387+00:00 app[web.1]: { googlePlaceId: 'ChIJwbHYJaUqfEgRK0Ui9dVGimc', 2017-04-20T17:50:42.450387+00:00 app[web.1]: confidence: 0.5, 2017-04-20T17:50:42.450388+00:00 app[web.1]: premise: null, 2017-04-20T17:50:42.450388+00:00 app[web.1]: subpremise: null, 2017-04-20T17:50:42.450389+00:00 app[web.1]: neighborhood: null, 2017-04-20T17:50:42.450389+00:00 app[web.1]: establishment: null }, 2017-04-20T17:50:42.450390+00:00 app[web.1]: administrativeLevels: 2017-04-20T17:50:42.450390+00:00 app[web.1]: { level2long: 'County Durham', 2017-04-20T17:50:42.450391+00:00 app[web.1]: level2short: 'County Durham', 2017-04-20T17:50:42.450391+00:00 app[web.1]: level1long: 'England', 2017-04-20T17:50:42.450392+00:00 app[web.1]: level1short: 'England' }, 2017-04-20T17:50:42.450393+00:00 app[web.1]: city: 'Durham', 2017-04-20T17:50:42.450393+00:00 app[web.1]: country: 'United Kingdom', 2017-04-20T17:50:42.450394+00:00 app[web.1]: countryCode: 'GB', 2017-04-20T17:50:42.450394+00:00 app[web.1]: provider: 'google' }, 2017-04-20T17:50:42.450395+00:00 app[web.1]: { formattedAddress: 'Union Pl, Durham DH1 3DR, UK', 2017-04-20T17:50:42.450395+00:00 app[web.1]: latitude: 54.7690142, 2017-04-20T17:50:42.450396+00:00 app[web.1]: longitude: -1.5728438, 2017-04-20T17:50:42.450396+00:00 app[web.1]: extra: 2017-04-20T17:50:42.450397+00:00 app[web.1]: { googlePlaceId: 'ChIJiYjsDmSHfkgRzdZOMQaSyIY', 2017-04-20T17:50:42.450397+00:00 app[web.1]: confidence: 0.5, 2017-04-20T17:50:42.450398+00:00 app[web.1]: premise: null, 2017-04-20T17:50:42.450398+00:00 app[web.1]: subpremise: null, 2017-04-20T17:50:42.450399+00:00 app[web.1]: neighborhood: null, 2017-04-20T17:50:42.450399+00:00 app[web.1]: establishment: null }, 2017-04-20T17:50:42.450400+00:00 app[web.1]: administrativeLevels: 2017-04-20T17:50:42.450401+00:00 app[web.1]: { level2long: 'County Durham', 2017-04-20T17:50:42.450401+00:00 app[web.1]: level2short: 'County Durham', 2017-04-20T17:50:42.450402+00:00 app[web.1]: level1long: 'England', 2017-04-20T17:50:42.450402+00:00 app[web.1]: level1short: 'England' }, 2017-04-20T17:50:42.450403+00:00 app[web.1]: zipcode: 'DH1 3DR', 2017-04-20T17:50:42.450403+00:00 app[web.1]: streetName: 'Union Place', 2017-04-20T17:50:42.450404+00:00 app[web.1]: city: 'Durham', 2017-04-20T17:50:42.450404+00:00 app[web.1]: country: 'United Kingdom', 2017-04-20T17:50:42.450405+00:00 app[web.1]: countryCode: 'GB', 2017-04-20T17:50:42.450405+00:00 app[web.1]: provider: 'google' }, 2017-04-20T17:50:42.450406+00:00 app[web.1]: { formattedAddress: 'Durham DH1, UK', 2017-04-20T17:50:42.450406+00:00 app[web.1]: latitude: 54.7860332, 2017-04-20T17:50:42.450407+00:00 app[web.1]: longitude: -1.5681816, 2017-04-20T17:50:42.450407+00:00 app[web.1]: extra: 2017-04-20T17:50:42.450416+00:00 app[web.1]: { googlePlaceId: 'ChIJlUZokwh9fkgRw-h5UuptflI', 2017-04-20T17:50:42.450417+00:00 app[web.1]: confidence: 0.5, 2017-04-20T17:50:42.450417+00:00 app[web.1]: premise: null, 2017-04-20T17:50:42.450418+00:00 app[web.1]: subpremise: null, 2017-04-20T17:50:42.450418+00:00 app[web.1]: neighborhood: null, 2017-04-20T17:50:42.450419+00:00 app[web.1]: establishment: null }, 2017-04-20T17:50:42.450419+00:00 app[web.1]: administrativeLevels: 2017-04-20T17:50:42.450420+00:00 app[web.1]: { level2long: 'County Durham', 2017-04-20T17:50:42.450420+00:00 app[web.1]: level2short: 'County Durham', 2017-04-20T17:50:42.450421+00:00 app[web.1]: level1long: 'England', 2017-04-20T17:50:42.450421+00:00 app[web.1]: level1short: 'England' }, 2017-04-20T17:50:42.450422+00:00 app[web.1]: zipcode: 'DH1', 2017-04-20T17:50:42.450423+00:00 app[web.1]: country: 'United Kingdom', 2017-04-20T17:50:42.450423+00:00 app[web.1]: countryCode: 'GB', 2017-04-20T17:50:42.450424+00:00 app[web.1]: provider: 'google' }, 2017-04-20T17:50:42.450424+00:00 app[web.1]: { formattedAddress: 'Durham, UK', 2017-04-20T17:50:42.450424+00:00 app[web.1]: latitude: 54.7529094, 2017-04-20T17:50:42.450425+00:00 app[web.1]: longitude: -1.5798386, 2017-04-20T17:50:42.450425+00:00 app[web.1]: extra: 2017-04-20T17:50:42.450426+00:00 app[web.1]: { googlePlaceId: 'ChIJtXqvdvd9fkgRflAxHfvziOc', 2017-04-20T17:50:42.450427+00:00 app[web.1]: confidence: 0.5, 2017-04-20T17:50:42.450427+00:00 app[web.1]: premise: null, 2017-04-20T17:50:42.450428+00:00 app[web.1]: subpremise: null, 2017-04-20T17:50:42.450428+00:00 app[web.1]: neighborhood: null, 2017-04-20T17:50:42.450429+00:00 app[web.1]: establishment: null }, 2017-04-20T17:50:42.450429+00:00 app[web.1]: administrativeLevels: 2017-04-20T17:50:42.450430+00:00 app[web.1]: { level2long: 'County Durham', 2017-04-20T17:50:42.450430+00:00 app[web.1]: level2short: 'County Durham', 2017-04-20T17:50:42.450431+00:00 app[web.1]: level1long: 'England', 2017-04-20T17:50:42.450431+00:00 app[web.1]: level1short: 'England' }, 2017-04-20T17:50:42.450432+00:00 app[web.1]: country: 'United Kingdom', 2017-04-20T17:50:42.450432+00:00 app[web.1]: countryCode: 'GB', 2017-04-20T17:50:42.450433+00:00 app[web.1]: provider: 'google' }, 2017-04-20T17:50:42.450433+00:00 app[web.1]: { formattedAddress: 'County Durham, UK', 2017-04-20T17:50:42.450434+00:00 app[web.1]: latitude: 54.7294099, 2017-04-20T17:50:42.450434+00:00 app[web.1]: longitude: -1.8811598, 2017-04-20T17:50:42.450435+00:00 app[web.1]: extra: 2017-04-20T17:50:42.450435+00:00 app[web.1]: { googlePlaceId: 'ChIJreC1xuErfEgRwLZs7Z75DAM', 2017-04-20T17:50:42.450436+00:00 app[web.1]: confidence: 0.5, 2017-04-20T17:50:42.450436+00:00 app[web.1]: premise: null, 2017-04-20T17:50:42.450437+00:00 app[web.1]: subpremise: null, 2017-04-20T17:50:42.450437+00:00 app[web.1]: neighborhood: null, 2017-04-20T17:50:42.450438+00:00 app[web.1]: establishment: null }, 2017-04-20T17:50:42.450438+00:00 app[web.1]: administrativeLevels: 2017-04-20T17:50:42.450439+00:00 app[web.1]: { level2long: 'County Durham', 2017-04-20T17:50:42.450440+00:00 app[web.1]: level2short: 'County Durham', 2017-04-20T17:50:42.450440+00:00 app[web.1]: level1long: 'England', 2017-04-20T17:50:42.450441+00:00 app[web.1]: level1short: 'England' }, 2017-04-20T17:50:42.450441+00:00 app[web.1]: country: 'United Kingdom', 2017-04-20T17:50:42.450442+00:00 app[web.1]: countryCode: 'GB', 2017-04-20T17:50:42.450442+00:00 app[web.1]: provider: 'google' }, 2017-04-20T17:50:42.450443+00:00 app[web.1]: { formattedAddress: 'England, UK', 2017-04-20T17:50:42.450443+00:00 app[web.1]: latitude: 52.3555177, 2017-04-20T17:50:42.450452+00:00 app[web.1]: longitude: -1.1743197, 2017-04-20T17:50:42.450453+00:00 app[web.1]: extra: 2017-04-20T17:50:42.450453+00:00 app[web.1]: { googlePlaceId: 'ChIJ39UebIqp0EcRqI4tMyWV4fQ', 2017-04-20T17:50:42.450454+00:00 app[web.1]: confidence: 0.5, 2017-04-20T17:50:42.450455+00:00 app[web.1]: premise: null, 2017-04-20T17:50:42.450455+00:00 app[web.1]: subpremise: null, 2017-04-20T17:50:42.450456+00:00 app[web.1]: neighborhood: null, 2017-04-20T17:50:42.450456+00:00 app[web.1]: establishment: null }, 2017-04-20T17:50:42.450457+00:00 app[web.1]: administrativeLevels: { level1long: 'England', level1short: 'England' }, 2017-04-20T17:50:42.450457+00:00 app[web.1]: country: 'United Kingdom', 2017-04-20T17:50:42.450458+00:00 app[web.1]: countryCode: 'GB', 2017-04-20T17:50:42.450458+00:00 app[web.1]: provider: 'google' }, 2017-04-20T17:50:42.450459+00:00 app[web.1]: { formattedAddress: 'United Kingdom', 2017-04-20T17:50:42.450459+00:00 app[web.1]: latitude: 55.378051, 2017-04-20T17:50:42.450460+00:00 app[web.1]: longitude: -3.435973, 2017-04-20T17:50:42.450461+00:00 app[web.1]: extra: 2017-04-20T17:50:42.450461+00:00 app[web.1]: { googlePlaceId: 'ChIJqZHHQhE7WgIReiWIMkOg-MQ', 2017-04-20T17:50:42.450462+00:00 app[web.1]: confidence: 0.5, 2017-04-20T17:50:42.450462+00:00 app[web.1]: premise: null, 2017-04-20T17:50:42.450463+00:00 app[web.1]: subpremise: null, 2017-04-20T17:50:42.450463+00:00 app[web.1]: neighborhood: null, 2017-04-20T17:50:42.450464+00:00 app[web.1]: establishment: null }, 2017-04-20T17:50:42.450464+00:00 app[web.1]: administrativeLevels: {}, 2017-04-20T17:50:42.450465+00:00 app[web.1]: country: 'United Kingdom', 2017-04-20T17:50:42.450465+00:00 app[web.1]: countryCode: 'GB', 2017-04-20T17:50:42.450469+00:00 app[web.1]: provider: 'google' } ] 2017-04-20T17:50:42.450469+00:00 app[web.1]: allocating coords 2017-04-20T17:50:42.450528+00:00 app[web.1]: got, 54.7689371 - -1.5725568 2017-04-20T17:50:42.450592+00:00 app[web.1]: allocated coordinates. 2017-04-20T17:50:42.451327+00:00 app[web.1]: -------------------------------------------------------------------------------------- 2017-04-20T17:50:42.451636+00:00 app[web.1]: { food: '', 2017-04-20T17:50:42.451638+00:00 app[web.1]: location: '54.7686,-1.5731', 2017-04-20T17:50:42.451646+00:00 app[web.1]: isMeal: 'both', 2017-04-20T17:50:42.451647+00:00 app[web.1]: lat: 54.7689371, 2017-04-20T17:50:42.451648+00:00 app[web.1]: lng: -1.5725568 } 2017-04-20T17:50:42.451713+00:00 app[web.1]: 10 2017-04-20T17:50:42.451878+00:00 app[web.1]: false 2017-04-20T17:50:42.452251+00:00 app[web.1]: SELECT Meal.*, Location.*, User.ProfileImage, COUNT(Tag.TagID) AS MatchingTags 2017-04-20T17:50:42.452252+00:00 app[web.1]: FROM Meal 2017-04-20T17:50:42.452253+00:00 app[web.1]: JOIN User 2017-04-20T17:50:42.452254+00:00 app[web.1]: ON Meal.UserID = User.UserID 2017-04-20T17:50:42.452254+00:00 app[web.1]: JOIN Location 2017-04-20T17:50:42.452255+00:00 app[web.1]: ON Meal.LocationID = Location.LocationID 2017-04-20T17:50:42.452255+00:00 app[web.1]: LEFT JOIN TagMeal 2017-04-20T17:50:42.452256+00:00 app[web.1]: ON Meal.MealID = TagMeal.MealID 2017-04-20T17:50:42.452256+00:00 app[web.1]: LEFT JOIN Tag 2017-04-20T17:50:42.452257+00:00 app[web.1]: ON TagMeal.TagID = Tag.TagID 2017-04-20T17:50:42.452257+00:00 app[web.1]: WHERE RecipientID IS NULL AND Meal.IsAvailable = 1 2017-04-20T17:50:42.452260+00:00 app[web.1]: AND Location.Latitude BETWEEN 54.62400956376812 AND 54.913864636231885 AND Location.Longitude BETWEEN -1.7174843362318841 AND -1.427629263768116 GROUP BY Meal.MealID HAVING COUNT(Tag.TagID) >= 0; 2017-04-20T17:50:42.972420+00:00 heroku[web.1]: State changed from up to crashed 2017-04-20T17:50:42.973668+00:00 heroku[web.1]: State changed from crashed to starting 2017-04-20T17:50:42.805067+00:00 app[web.1]: { loggedin: false, 2017-04-20T17:50:42.805078+00:00 app[web.1]: foodcheck: true, 2017-04-20T17:50:42.805079+00:00 app[web.1]: location: '54.7686,-1.5731', 2017-04-20T17:50:42.805079+00:00 app[web.1]: lat: 54.7689371, 2017-04-20T17:50:42.805080+00:00 app[web.1]: lng: -1.5725568, 2017-04-20T17:50:42.805081+00:00 app[web.1]: results: 2017-04-20T17:50:42.805082+00:00 app[web.1]: { food: '', 2017-04-20T17:50:42.805082+00:00 app[web.1]: fooditems: 2017-04-20T17:50:42.805083+00:00 app[web.1]: [ [Object], 2017-04-20T17:50:42.805083+00:00 app[web.1]: [Object], 2017-04-20T17:50:42.805084+00:00 app[web.1]: [Object], 2017-04-20T17:50:42.805085+00:00 app[web.1]: [Object], 2017-04-20T17:50:42.805085+00:00 app[web.1]: [Object], 2017-04-20T17:50:42.805086+00:00 app[web.1]: [Object], 2017-04-20T17:50:42.805086+00:00 app[web.1]: [Object], 2017-04-20T17:50:42.805087+00:00 app[web.1]: [Object], 2017-04-20T17:50:42.805087+00:00 app[web.1]: [Object] ], 2017-04-20T17:50:42.805088+00:00 app[web.1]: tags: 2017-04-20T17:50:42.805089+00:00 app[web.1]: [ 'Poultry', 2017-04-20T17:50:42.805089+00:00 app[web.1]: 'Vegetarian', 2017-04-20T17:50:42.805090+00:00 app[web.1]: 'Pescatarian', 2017-04-20T17:50:42.805091+00:00 app[web.1]: 'Gluten free', 2017-04-20T17:50:42.805091+00:00 app[web.1]: 'Dairy free', 2017-04-20T17:50:42.805092+00:00 app[web.1]: 'Nut free', 2017-04-20T17:50:42.805092+00:00 app[web.1]: 'Fruit' ] }, 2017-04-20T17:50:42.805093+00:00 app[web.1]: food: '', 2017-04-20T17:50:42.805093+00:00 app[web.1]: isSearchResultsPage: true } 2017-04-20T17:50:42.806618+00:00 app[web.1]: /app/node_modules/mysql/lib/protocol/Parser.js:79 2017-04-20T17:50:42.806620+00:00 app[web.1]: throw err; // Rethrow non-MySQL errors 2017-04-20T17:50:42.806621+00:00 app[web.1]: ^ 2017-04-20T17:50:42.806621+00:00 app[web.1]: 2017-04-20T17:50:42.806622+00:00 app[web.1]: TypeError: Cannot read property 'userID' of undefined 2017-04-20T17:50:42.806622+00:00 app[web.1]: at Query._callback (/app/routes/search.js:204:55) 2017-04-20T17:50:42.806623+00:00 app[web.1]: at Query.Sequence.end (/app/node_modules/mysql/lib/protocol/sequences/Sequence.js:86:24) 2017-04-20T17:50:42.806624+00:00 app[web.1]: at Query._handleFinalResultPacket (/app/node_modules/mysql/lib/protocol/sequences/Query.js:137:8) 2017-04-20T17:50:42.806625+00:00 app[web.1]: at Query.EofPacket (/app/node_modules/mysql/lib/protocol/sequences/Query.js:121:8) 2017-04-20T17:50:42.806626+00:00 app[web.1]: at Protocol._parsePacket (/app/node_modules/mysql/lib/protocol/Protocol.js:280:23) 2017-04-20T17:50:42.806627+00:00 app[web.1]: at Parser.write (/app/node_modules/mysql/lib/protocol/Parser.js:75:12) 2017-04-20T17:50:42.806627+00:00 app[web.1]: at Protocol.write (/app/node_modules/mysql/lib/protocol/Protocol.js:39:16) 2017-04-20T17:50:42.806628+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mysql/lib/Connection.js:103:28) 2017-04-20T17:50:42.806628+00:00 app[web.1]: at emitOne (events.js:96:13) 2017-04-20T17:50:42.806629+00:00 app[web.1]: at Socket.emit (events.js:188:7) 2017-04-20T17:50:42.806630+00:00 app[web.1]: at readableAddChunk (_stream_readable.js:176:18) 2017-04-20T17:50:42.806630+00:00 app[web.1]: at Socket.Readable.push (_stream_readable.js:134:10) 2017-04-20T17:50:42.806631+00:00 app[web.1]: at TCP.onread (net.js:551:20) 2017-04-20T17:50:42.827051+00:00 app[web.1]: 2017-04-20T17:50:42.843636+00:00 app[web.1]: npm ERR! Linux 3.13.0-112-generic 2017-04-20T17:50:42.844035+00:00 app[web.1]: npm ERR! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start" 2017-04-20T17:50:42.844361+00:00 app[web.1]: npm ERR! node v7.1.0 2017-04-20T17:50:42.844781+00:00 app[web.1]: npm ERR! npm v3.10.9 2017-04-20T17:50:42.845730+00:00 app[web.1]: npm ERR! code ELIFECYCLE 2017-04-20T17:50:42.846007+00:00 app[web.1]: npm ERR! dinno@0.0.1 start: `node index.js` 2017-04-20T17:50:42.846265+00:00 app[web.1]: npm ERR! Exit status 1 2017-04-20T17:50:42.846682+00:00 app[web.1]: npm ERR! 2017-04-20T17:50:42.846928+00:00 app[web.1]: npm ERR! Failed at the dinno@0.0.1 start script 'node index.js'. 2017-04-20T17:50:42.847119+00:00 app[web.1]: npm ERR! Make sure you have the latest version of node.js and npm installed. 2017-04-20T17:50:42.847294+00:00 app[web.1]: npm ERR! If you do, this is most likely a problem with the dinno package, 2017-04-20T17:50:42.847523+00:00 app[web.1]: npm ERR! not with npm itself. 2017-04-20T17:50:42.847791+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system: 2017-04-20T17:50:42.848016+00:00 app[web.1]: npm ERR! node index.js 2017-04-20T17:50:42.848231+00:00 app[web.1]: npm ERR! You can get information on how to open an issue for this project with: 2017-04-20T17:50:42.848490+00:00 app[web.1]: npm ERR! npm bugs dinno 2017-04-20T17:50:42.848874+00:00 app[web.1]: npm ERR! Or if that isn't available, you can get their info via: 2017-04-20T17:50:42.849078+00:00 app[web.1]: npm ERR! npm owner ls dinno 2017-04-20T17:50:42.849279+00:00 app[web.1]: npm ERR! There is likely additional logging output above. 2017-04-20T17:50:42.857134+00:00 app[web.1]: 2017-04-20T17:50:42.857584+00:00 app[web.1]: npm ERR! Please include the following file with any support request: 2017-04-20T17:50:42.857813+00:00 app[web.1]: npm ERR! /app/npm-debug.log 2017-04-20T17:50:42.950270+00:00 heroku[web.1]: Process exited with status 1 2017-04-20T17:50:47.022605+00:00 heroku[web.1]: Starting process with command `npm start` 2017-04-20T17:50:49.771252+00:00 app[web.1]: 2017-04-20T17:50:49.771268+00:00 app[web.1]: > dinno@0.0.1 start /app 2017-04-20T17:50:49.771269+00:00 app[web.1]: > node index.js 2017-04-20T17:50:49.771269+00:00 app[web.1]: 2017-04-20T17:50:50.744549+00:00 app[web.1]: { Error: ENOENT: no such file or directory, open './config/database.json' 2017-04-20T17:50:50.744585+00:00 app[web.1]: at Object.fs.openSync (fs.js:557:18) 2017-04-20T17:50:50.744586+00:00 app[web.1]: at Object.fs.readFileSync (fs.js:467:33) 2017-04-20T17:50:50.744587+00:00 app[web.1]: at Object.<anonymous> (/app/functions/database.js:7:33) 2017-04-20T17:50:50.744587+00:00 app[web.1]: at Module._compile (module.js:573:32) 2017-04-20T17:50:50.744588+00:00 app[web.1]: at Object.Module._extensions..js (module.js:582:10) 2017-04-20T17:50:50.744589+00:00 app[web.1]: at Module.load (module.js:490:32) 2017-04-20T17:50:50.744589+00:00 app[web.1]: at tryModuleLoad (module.js:449:12) 2017-04-20T17:50:50.744590+00:00 app[web.1]: at Function.Module._load (module.js:441:3) 2017-04-20T17:50:50.744590+00:00 app[web.1]: at Module.require (module.js:500:17) 2017-04-20T17:50:50.744591+00:00 app[web.1]: at require (internal/module.js:20:19) 2017-04-20T17:50:50.744592+00:00 app[web.1]: errno: -2, 2017-04-20T17:50:50.744593+00:00 app[web.1]: code: 'ENOENT', 2017-04-20T17:50:50.744594+00:00 app[web.1]: syscall: 'open', 2017-04-20T17:50:50.744594+00:00 app[web.1]: path: './config/database.json' } 2017-04-20T17:50:50.748112+00:00 app[web.1]: Secret Database Keys aren't found. 2017-04-20T17:50:50.748211+00:00 app[web.1]: Attempting to Allocate from Heroku Servers. 2017-04-20T17:50:51.321308+00:00 heroku[web.1]: State changed from starting to up 2017-04-20T17:50:51.195065+00:00 app[web.1]: Dinno can be seen on http://localhost:4713 2017-04-20T17:50:51.210982+00:00 app[web.1]: Connected to Database - null 2017-04-20T17:50:51.211864+00:00 app[web.1]: Connected to Database - 2809588 2017-04-20T17:50:51.268912+00:00 app[web.1]: cleared database 2017-04-20T17:50:51.284679+00:00 app[web.1]: created new database 2017-04-20T17:50:51.291679+00:00 app[web.1]: Connected to Database - 2809589 2017-04-20T17:50:51.678884+00:00 app[web.1]: Loaded core database file. 2017-04-20T17:50:52.190587+00:00 app[web.1]: a new human has connected 2017-04-20T17:50:53.462928+00:00 app[web.1]: a new human has connected Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...
I'm guessing that the push notifications is looking for a user when it doesn't exist if you're not logged in.
fixed
I'm guessing that the push notifications is looking for a user when it doesn't exist if you're not logged in.