• Global Moderator Plugin & Theme Dev

    You might try increasing the available memory or adding swap space.


  • Looks like it is working. You are a G dude. (FYI yall should put under your system requirements >512mb ram) if that is a common issue.


  • Well now the site is live but the default theme is all fucked. http://exo.slatt.in/

  • Global Moderator Plugin & Theme Dev

    Try running ./nodebb build


  • @pitaj I did. Is it because I am using :80 instead of the default.

  • Global Moderator Plugin & Theme Dev

    Hmmm. Well if you're running it with sudo then that could cause issues. Try running it with :4567 first.


  • Just did this:


    root@nodebb:/home/james/nodebb# ./nodebb build
    [deprecated] `String.prototype.rtrim` is deprecated as of NodeBB v1.5; use `utils.rtrim` instead.
    3/7 06:44:03 [1878] - info: [build] Building in parallel mode
    3/7 06:44:03 [1878] - info: [build]         plugin static dirs  build started
    3/7 06:44:03 [1878] - info: [build]          requirejs modules  build started
    3/7 06:44:03 [1878] - info: [build]           client js bundle  build started
    3/7 06:44:03 [1878] - info: [build]            admin js bundle  build started
    3/7 06:44:03 [1878] - info: [build]         client side styles  build started
    3/7 06:44:03 [1878] - info: [build] admin control panel styles  build started
    3/7 06:44:03 [1878] - info: [build]                  templates  build started
    3/7 06:44:03 [1878] - info: [build]                  languages  build started
    3/7 06:44:03 [1878] - info: [build]                     sounds  build started
    3/7 06:44:03 [1878] - info: [build]         plugin static dirs  build completed in 0.043sec
    3/7 06:44:09 [1878] - info: [build]           client js bundle  build completed in 5.253sec
    3/7 06:44:09 [1878] - info: [build]            admin js bundle  build completed in 5.249sec
    3/7 06:44:09 [1878] - info: [build]                     sounds  build completed in 5.452sec
    3/7 06:44:17 [1878] - info: [build] admin control panel styles  build completed in 13.331sec
    3/7 06:44:19 [1878] - info: [build]          requirejs modules  build completed in 15.536sec
    3/7 06:44:19 [1878] - info: [build]         client side styles  build completed in 15.53sec
    3/7 06:44:19 [1878] - info: [build]                  templates  build completed in 15.974sec
    3/7 06:44:20 [1878] - info: [build]                  languages  build completed in 16.966sec
    3/7 06:44:20 [1878] - info: [build] Asset compilation successful. Completed in 17.007sec.
    root@nodebb:/home/james/nodebb# ./nodebb restart
    
    New Port

    http://exo.slatt.in:4567/

    Still broken

  • Global Moderator Plugin & Theme Dev

    @jamslatt looks like you just fixed it. What happened?


  • I re-ran the ./nodebb setup and IDK what happened but now I have it working. Thanks for the help!


  • I had the same problem when I was playing with NodeBB on a $2.5 vps from Vultr (=512MB ram). htop shows me that build process uses all available ram and cpu. Deploying on a decent machine/vps would solve the problem, aternatively, I called build steps one at a time ( eg ./nodebb build languages , ./nodebb build 'client side styles' etc) . Hope this helps.

Suggested Topics

  • 3
  • 6
  • 1
  • 6
  • 10
| |