@B-738 I also recommend Caddy, but that is not related to this topic
josef
Posts
-
Change user running nodebb & other startup issues -
Can I add nodebb to express based website?@marksibly I would recommend doing it through the reverse proxy (nginx caddy or whatever you use), and not to mediate through the node.js
Caddyfile example (https://caddyserver.com) :mywebsite.com { reverse_proxy /forum/* localhost:4567 # nodebb default port reverse_proxy localgost:3000 # your node.js app port }
Then set the address in the config.json file of the nodebb:
{ "url": "https://mywebsite.com/forum/", ... }
and then run
./nodebb build
./nodebb restart
And the forum will be available at https://mywebsite.com/forum/ (be sure to keep the / at the end)
-
Change user running nodebb & other startup issues@Jakub-Urbanowicz said in Change user running nodebb & other startup issues:
@PitaJ said in Change user running nodebb & other startup issues:
You should probably move the NodeBB files out of homeuser's home if You're not planning on homeuser running it.
Yeah, seems so. Could you give me a gist of what steps I would need to take to move nodebb to e.g. /var/www, please?
mv /home/user/nodebb /var/www/nodebb
-
Running the forum after restarting the computer@Thmhe said in Running the forum after restarting the computer:
@josef said in Running the forum after restarting the computer:
nodebb.bat
?What I need to write in the program is
nodebb.bat
How should I proceed from here?
@josef said in Running the forum after restarting the computer:
and add a "start" argument
-
Customize email titles -
how do I get a license?@PitaJ Doesn't the fact that you released the code under a certain copy-left license (and also received code donations under this license) eliminate the possibility for you to give the code under another license?
-
Running the forum after restarting the computer@Thmhe It is better to write the full path to the file
-
Running the forum after restarting the computer@Thmhe
https://www.makeuseof.com/automate-batch-files-task-scheduler-windows/
In Trigger, select "When the computer starts"
And in Start a Program write the path to the nodebb.bat file, and add a "start" argument -
Running the forum after restarting the computer@Thmhe Oh... I didn't notice it's Windows, there's no crontab there
You can use the Windows Task Scheduler to do something similar -
Running the forum after restarting the computer@Thmhe The hack way:
crontab -e
Then add:
@reboot cd /path/to/forum && ./nodebb start
and save.
Or you would create a systemd file, but if all you need is a restart after a server restart it will work -
503 Errror on Production, OAuth2 callback not working@julian said in 503 Errror on Production, OAuth2 callback not working:
which in Docker might be exposed somewhere...
docker logs
-
Update the installation instructions on Ubuntu@א-ש They are defined here: https://github.com/NodeBB/docs/blob/master/src/templates/installing/index.js#L4-L15
Apart from the recommended ubuntu version, which is defined here:
https://github.com/NodeBB/docs/blob/master/src/templates/installing/os/ubuntu/version.txtBy the way @baris, the edit button at the top of this page: https://docs.nodebb.org/installing/os/ubuntu leads to a 404 page.
-
Update the installation instructions on Ubuntu@א-ש You can update by yourself and submit a pull request
https://github.com/NodeBB/docs/tree/master/src/templates/installing/os/ubuntu -
Get list of topics from API@wndfh said in Get list of topics from API:
i work with nodebb forum version 1.18.5
from two years ago
-
change time seconds to min in error message@baris You should add a string for "one minute"
-
Composer keyboard shortcuts@BrotherGlaucon You can do it with custom JS
-
Share your opinion on my unique user registration process, please?@saikarthikp9 Use the posts queue, and your plugin will inject the custom fields there
-
Feedback from my users@mschwartz said in Feedback from my users:
A related “bug” (I call it a bug) is that when I type in the Quick Reply box some text, then click on the expand button (go to full blown editor) and click submit in the editor, my text is still in the Quick Reply box - clicking Quick Reply button ends up making the post twice.
I don't see that happening here at community.nodebb.org
-
Feedback from my users@mschwartz said in Feedback from my users:
Is there a way to have them show on every post all the time?
[component="post/actions"] { opacity: 1 !important }