Hello good afternoon. I am new to the forum, I am trying to install nodeBB in my VPS following the following tutorial, which is the only way I see it simple.
I do all the steps perfectly, when I'm asked for the MongoDB username and password, I get the following error:
2019-07-12T21:42:34.318Z [8255] - error: NodeBB could not connect to your Mongo database. Mongo returned the following error message=Authentication failed., stack=MongoError: Authentication failed.
at /var/www/sopadetoad.com/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:581:63
at authenticateStragglers (/var/www/sopadetoad.com/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:504:16)
at Connection.messageHandler (/var/www/sopadetoad.com/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:540:5)
at emitMessageHandler (/var/www/sopadetoad.com/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:310:10)
at Socket.<anonymous> (/var/www/sopadetoad.com/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:453:17)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10), ok=0, errmsg=Authentication failed., code=18, codeName=AuthenticationFailed, name=MongoError
2019-07-12T21:42:34.328Z [8255] - warn: NodeBB Setup Aborted.
MongoError: Authentication failed.
at /var/www/sopadetoad.com/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:581:63
at authenticateStragglers (/var/www/sopadetoad.com/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:504:16)
at Connection.messageHandler (/var/www/sopadetoad.com/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:540:5)
at emitMessageHandler (/var/www/sopadetoad.com/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:310:10)
at Socket.<anonymous> (/var/www/sopadetoad.com/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:453:17)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
I do not understand how I can solve this, I've never used ubuntu and I've been trying to fix it for hours. Can someone help me? Thank you very much!
Apparently it does not connect to the database, but I have tried to do it several times and I always see the same error. I have even written the password by hand and there is no way.