after a server reset NodeBB doesn't start regularly anymore.
./nodebb -l --log-level verbose start
2018-08-03T07:00:55.445Z  - verbose: * using configuration stored in: /var/www/html/nodebb.freeplaying.it/nodebb/config.json
Starting NodeBB with logging output
Hit Ctrl-C to exit
The NodeBB process will continue to run in the background
Use "./nodebb stop" to stop the NodeBB server
2018-07-29T20:35:45.659Z  - info: Routes added
2018-07-29T20:35:45.663Z  - info: NodeBB Ready
2018-07-29T20:35:45.666Z  - info: Enabling 'trust proxy'
2018-07-29T20:35:45.673Z  - info: NodeBB is now listening on: 0.0.0.0:4567
2018-07-29T20:58:31.312Z  - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
2018-07-29T20:58:31.313Z  - info: [app] Web server closed to connections.
2018-07-29T20:59:38.440Z  - info: [app] Database connection closed.
2018-07-29T20:59:38.441Z  - info: [app] Shutdown complete.
[cluster] Child Process (1479) has exited (code: 0, signal: null)
Log doesn't have any traces of malfunctioning plugins or the likes. Running a
./nodebb -d start
I get this:
2018-08-03T07:02:56.411Z  - verbose: * using configuration stored in: /var/www/html/nodebb.freeplaying.it/nodebb/config.json
NodeBB v1.10.1 Copyright (C) 2013-2014 NodeBB Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
@guts I meant no offense, I was just quickly providing a resource in the case that you hadn't looked at it before. Also, the docs that @yariplus linked are the outdated ones, whereas the ones I linked are more up-to-date.
Hi, I use Litespeed actually for my other domains and they are on the same server so can I delete the config.json file in this case?
I don't know anything about lightspeed, but I can tell you that config.json is completely separate from the reverse proxy you decide to use. config.json is generated by ./nodebb setup and is located in the nodebb directory.
Do I have to use Ngynx in addition of Litespeed?
Probably not, but you'll have to look up how to do the same things that nginx does when using our example config files and apply that to Lightspeed.
I already have a database but where do I have to specify it during the setup?
If you run ./nodebb setup after deleting config.json, it will ask you for settings for your database.
How do I delete the config.json file?
My apologies but it becomes hard to follow... I followed a tuto on Youtube by entering some commands via SSH but this becomes hard to do so if someone can paste an exemple, it will be great and it will help.
An example for what? Unfortunately it's difficult to reduce installation into quick examples.