Straight to the point, I have made an account dedicated for the db that nodebb uses and gave only role of 'readWrite'. I have another account that has 'root' role but I don't want to use it for the website. I would like to make another account for administrative operation for nodebb (especially for that 'database' tab). What kind of roles and privileges are needed?
My forum doesn't work properly on mobiles
@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!