parse-community / parse-dashboard

A dashboard for managing Parse Server
https://parseplatform.org
Other
3.74k stars 1.39k forks source link

parse-dashboard does not read the json config file (parse-darshboard-config.json) #2354

Closed yhugir closed 1 year ago

yhugir commented 1 year ago

New Issue Checklist

Issue Description

we have spent days runnig the parse-server and parse-dashboard with no success we got in the dashboard the default App (Helo..) and cannot connect to server although we set another App in the Parse-server config , tel we called the dashboard with configuration parametrs in cli not using the config file, then it worked.
server run command: nohup parse-server config.json & dashboard run commnad : parse-dashboard parse-darshboard-config.json --dev & did not work dashboard run commnad : nohup parse-dashboard --appId KSDJFKDJ9DKFDJDKF --masterKey KJDF89DFJ3H37JHFJDF8DFJDF --serverURL "http://192.168.1.41:1337/parse" --appName libera --dev & worked

parse-dashboard.json:

"apps": [ { "serverURL": "http://localhost:1337/parse", "appId": "KSDJFKDJ9DKFDJDKF", "masterKey": "KJDF89DFJ3H37JHFJDF8DFJDF", "allowInsecureHTTP": "true", "appName": "MyApp1" } ], "users": [ { "user":"admin", "pass":"password" } ], "iconsFolder": "icons" }

Steps to reproduce

install the database (in our case we used postgresql) install the node last version install parse-server install parse-dashboard make config files (config.json, parse-dashboard.json) run parse-server config.json run parse-dashboard parse-dashboard.json

Actual Outcome

dashboard does not read the parse-dashboard.json

Expected Outcome

should read teh parse-dashboard.json and show the app in it

Environment

fedora server last version

Dashboard

Server

Database

Logs

there ware no logs enteries

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

mtrezza commented 1 year ago

Could you please update your description with specific version numbers. "latest" is not specific enough to replicate.

Also, could you describe in more detail what error / logs you are seeing? "dashboard does not read the parse-dashboard.json" is not specific enough.

mtrezza commented 1 year ago

I'm closing this as it was not reproducible and there were no further responses. Please follow up on any questions asked and further steps suggested in the thread and we can re-open this issue.