My forum doesn't work properly on mobiles
-
-
What is the output of the build command? Can you post a screenshot?
-
Upgrade: https://ibb.co/t2fDWD2
Build: https://ibb.co/j4cXj03 -
Looks like your build process is being killed. Your server might not have enough memory. Try running
./nodebb build --series
and post the output of that. -
@Alejandro do you know how much memory your server has? Is NodeBB currently running?
-
@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.
-
@Alejandro what was the console output?
-
-
@Alejandro oh, the build was still killed. Run
./nodebb build --help
and 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 start
).Then try
./nodebb stop ./nodebb build --series ./nodebb start
And see if that works (meaning there's no
Killed
message). 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?