Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant start without mongo auth #233

Open
wojons opened this issue Apr 16, 2014 · 2 comments · May be fixed by #273
Open

cant start without mongo auth #233

wojons opened this issue Apr 16, 2014 · 2 comments · May be fixed by #273

Comments

@wojons
Copy link

wojons commented Apr 16, 2014

I have a db that is localhost single user blah blah blah. and just dont want to have a password. the only way i was able to get it to work was using a connection string leaving username and password blank did not help.

@buzypi
Copy link

buzypi commented Sep 8, 2014

I am not a developer on this project, but I had a similar requirement. Somehow, even enabling auth didn't seem to work for me. So I just disabled auth and changed this line in bootstrap.js: (Line 6):

mongoose.connect(config.mongodb.connectionString || 'mongodb://' + config.mongodb.server + '/' + config.mongodb.database);

I guess we can make it a conditional: if(!config.mongodb.user)...

@Humphreybas
Copy link

When I followed the installation instructions on http://redotheweb.com/uptime/ on my ubuntu 14.04 machine the app failed to start due to mongo auth problem (default uptime config and fresh install of mongodb from ubuntu repos). I guess I could have fixed mongo and the config of uptime but I went with your workaround of just removing the user and password from line 6 of bootstrap.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants