
Hello, I have aaPanel installed on a VPS. aaPanel has a specific section to manage Docker, and is very easy to install docker images with that.
But when I try to start the container I receive this error message on the console:
`[1;33mDatabase not ready. Retrying connection (9)...[0m
Fatal error: Uncaught Exception: Failed to connect to database: Failed to create connection: php_network_getaddresses: getaddrinfo for redis failed: Name does not resolve in /usr/src/code/app/http.php:84 Stack trace: #0 [internal function]: {closure}() #1 {main} thrown in /usr/src/code/app/http.php on line 84 [2024-11-15 14:21:58 #1.4] ERROR php_swoole_server_rshutdown() (ERRNO 503): Fatal error: Uncaught Exception: Failed to connect to database: Failed to create connection: php_network_getaddresses: getaddrinfo for redis failed: Name does not resolve in /usr/src/code/app/http.php:84 Stack trace: #0 [internal function]: {closure}() #1 {main} thrown in /usr/src/code/app/http.php on line 84 [1;33mDatabase not ready. Retrying connection (10)...[0m [32mWorker 2 started successfully[0m`
Searching I see it has something to do with Redis, and that possibly it could be fixed if I let the official docker command (which includes the interactive setup with -it
), but aaPanel doesn't allow this -it
.
So, maybe I could fix it starting the container defining some ENV variables? If so, which ones should be?
Thank you very much! 🙂

You need to create have a Redis database and MariaDB and connect appwrite to the databases

To connect it to the database, you need to setup the env variables

Remember there are other containers needed such as the executor and workers
Recommended threads
- Properly contained appwrite main app can...
Hello! We tried to reinstall our main self-hosted appwrite with a new method but the main app 2 mins after launch throw this error: ```2025/06/22 16:16:14 s...
- Broken message
https://github.com/appwrite/appwrite/issues/10081 I just realized that I can just build appwrite myself, was this bug fixed in latest dev release?
- 404 errors after 7 Days
Local hosted Appwrite via docker. Last version and current version. After exactly 7 days Appwrite stops working. I get 404 route not found, cannot access anyth...
