Hey, folks.
So I have been playing with this tech on a Digital Ocean Ubuntu (14.04) droplet, just trying to perfect the install sequence with Mongo and I keep running into this error:
"warn: You have no mongo password setup!"
Here is the output from ./nodebb dev
Clustering enabled: Spinning up 1 process(es).
30/11 11:43 [20746] - verbose: * using configuration stored in: /home/nodebb/config.json
30/11 11:43 [20746] - info: Time: Mon Nov 30 2015 11:43:10 GMT-0500 (EST)
30/11 11:43 [20746] - info: Initializing NodeBB v0.9.1
30/11 11:43 [20746] - verbose: * using mongo store at 127.0.0.1:27017
30/11 11:43 [20746] - verbose: * using themes stored in: /home/nodebb/node_modules
30/11 11:43 [20746] - warn: You have no mongo password setup!
30/11 11:43 [20746] - info: [database] Checking database indices.
30/11 11:43 [20746] - verbose: Checking dependencies for outdated modules
[outdated] nodebb-theme-lavender installed v3.0.0, package.json requires 3.0.1
30/11 11:43 [20746] - warn: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store.
30/11 11:43 [20746] - verbose: [notifications.init] Registering jobs.
30/11 11:43 [20746] - info: [themes] Using theme nodebb-theme-persona
30/11 11:43 [20746] - verbose: [plugins] Initializing plugins system
30/11 11:43 [20746] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-composer-default
30/11 11:43 [20746] - verbose: [plugins] Found 10 js file(s) for plugin nodebb-plugin-composer-default
30/11 11:43 [20746] - verbose: [plugins] Loaded plugin: nodebb-plugin-composer-default
30/11 11:43 [20746] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-markdown
30/11 11:43 [20746] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-markdown
30/11 11:43 [20746] - verbose: [plugins] Loaded plugin: nodebb-plugin-markdown
30/11 11:43 [20746] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-mentions
30/11 11:43 [20746] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-mentions
30/11 11:43 [20746] - verbose: [plugins] Loaded plugin: nodebb-plugin-mentions
30/11 11:43 [20746] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-widget-essentials
30/11 11:43 [20746] - verbose: [plugins] Loaded plugin: nodebb-widget-essentials
30/11 11:43 [20746] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-rewards-essentials
30/11 11:43 [20746] - verbose: [plugins] Loaded plugin: nodebb-rewards-essentials
30/11 11:43 [20746] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
30/11 11:43 [20746] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-emoji-extended
30/11 11:43 [20746] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-emoji-extended
30/11 11:43 [20746] - verbose: [plugins] Loaded plugin: nodebb-plugin-emoji-extended
30/11 11:43 [20746] - verbose: [plugins] Found 4 js file(s) for plugin nodebb-theme-persona
30/11 11:43 [20746] - verbose: [plugins] Loaded plugin: nodebb-theme-persona
30/11 11:43 [20746] - info: [plugins] Plugins OK
30/11 11:43 [20746] - verbose: [meta/css] Minifying LESS/CSS
30/11 11:43 [20746] - verbose: [sounds] Sounds OK
30/11 11:43 [20746] - verbose: [meta/templates] Compiling templates
30/11 11:43 [20746] - verbose: [meta/js] Minification complete
30/11 11:43 [20746] - verbose: [meta/js] Client-side minfile committed to disk.
30/11 11:43 [20746] - verbose: [meta/templates] Successfully compiled templates.
30/11 11:43 [20746] - verbose: [meta/css] admin.css committed to disk.
30/11 11:43 [20746] - info: NodeBB Ready
30/11 11:43 [20746] - info: NodeBB is now listening on: 0.0.0.0:4567
30/11 11:43 [20746] - verbose: [hotswap] Router with id `plugins` replaced successfully
30/11 11:43 [20746] - verbose: [plugins] All plugins reloaded and rerouted
30/11 11:43 [20746] - verbose: [hotswap] Router with id `auth` replaced successfully
30/11 11:43 [20746] - verbose: [meta/css] stylesheet.css committed to disk.
Also worth noting: Nodebb will not start properly with ./nodebb start
. It will simply not start. The ./nodebb log
tries to starts but exits itself out and hangs:
Type Ctrl-C to exit
Clustering enabled: Spinning up 1 process(es).
29/11 23:51 [3807] - info: Time: Sun Nov 29 2015 23:51:26 GMT-0500 (EST)
29/11 23:51 [3807] - info: Initializing NodeBB v0.9.1
29/11 23:51 [3807] - warn: You have no mongo password setup!
29/11 23:51 [3807] - info: [database] Checking database indices.
[outdated] nodebb-theme-lavender installed v3.0.0, package.json requires 3.0.1
29/11 23:51 [3807] - warn: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them:
29/11 23:51 [3807] - warn: ./nodebb upgrade
[cluster] Child Process (3807) has exited (code: 0, signal: null)
^C
The mongo passwords were set up according to advice given in this post.
This install is using Mongo 3 so I cant find the conf file to uncomment the auth: true
line.
Also, I ran ./nodebb upgrade
several times and it continues to give that flag.
So looking for a solution to the mongo authentication issue. Also wondering if running nodebb with the dev option is "safe " practice since that is the only way it will run? It is working, I just created another user and some posts...