Use this code
git fetch # Grab the latest code from the NodeBB repository git checkout v3.x git reset --hard origin/v3.xAnd you will have the latest version without specifying it
https://docs.nodebb.org/configuring/upgrade/
I have asked this question on the nodebb forum but still very confused, if I may also take opinions here.
In a power cut or glitch my server may restart. What is the best way to make nodebb forum come back up without doing manual start?
I was looking at nodemon which I understand, but the nodebb docs suggest a method of adding somethings to a systemd file !
Its more complicated, is it a better method or can I just run nodebb under nodemon for auto restarts?
@eeeee Have you seen / read the below?
@eeeee said in restarting nodebb on boot:
can I just run nodebb under nodemon for auto restarts?
It’s a better method. Nodemon just looks for file system changes and would effectively die if the server was rebooted meaning you’d have to start it again anyway. Systemd is the defacto standard which is how the operating system interacts in terms of services, scheduled tasks etc.