My forum doesn't work properly on mobiles
@Alejandro do you know how much memory your server has? Is NodeBB currently running?
@PitaJ yup, it has 512mb (it's a centOS 7 x64 VPS)
NodeBB is currently running as you can see in foro.in-rp.com
@Alejandro try running
./nodebb stop ./nodebb build ./nodebb start
And see if that works. Maybe stopping NodeBB will free up enough memory to let the build succeed.
@PitaJ I just did it and in my web appeared:
Internal server error
@Alejandro what was the console output?
@Alejandro oh, the build was still killed. Run
./nodebb build --helpand try running it for each asset type. Check for the "Killed" message each time. If that happened, it failed.
What database are you using?
@PitaJ I'm using redis
I just saw warning tags but never killed
@Alejandro it looks like that resulted in everything building. Try starting NodeBB back up and see if everything works (
./nodebb stop ./nodebb build --series ./nodebb start
And see if that works (meaning there's no
Killedmessage). If that works, you should add
"series": true,at the top of config.json
@PitaJ Killed message
What else can I do?
EDIT: I started it and now it works good on mobiles (responsively) but I mind that killed message...
How can I fix it? , Thank your for all your support so far!
@Alejandro so the problem is that you don't have enough free memory. You could try shutting down NodeBB and redis before running the build, but the only other way I can think of is to add more memory space to your server. Maybe there's a way to add swap?
@PitaJ we can't do that at this time, it seems like it is working good, in few weeks we would acquire more ram if it's the problem.
Thank you very very much!