mhdzumair / MediaFusion

Universal Stremio Add-On
MIT License
184 stars 27 forks source link

No default database defined or provided while trying to deploy locally using docker #131

Closed SainiAnmol closed 4 months ago

SainiAnmol commented 4 months ago

I am trying to deploy using docker on rpi 4B. Since mongoDB is not supported, I am trying to deploy using mongo atlas. I replaced the MONGO_URI parameter with connection string that I got after creating an account and database on atlas. Also, removed all the "Depends_on" parameters. Still the error of "no database defined or provided" is persisting.

mhdzumair commented 4 months ago

"no database defined or provided"

Where did you see the error?

SainiAnmol commented 4 months ago

Docker logs of the container with healthcheck

mhdzumair commented 4 months ago

Have you also removed mongodb container definition?

Could you past some logs here?

SainiAnmol commented 4 months ago

log.log

This is the log file when I run docker compose

mhdzumair commented 4 months ago

No default database name defined or provided.

Ohh boy, you missed to mention “database name”. Add /MediaFusion at the end of the MONGO_URI.

Thanks for bringing this. I'll update the documentation.

SainiAnmol commented 4 months ago

I added that and still the same error. Can it be anything else?

mhdzumair commented 4 months ago

Connect me through the tg. I suspect your MONGO_URI has the issue.

SainiAnmol commented 4 months ago

Sure.