Change user running nodebb & other startup issues
-
@Jakub-Urbanowicz
After reverting ownership to homeuser the forum starts correctly. -
Changing the user is hard. Perhaps I will remove privileges from the existing user instead.
-
You should probably move the NodeBB files out of
homeuser
'shome
if You're not planning on homeuser running it. -
@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?
-
@B-738 said in Change user running nodebb & other startup issues:
try to use PM2 https://pm2.keymetrics.io
PM2 does much more than just start an app. Do you think I will need to change NginX proxy settings if I start nodebb with it? What if I increase the number of workers with pm2 scale app x?
-
@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
-
@Jakub-Urbanowicz I recomend to all use Caddy web server instead of Nginx ! Much better and simple , also be default use SSL (https) and do automatic update of ssl from letencrupt
OS FreeBSD
DataBase MongoDB
NodeJS NPM
PM2
Best proxy SSL server Caddy
GoLang -