@julian thanks. I managed to restore the database but I have messed things up as I thought I would try and be secure and add a username/password within mongo.
Is there a way to specifify the authentication database here ?
"url": "http://localhost:4567",
"secret": "****",
"database": "mongo",
"mongo": {
"host": "127.0.0.1",
"port": "27017",
"username": "***",
"password": "****",
"database": "0"
}
I added the user to the admin database like this:
db.createUser(
{
user:"****",
pwd:"****",
roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
})
My NodeBB database is 0
@L33t why is it 'no good' ?