I think running ./nodebb upgrade is actually applicable to all NodeBB versions now. Should make the appropriate changes to docs @PitaJ ...
There was an error connecting to your database. Please try again.
-
Im trying to install NodeBB with the mongoDB database
INFO>
db.createUser( { user: "admin", pwd: "triangle", roles: [ { role: "readWriteAnyDatabase", db: "admin" }, { role: "userAdminAnyDatabase", db: "admin" } ] } )mongoDB
HOST IP> my domain
HOST PORT> 27017
MongoDB username> admin
MongoDB password> triangle
MongoDB database name> nodebbAND I GET THIS ERROR> There was an error connecting to your database. Please try again.
Whats wrong?
-
You may need to create the
nodebb
database -
Did you run the NodeBB installation routine? It creates this database for you.
-
I followed this guide:
and I still get the same error he is having.
-
What version of mongodb? Try downgrading to mongo 3.x