I made a backup my MongoDB database and i want to do fresh install nodebb but i dont know how.
Can't do initial setup:
sudo ./nodebb setup
I have auth connection error:
I just double checked configuration(config.json includes correct password), seems everything is correct, also I don't have problems with connection from mongo shell or Robomongo (Admin GUI):
mongo -u overuser -p herePwd --authenticationDatabase forum_db
Mongo is configured with authentication:
# Turn on/off security. Off is currently the default #noauth = true auth = true
overuser is dbOwner of forum_db
Interesting stuff, but:
node app.js --setup
I was able to finish initial setup...
It could be because you were calling it with sudo
As @pitaj mentions, invoking sudo with NodeBB is bound to bring you trouble -- no need for superuser privileges for NodeBB, and I'm thinking of having NodeBB run as the
nobody user, if possible...