Parse-server: when starting parse it complains about not finding a database

Created on 28 Jun 2016  路  5Comments  路  Source: parse-community/parse-server

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

Most helpful comment

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

hope it helps!

All 5 comments

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

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

hope it helps!

Thanks, databaseURI param solved my problem.

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?

databaseURI must be a valid URI to an existing mongodb database

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lorki picture lorki  路  3Comments

jiawenzhang picture jiawenzhang  路  4Comments

ShawnBaek picture ShawnBaek  路  4Comments

ugo-geronimo picture ugo-geronimo  路  3Comments

carjo422 picture carjo422  路  3Comments