Skip to content
Back

Anyone got 1.6.x working self hosted with self hosted docker?

  • 0
  • Self Hosted
Ben L
17 Feb, 2025, 01:04

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:

TypeScript
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
TL;DR
Developers are having trouble getting Appwrite 1.6.x to work with self-hosted Docker. Some are experiencing issues with the appwrite service not connecting to the database, leading to crashes. A developer on Coolify confirmed running 1.6.0 without issues. The provided Docker config is not resolving the problem. The error lies in the appwrite service logs with a failure to connect to the database due to a redis issue. No clear solution was provided in the thread.
ideclon
17 Feb, 2025, 01:42

Can confirm I’m successfully running 1.6.0, and have been doing so for months

ideclon
17 Feb, 2025, 01:42

Oh, wait - you’re on Coolify?

Ben L
17 Feb, 2025, 01:58

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.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more