I am quite new to NodeBB. Is there a best practice or a proposed way to temporarily revoke a user's permission to post to the forum? Only allowing reading for a certain amount of time?
I saw that a user can be banned (= from logging in) and I can also set a timer when the ban is being lifted automatically.
Is it easier to edit the single user's permissions or is there a quicker way using groups - although thinking of the situation - after a certain time of hour/days - when the permission are given back and the user is allowed to post again.
@Neeru-Gupta We tried using the same plugin,nodebb-plugin-fusionauth-oidc for authenticating through the keycloak provider but While rebuilding & restarting after installing our Nodebb app breaks. We are unable to proceed further. We have to again clone the whole code to get started with.
Could you please share with me the steps on how you have done & configured it?
We are using another plugin now as nodebb-plugin-sso-oidc which we are able to install & configure. But we are getting SSL protocol error while trying to login
If you're a small user, are willing to spend some time tinkering without considering it a form of payment and can accept signing your soul to Oracle, forever doomed to enterprise marketing calls (actually seems like they stopped that some time ago, used to be that when you created a free account you'd get at least one call asking you about what were your needs and what would you need from Oracle Cloud to realize them or something like that), you can actually host NodeBB entirely for free.
Oracle Cloud seems fairly desperate to grab customers and as such is offering a fairly absurd Always Free tier, with a max of 4 VPS servers with 4 ARM cores (and a single hyperthreaded x86 core) to divide between them.
NodeBB works totally fine on ARM - Node is thankfully mostly platform agnostic - so after getting through some small networking hurdles if you're using Ubuntu (just install firewalld. It's the easiest way to make their default iptables config just work without the risk of making the VM unbootable by blocking its iSCSI boot disk, which ufw can apparently do), or just going through a normal config on Oracle Linux (Oracle packaged RHEL) or CentOS*, it works totally fine.
I didn't test it on a single core instance, but on 2 cores (admittedly, with some other things running in the background) a full build takes 63 seconds in total, with webpack responsible for 53 of those, which seems reasonable enough.
A fresh server hosted on the VPS I was testing the build times on, if someone wants to check how well it works: https://demo.nodebb.opliko.dev/ (I will probably shut it down in a few days though)
You can host for free without a standard VPS too. There is always Heroku, Railway and Glich, which both offer essentially a small server with a shared core and 512MB of RAM, (and fly.io which lets you run 3 apps with a shared core and 256MB of RAM, but I think it might be worse for this purpose) though under slightly different models than a VPS. I've seen people run NodeBB on Heroku here before, and have got it to work on Glitch as an experiment, though I'm not sure how the switch to Webpack affected build times - at least on Glitch they were quite slow before 2.0 already. But it's not like you need to do that often.
When it's running though it works fine, but I wouldn't try to run a DB alongside them there even if you could - for that you'll probably want a free MongoDB Atlas instance, which is quite neat, but limited to 512MB of storage, so not suitable for a large forum 🙂
So on the topic directly - NodeBB hosting isn't really more expensive than any other app that requires a connection with a server-side component and a database.
It's just that few PHP applications had the connection part and since they were so popular received first class support across web hosts, but we're currently seeing a major change in that paradigm as newer universal (railway, fly, heroku was really ahead of its time) and "serverless" (every cloud host now has one...) runtimes become commonplace.
The latter are probably now starting to become feasible for a NodeBB-like app, as more and more start supporting websockets for real-time communication (AWS Lambda, Cloudflare Workers, Deno Deploy/Netlify Edge Functions).
So as an aside @julian I just wanted to note that you probably didn't do math on Lambda paritally because it only made sense since 2019 when it WebSocket support via API Gateway 🙂
In the meantime, just renting a small VPS has also become absolutely affordable for individuals - there are many hosts that offer something reasonable for <$5 a month (Hetzner that was mentioned before, OVHCloud which I used for some time and was also totally fine, Vultr, Hostinger and quite a few others with similar models and pricing. Even on AWS you can get something decent for that price if you're willing to reserve it for a year or more).
The managed hosting is for larger sites and aimed at businesses/groups, not people who just want a place for a few dozen people. And for them labor costs might eclipse the managed hosting quite quickly.
Also, the hosting pays for development and maintenance of the software, so I find a bit of a premium to be quite reasonable. OSS doesn't make itself yet, and I personally find the "offer managed version" to be one of the most reasonable ways of maintaining it that doesn't rely on pure goodwill of the community.