I'm having huge issues upgrading to 1.6.x - is this supposed to be working or is 1.6 still broken for self hosting?
I have the following issue when coming from 1.5.10 but unable to resolve using the provided docker config. https://github.com/coollabsio/coolify/issues/4224
appwrite service cannot connect to the db in the logs, and crashes out.
From appwrite service logs:
Database not ready. Retrying connection (1)...
Database not ready. Retrying connection (2)...
Database not ready. Retrying connection (3)...
Database not ready. Retrying connection (4)...
Database not ready. Retrying connection (5)...
Database not ready. Retrying connection (6)...
Database not ready. Retrying connection (7)...
Database not ready. Retrying connection (8)...
Database not ready. Retrying connection (9)...
Database not ready. Retrying connection (10)...
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
[2025-02-17 00:56:19 #1.8] 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
Can confirm I’m successfully running 1.6.0, and have been doing so for months
Oh, wait - you’re on Coolify?
Not on Coolify, just found I got a same error as they did - and they have a docker config provided, but that doesn't seem to work for me (the appwrite instance doesn't connect to the db).
Does Appwrite provide any standard configs that I can just use? Changing the 1.5.10 version I have to 1.6.0 etc just doesn't work.
Recommended threads
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...