Uncaught Utopia\Database\Exception: Missing database. Database must be set before use
- 0
- Self Hosted
I'm having issues with setting up self hosting. It keeps saying that it is missing a database. I used the official docs for the docker-compose to set it up.
.env
_APP_OPTIONS_ABUSE=disabled
_APP_DB_USER=new-user
_APP_DB_PASS=new-password
_APP_DB_ROOT_PASS=new-root-password
To confirm - you ran the command here?
Thats correct. followed every step. I do want to note that running this:
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.5.10
DOEST NOT give me any issues. Only when using docker compose
The docker-compose.yml came from the docs as well
Is there a reason you don’t want to use the automatic installation?
i want to remove the rate limit
I'm not exactly sure how to pass it as an arguement in the automatic installation
Just set _APP_OPTIONS_ABUSE to disabled in the .env
So, as clarification, when I can run the automatic installation command, I should be running it in the same directory as my .env file?
The automatic installation will create a directory wherever you run it called appwrite/. That directory will contain a docker-compose.yml and a .env
Recommended threads
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- Appwrite 1.9.0 doctor fails tho database...
So i was testing in a local environment the upgrade for 1.9.0, and after getting everything into a running state, i checked the logs that shows : ``` └── Cre...