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.
After rebooting my hostagator server i get following error
My nodebb is not running
Also, I am not able to take mongo DB backup as I am not able to run mongo commands .
I am really worried about my data , Is my mongodb database data safe ?
please help, what should I do
That depends... how did you install MongoDB? Likely the data is just intact, and you'll want to take a look at the MongoDB logs to see why MongoDB cannot start.
If on Ubuntu, they'd probably be in
And maybe make a backup copy of your mongodb data dirs (while it is not running) and stash it somewhere safe before mucking about too much further.