Tried "node app --setup" too, nothing work. Here's full output, I choose all defaults, may be I should chose other IP and port?
fnk@fnk-XPS-L521X:~/nodebb/nodebb$ node app --setup
19/7 14:48 [5590] - info: NodeBB v1.1.0 Copyright (C) 2013-2014 NodeBB Inc.
19/7 14:48 [5590] - info: This program comes with ABSOLUTELY NO WARRANTY.
19/7 14:48 [5590] - info: This is free software, and you are welcome to redistribute it under certain conditions.
19/7 14:48 [5590] - info:
19/7 14:48 [5590] - info: NodeBB Setup Triggered via Command Line
Welcome to NodeBB!
This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed.
Press enter to accept the default setting (shown in brackets).
URL used to access this NodeBB (http://localhost:4567)
Please enter a NodeBB secret (qqq111222)
Which database to use (mongo)
19/7 14:48 [5590] - info: Now configuring mongo database:
Host IP or address of your MongoDB instance (127.0.0.1)
Host port of your MongoDB instance (27017)
MongoDB username (username)
Password of your MongoDB database
MongoDB database name (nodebb)
Configuration Saved OK
[ERROR-Server:5590] 1468928947368 [1] failed to authenticate against server 127.0.0.1:27017 { type: 'error',
message: '[1] failed to authenticate against server 127.0.0.1:27017',
className: 'Server',
pid: 5590,
date: 1468928947368 }
19/7 14:49 [5590] - error: NodeBB could not connect to your Mongo database. Mongo returned the following error: could not authenticate
19/7 14:49 [5590] - warn: NodeBB Setup Aborted.
MongoError: could not authenticate
at /home/fnk/nodebb/nodebb/node_modules/mongodb-core/lib/topologies/server.js:1492:28
at /home/fnk/nodebb/nodebb/node_modules/mongodb-core/lib/topologies/server.js:1473:23
at ScramSHA1.auth (/home/fnk/nodebb/nodebb/node_modules/mongodb-core/lib/auth/scram.js:109:25)
at authenticate (/home/fnk/nodebb/nodebb/node_modules/mongodb-core/lib/topologies/server.js:1471:42)
at Timeout._onTimeout (/home/fnk/nodebb/nodebb/node_modules/mongodb-core/lib/topologies/server.js:1485:9)
at tryOnTimeout (timers.js:224:11)
at Timer.listOnTimeout (timers.js:198:5)