Heroku nodebb problem ... 500

Technical Support
  • Hi,

    Im trying to setup nodeBB on heroku.
    Using tutorial:

    Instead of "Create a Procfile for Heroku: echo "web: node loader.js --no-daemon" > Procfile"
    Im using "echo web: node app.js > Procfile"

    now on heroku logs I see:

    2017-06-15T16:57:35.332461+00:00 heroku[run.5200]: State changed from starting to up
    2017-06-15T16:57:35.398861+00:00 heroku[run.5200]: Awaiting client
    2017-06-15T16:57:35.462711+00:00 heroku[run.5200]: Starting process with command node app --upgrade
    2017-06-15T16:58:17.526276+00:00 heroku[run.5200]: Process running mem=718M(138.3%)
    2017-06-15T16:58:17.526276+00:00 heroku[run.5200]: Error R14 (Memory quota exceeded)
    2017-06-15T16:58:32.202383+00:00 heroku[run.5200]: Process exited with status 0
    2017-06-15T16:58:32.214068+00:00 heroku[run.5200]: State changed from up to complete
    2017-06-15T16:58:39.046892+00:00 app[web.1]: 15/6 16:58:39 [4] - error: /
    2017-06-15T16:58:39.046913+00:00 app[web.1]: Error: Failed to lookup view "categories" in views directory "/app/build/public/templates"
    2017-06-15T16:58:39.046915+00:00 app[web.1]: at Function.render (/app/node_modules/express/lib/application.js:580:17)
    2017-06-15T16:58:39.046916+00:00 app[web.1]: at ServerResponse.render (/app/node_modules/express/lib/response.js:971:7)
    2017-06-15T16:58:39.046917+00:00 app[web.1]: at content (/app/src/middleware/render.js:70:15)
    2017-06-15T16:58:39.046917+00:00 app[web.1]: at /app/node_modules/async/dist/async.js:3830:24
    2017-06-15T16:58:39.046918+00:00 app[web.1]: at replenish (/app/node_modules/async/dist/async.js:946:17)
    2017-06-15T16:58:39.046919+00:00 app[web.1]: at /app/node_modules/async/dist/async.js:950:9
    2017-06-15T16:58:39.046920+00:00 app[web.1]: at eachOfLimit (/app/node_modules/async/dist/async.js:975:24)
    2017-06-15T16:58:39.046921+00:00 app[web.1]: at eachOf (/app/node_modules/async/dist/async.js:1051:5)
    2017-06-15T16:58:39.046922+00:00 app[web.1]: at _parallel (/app/node_modules/async/dist/async.js:3829:5)
    2017-06-15T16:58:39.046922+00:00 app[web.1]: at Object.parallelLimit [as parallel] (/app/node_modules/async/dist/async.js:3912:5)
    2017-06-15T16:58:39.046923+00:00 app[web.1]: at async.waterfall.str (/app/src/middleware/render.js:65:12)
    2017-06-15T16:58:39.046924+00:00 app[web.1]: at nextTask (/app/node_modules/async/dist/async.js:5273:14)
    2017-06-15T16:58:39.046920+00:00 app[web.1]: at /app/node_modules/async/dist/async.js:980:16
    2017-06-15T16:58:39.046925+00:00 app[web.1]: at next (/app/node_modules/async/dist/async.js:5280:9)
    2017-06-15T16:58:39.046925+00:00 app[web.1]: at /app/node_modules/async/dist/async.js:906:16
    2017-06-15T16:58:39.058531+00:00 app[web.1]: Error: Failed to lookup view "500" in views directory "/app/build/public/templates"
    2017-06-15T16:58:39.058534+00:00 app[web.1]: at content (/app/src/middleware/render.js:70:15)
    2017-06-15T16:58:39.046926+00:00 app[web.1]: at fireFilterHook (/app/src/plugins/hooks.js:110:11)
    2017-06-15T16:58:39.058533+00:00 app[web.1]: at ServerResponse.render (/app/node_modules/express/lib/response.js:971:7)
    2017-06-15T16:58:39.058533+00:00 app[web.1]: at Function.render (/app/node_modules/express/lib/application.js:580:17)
    2017-06-15T16:58:39.058534+00:00 app[web.1]: at /app/node_modules/async/dist/async.js:3830:24
    2017-06-15T16:58:39.058535+00:00 app[web.1]: at replenish (/app/node_modules/async/dist/async.js:946:17)
    2017-06-15T16:58:39.058535+00:00 app[web.1]: at /app/node_modules/async/dist/async.js:950:9
    2017-06-15T16:58:39.058535+00:00 app[web.1]: at eachOfLimit (/app/node_modules/async/dist/async.js:975:24)
    2017-06-15T16:58:39.058536+00:00 app[web.1]: at /app/node_modules/async/dist/async.js:980:16
    2017-06-15T16:58:39.058536+00:00 app[web.1]: at eachOf (/app/node_modules/async/dist/async.js:1051:5)
    2017-06-15T16:58:39.058537+00:00 app[web.1]: at _parallel (/app/node_modules/async/dist/async.js:3829:5)
    2017-06-15T16:58:39.058538+00:00 app[web.1]: at async.waterfall.str (/app/src/middleware/render.js:65:12)
    2017-06-15T16:58:39.058538+00:00 app[web.1]: at nextTask (/app/node_modules/async/dist/async.js:5273:14)
    2017-06-15T16:58:39.058537+00:00 app[web.1]: at Object.parallelLimit [as parallel] (/app/node_modules/async/dist/async.js:3912:5)
    2017-06-15T16:58:39.058538+00:00 app[web.1]: at next (/app/node_modules/async/dist/async.js:5280:9)
    2017-06-15T16:58:39.058538+00:00 app[web.1]: at /app/node_modules/async/dist/async.js:906:16
    2017-06-15T16:58:39.058539+00:00 app[web.1]: at fireFilterHook (/app/src/plugins/hooks.js:110:11)
    2017-06-15T16:58:39.058520+00:00 heroku[router]: at=info method=GET path="/" host=zdrowief.herokuapp.com request_id=4a0313b0-f720-41a7-91f5-9721659a1ea5 fwd="81.61.85.13" dyno=web.1 connect=1ms service=38ms status=500 bytes=455 protocol=https

    what Im doing wrong ? 😞

  • You need to increase your memory. During install and upgrades, memory usage goes up pretty significantly.

  • heh but locally I have the same issue 😞


Suggested Topics


  • 0 Votes
    3 Posts
    328 Views
  • 0 Votes
    2 Posts
    262 Views
  • 0 Votes
    1 Posts
    488 Views
  • 0 Votes
    3 Posts
    1228 Views
  • NodeBB Start Up Help

    Technical Support
    0 Votes
    9 Posts
    2673 Views