Skip to content
Back

Database issues after update from 1.7.2 to 1.8.0

  • 0
  • Self Hosted
mint1G
27 Nov, 2025, 12:36

I just updated my appwrite installation to 1.8.0. The install script went over without any issues and said installed successfully. But this is what the docker logs look like:

:~/appwrite$ sudo docker logs appwrite Worker 25 started successfully Worker 1 started successfully Worker 2 started successfully Worker 3 started successfully Worker 4 started successfully Worker 5 started successfully Worker 7 started successfully Worker 8 started successfully Worker 6 started successfully Worker 9 started successfully Worker 10 started successfully Worker 11 started successfully Worker 12 started successfully Worker 13 started successfully Worker 14 started successfully Worker 15 started successfully Worker 16 started successfully Worker 17 started successfully Worker 18 started successfully Worker 19 started successfully Worker 20 started successfully Worker 22 started successfully Worker 24 started successfully Worker 21 started successfully Worker 23 started successfully └── 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)...

Fatal error: Uncaught Exception: └── Failed to connect to database: Failed to create connection: SQLSTATE[HY000] [2002] Connection refused in /usr/src/code/app/http.php:191 Stack trace: #0 /usr/src/code/app/http.php(259): createDatabase(Object(Utopia\App), 'getLogsDB', 'logs', Array, Object(Utopia\Pools\Group)) #1 [internal function]: {closure}() #2 {main} thrown in /usr/src/code/app/http.php on line 191 └── Database not ready. Retrying connection (10)...

TL;DR
After updating to 1.8.0, the database is not connecting, causing a fatal error due to a failed connection to the database. **Solution:** The issue could be due to a database connection error. Check the database credentials in the configuration file and ensure they are correct. Additionally, ensure the database server is up and running. Remember to restart the Appwrite server after verifying the database settings.
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