
After installing appwrite, when i go to the localhost/login
it gives me Bad Gateway, when i try to trace the logs i see that it doesn't connect to the database, so how do i fix this:


did you ever have another instance of appwrite installed?

Yes, I attempted to install it previously; however, my machine encountered difficulties and became unresponsive. Consequently, I uninstalled Docker. Therefore, I am uncertain whether I properly removed it or if it was ever successfully installed initially. So i think this is my first go running it locally!

you may still have the old installation. if you're okay with wiping the data, you can run:
docker compose down -v
Then start up the stack with:
docker compose up -d

rn i don't even have docker-compose.yml
to run those commands, someone here told me to reinstall it, and it didn't work, so here i am? trying to start it from scratch with you

how did you get this?

oh...you tried just running the appwrite image?

yes ig

im brand new with this so forgive me if im doing smth stupid

that doesn't work. Appwrite needs 20 or so containers to run. Please follow the docs: https://appwrite.io/docs/advanced/self-hosting#install-with-docker

I followed it but i skipped this part : `Next steps Self-hosting Appwrite gives you more configurable options. Make these configurations to unlock the full power of Appwrite.
Configure Appwrite Functions
Configure email delivery
Configure SMS delivery
Configure Appwrite Storage
Configure TLS Certificates`
is that the problem?

did you run the command?

yes, it takes some times but yes i did before

so you had an installation before. what happened to it?

right now i uninstalled it since its not working, but i do install it atm

also i tried to pull the latest version directly form docker GUI, but it gaves me the same error

again, you can't do this. it won't work

so you just executed the command now and you're waiting for it to finish?

yes once its done i will update you
Recommended threads
- Latest console still using documents and...
Hello on my self hosted instance, i am using ``appwrite:1.7.4`` and ``console:6.0.13`` I create a new project and database but for some reason not using the n...
- Issues with migration from cloud to loca...
Hello, I have been trying to migrate my cloud data to local for testing purposes, but the menu for creating migration seems to be broken. Any suggestions for th...
- File upload/creation error on console an...
Hi, I'm on a fresh install of appwrite latest version 1.7.4 (self-hosted) Everything work great except for file creation on buckets, which always fail with gene...
