To give you a little bit of history...
@youhosi -- no, we explicitly made the decision to not use a framework for our frontend because we as developers were trained in an era when client-side frameworks did not exist.
However, in hindsight this decision ended up being quite advantageous for the following reasons:
Speed at the expense of convenience
You will always find that framework-less websites and web apps are much faster than ones using frameworks. My belief is that this is the case because frameworks need to broadly apply to as many use cases as possible, and this necessitates a significant amount of excess code that slows down the application.
We use BenchpressJS for our front-end templates, which is highly optimized and efficient, against at the expense of more esoteric logic. However, we find this is a good balance of speed vs. convenience. Thanks to @PitaJ and @psychobunny for putting in the legwork to create our templating system!
We also use jQuery to ease client-side development.
There will always be developers who can code in a framework-less style, and we do not see this going away any time soon.
Frameworks come and go, but our code will always be more-or-less up to date and supported.
For example, could you imagine if we wrote our app in Angular 1 (which was all the rage at the time)? We also considered using MooTools instead of jQuery, which is pretty much defunct now. Every time a dependent framework goes, the developers leave for greener pastures (see point 2), and you'll be stuck with a codebase that needs rewriting.
All of the above points are open for debate (and I do encourage it here), but this is our thinking as of this moment
Hmm, I also noticed that a new user account registration was pending approval, but a click on the little red indicator icon lead to no redirection. Only something like "show all notifications" finally showed me the approval queue, where than a click on the green icon also lead to no further actions. Seems the Admin panel is a bit shaky now. NodeBB runs inside VMware, no crash or so happened with weekly backups of the VM.
The core forum functions are working, so no big deal. If it falls apart I report back
Trying to up nodebb in the private ipv6 sub network without domains.
Using docker + nginx. All works fine, but websocket not. "Connection has been lost".
First i'm try edit config.json, added socket.io origins. Error message in the web console disappeared but it doesn't help.
Nginx config is right. Another site with web socket working fine.
Can you help?
@julian, if you see my config.json, https://domain.com : * is already there.
Well, I guess the best option is to put the Wordpress site on the same server as NodeBB. I don't think it's going to be this complicated ;). Thanks for your help, @julian & @PitaJ
@Abhinov-Singh-0 A permission denied error means that some or all of the files in that directory are owned by a user that is not the same user as you are logged in as.
It also suggests that the images may have restrictive privileges that do not allow them to be read by the user running the NodeBB process.
sudo chown -r $USER public/uploads
Then try to run NodeBB again.
@Abhinov-Singh-0 I suggest learning about solving Linux permissions issues on your own.
For now, I'm guessing you need to make it executable:
chmod +x ./nodebb
It may also be an issue with ownership, in which case you'd use chown.
You can search for any of these topics and find hundreds of tutorials.
And if you need alternatives
admin / Oct 10
How to Install NodeBB on Ubuntu 18.04 | RoseHosting
In this article, we will show you how to install NodeBB on an Ubuntu 18.04 VPS. NodeBB is an open-source forum software that runs on Node.js platform that is free and easy to use. It is great for