@thanhtantran you might just want to copy the mongo database directly. Using nodebb-backup is probably missing some of the newer db keys. Look at the docs for backup in the upgrades to get an idea as to how to do the mongodump
how to remote start and keep running NodeBB
-
I install NodeBB with MongoDB in CentOS 7.2 by SSH.
(not use Nginx now)It can setup NodeBB by the setup page.
But when I start NodeBB , it shows error message below:
error message:
Looks like your connection to NodeBB was lost, please wait while we try to reconnect.
I try "forever start app.js" , "./nodebb start", or use service according to the guide "https://docs.nodebb.org/configuring/running/"
but it 's the same problem.
I tried "./nodebb dev" , NodeBB works when I keep SSH console.
when I close SSH, NodeBB must be stopped, cause it has the same error message before I refresh.how to do ? thanks
-
@creatxr have you checked those two topics?
-
thanks.
I've some puzzles.
I've changed"url": "http://localhost:4567" to "url": "http://my.real.ip:4567"
now it works.
but, I did it before and start NodeBB with "forever start app.js" or "./nodebb start",
even I keep SSH console open, NodeBB still has the error message.
why?
-
@creatxr The
url
value inconfig.json
must match the actual url you use to access the forum.As for keeping the service running, have you taken a look at our docs' "Running NodeBB" page?
-
yes, it seems only service could get to work.
the "forever start app.js" or "./nodebb start"
cannot work.
because before i've changed url , but it has same error message.
when i changed to use service and change the url, it works.
so maybe only the way of config service could use in centos?
Suggested Topics
-
UNSOLVED import smf to nodebb
Technical Support • • jmex