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

when starting parse it complains about not finding a database #2160

Closed
gbtommasi opened this issue Jun 28, 2016 · 5 comments
Closed

when starting parse it complains about not finding a database #2160

gbtommasi opened this issue Jun 28, 2016 · 5 comments

Comments

@gbtommasi
Copy link

gbtommasi commented Jun 28, 2016

On Mac Os El Capitan, when starting parse with command:
parse-server --appId MYAPP --masterKey MYKEY
it gives this error. Mongoldb seems to be correctly running, though:

/usr/local/lib/node_modules/parse-server/lib/ParseServer.js:239
throw 'When using an explicit database adapter, you must also use and explicit filesAdapter.';
^
When using an explicit database adapter, you must also use and explicit filesAdapter.

I am a newbie to parse, maybe I am missing something
thanks for the help

@vitalyos
Copy link

vitalyos commented Jun 28, 2016

Hello @gbtommasi! I have the same problem on Ubuntu 16.04. Did you find any solution for this issue?

@gbtommasi
Copy link
Author

Yea, you need to set the databaseURI property when starting parse, in my case it is: mongodb://localhost/test

hope it helps!

@vitalyos
Copy link

Thanks, databaseURI param solved my problem.

@kararkraj
Copy link

kararkraj commented Aug 3, 2016

hey guys just wanted to know one thing
the databaseURI can be anything starting with mongodb:// or will it be found in code or somewhere?

@vitalyos
Copy link

databaseURI must be a valid URI to an existing mongodb database

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

No branches or pull requests

3 participants