Whenever I try to use MongoDB, I always get this error:
:/var/www/forum# node app
info: NodeBB v0.2.1 Copyright (C) 2013 DesignCreatePlay Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.
info:
info: Initializing NodeBB v0.2.1, on port 4567, using mongo store at 127.0.0.1:27017.
info: NodeBB instance bound to: Any address (0.0.0.0)
error: auth fails
When I originally set it up, I had this:
URL of this installation (http://localhost) http://mywebsite.com
Port number of your NodeBB (4567)
Use a port number to access NodeBB? (y)
IP or Hostname to bind to (0.0.0.0)
Which database to use (redis) mongo
Host IP or address of your MongoDB instance (127.0.0.1)
Host port of your MongoDB instance (27017)
MongoDB username <my username>
Password of your MongoDB database <my password>
Which database to use (0..n) (0) <my alphabetic database name>
info: Configuration Saved OK
error: auth fails
I don't know what it could be. The last time I installed this, it worked fine. And, checking your GitHub log, it doesn't seem like there were any major changes in the last 10 hours.