Running into this: "warn: You have no mongo password setup!"
-
@Aton-Bridges run
npm i [email protected]
to fix the./nodebb start
issue. -
@pichalite This is the contents of /etc/mongod.conf:
# mongod.conf # for documentation of all options, see: # http://docs.mongodb.org/manual/reference/configuration-options/ # Where and how to store data. storage: dbPath: /var/lib/mongodb journal: enabled: true # engine: # mmapv1: # wiredTiger: # where to write logging data. systemLog: destination: file logAppend: true path: /var/log/mongodb/mongod.log # network interfaces net: port: 27017 bindIp: 127.0.0.1 #processManagement: #security: #operationProfiling: #replication: #sharding: ## Enterprise-Only Options: #auditLog: #snmp:
And that is it.
-
@pichalite Was that something I needed to do in addition to using the web installer? Will check and see what it says...
Config.json only references the NodeBB secret.
It has the correct mongo username and database listed by not password. Should I add it there?
-
@Aton-Bridges that eliminates the warning from NodeBB but I don't think your MongoDB is actually authenticating using the username and password. I am not too familiar with MongoDB. May be someone who knows it can respond on how to make it authenticate.
-
@pichalite Okay, this fixed the error outputs (w correct version of 3.0.1) but
./nodebb start
still produces this output and returns the shell.$ ./nodebb start Starting NodeBB "./nodebb stop" to stop the NodeBB server "./nodebb log" to view server output "./nodebb restart" to restart NodeBB $
Something to worry about or no?
./nodebb log
runs fine it seems...