@noob111 the main benefit of React is not really performance. The benefit of React and other frameworks is that it separates your UI into individual composable components and allowed you to easily define them in a declarative fashion. Those features of that kind of framework allow for much easier development.
Try to setup some swap if you can, and yes memory can be an issue over time if the database is on the same server as well.
You said you hit step 3 so that means the build was succesfull with async.waterfall it means it is getting stuck in one of the plugins that is using 'static:app.preload' you can find which plugins use it with the above grep command.
I have a question about pagnition behavior.
When i set page size to 5, i will get 1 main post and 4 replies in first page. and 5 replies in other page.
But i want 5 replies in first page, and every other page as well.
And i can't find any hook can help. 😞
@PitaJ seems to work. Disabled the emoji-pack. Did a ./nodebb build after stopping nodebb. I was able to add a new emoji, then hit the 'build asset' button. Stopped nodebb again, did another ./nodebb build, went back to the emoji panel, no issues, no errors.
Thanks again for the help, sorry I wasn't able to find what went wrong.
Named it "nodebb-theme-ocean" and changed all instances in the folder name, and theme.json, plugin.json, and package.json files. We added the "screenshot" into the package.json file as per the documentation, but other than replacing instances of "quickstart", it's pretty much the stock theme.
Talking to myself here but ... yet more ponderings...
NodeBB chat/pm seems to target the expected use case of users chatting actively whilst online, while making provisions for messaging and notification should they not. Yes, you can set preferences to also be notified via email, but those messages are still stored on server. Hence admins, law enforcement, etc. have potential to investigate should some whack job stalker join up and end up physically harming another member. I don't joke. It has happened. Fortunately not to me.
Contrast that with some boards that don't do real time chat in favor of piping message thru an email system for delivery. I am guessing to conserve on bandwidth and storage resources. This seems like a much greater potential for abuse by forum spammers cuz now they can blast entire forum populations w/o any push back until folks start checking email. Email has become essentially unusable for many such that they never check it unless they are expecting something. Like a confirmation or password reset.
Hence, it is pretty groovy that the nodebb devs were smarter than that. 😉
new nodebb user here, running v1.16.1 locally with redis. I can't figure out how to use the search api, keep getting denied:
using the /admin/settings/api token i get 401 "A valid login session was not found.": curl -v -H 'Authentication: Bearer 633d1f38-8576-4ce1-bd2c-c799a474b763' -H 'Authorization: Bearer 633d1f38-8576-4ce1-bd2c-c799a474b763' 'localhost:4567/api/search?term=restless&in=categories&uid=2'
using the write-api token i get 403 forbidden 'You are not authorised to make this call": curl -v -H 'Authentication: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' -H 'Authorization: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' 'localhost:4567/api/search?term=restless&in=categories&uid=1'
interestingly without the 'in=categories' it return 200 but no search results: curl -v -H 'Authentication: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' -H 'Authorization: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' 'localhost:4567/api/search?term=restless&uid=1'
So what's the correct way to use the search api? and why does it require a token at all? Is it possible to open the search api for non authenticated users and then search just the public categories?
That sounds good!, I think you should check your plugin and make sure the ids are deleted from that object, it seems like this code should do it not sure why it wasn't cleared when you deleted all users.