./nodebb start not working
Whenever I try to run Nodebb using the
nodebbcontrol file, I get some weird behavior.
./nodebb startdoes start a daemon which instantly exits. (Tested both on my local windows and on my distant debian)
Since the beginning, I used
node appbut this prevents Nodebb from being able to restart through the admin panel.
./nodebb devworks fine (maybe because no daemon is used?) and it even allows me to restart from the admin panel but this is not a proper solution for production.
I may need to specify that this is intended to be used with Docker so running it in background is not necessary. (Something equivalent to
./nodebb startrunning in foreground and allowing me to restart from the admin panel would still be fine)
@Telokis can you try
./nodebb slogand see if any errors occur? If
./nodebb startshould, too, but obviously something fishy is going on.
@PitaJ It doesn't show anything in particular but it works so I'll use it in place of
Hello! I have this problem. NodeBB v.0.8.2 and I can not update for some important reasons.
At startup, a normal message is displayed, but nothing happens:
$ ./nodebb start Starting NodeBB "./nodebb stop" to stop the NodeBB server "./nodebb log" to view server output "./nodebb restart" to restart NodeBB
In the dev mode:
$ ./nodebb log Type Ctrl-C to exit
And nothing more. NodeBB not work:
$ ./nodebb stop NodeBB is already stopped.
In the dev mode, everything seems to be fine.
It started 10 days ago. At the same time, I did not change anything. Git did not record any changes.
I could not figure it out. Apparently there was something serious. I just took the file from the test server. It remains only to return the pictures. Thanks!
@sergej-saveljev you did what? What were the steps you took while upgrading?
scp -r ./forum firstname.lastname@example.org:www/mysite.ru/; ssh email@example.com; cd www/mysite.ru/forum; ./nodebb start
I tried a lot of things. Even this did not help:
rm -r node_modules; npm install; ./nodebb start
./nodebb devand see if any errors occur in the log
Now everything is fine, thank you!