Skip to content
Back

Redis exception after failed upgrade

  • 0
  • Self Hosted
  • General
GamingForLiveYT
1 Apr, 2026, 21:01

After attempting an Update from 1.8.1 to 1.9.0 where i accidentally typed 1.8.0 I've encountered multiple issues with my appwrite instance all of which resulting in it not starting.

I have tried various combinations of running the migration to 1.8.0 1.8.1 and 1.9.0 in various orders in an attempt to make it work again.

My last attempt involved using my backup of the volumes and mariadb dump to restore it into a new install that resulted in an Stack trace error

Due to a major oversight on my part i unfortunately do not have a backup of the vm which truly sucks :pain5:

After starting appwrite by using docker compose up -d i see the login screen but when trying to log in it just "loads" for quiet some time and them basically timing out in a 502 bad gateway. Ive attatched the one error i get over and over again in the docker compose logs below

TypeScript
appwrite-worker-webhooks            | Stack trace:
appwrite-worker-webhooks            | #0 /usr/src/code/vendor/utopia-php/queue/src/Queue/Connection/Redis.php(180): Redis->connect('redis', 6379)
appwrite-worker-webhooks            | #1 /usr/src/code/vendor/utopia-php/queue/src/Queue/Connection/Redis.php(76): Utopia\Queue\Connection\Redis->getRedis()
appwrite-worker-webhooks            | #2 /usr/src/code/vendor/utopia-php/queue/src/Queue/Connection/Redis.php(65): Utopia\Queue\Connection\Redis->rightPop('utopia-queue.qu...', 5)
appwrite-worker-webhooks            | #3 /usr/src/code/vendor/utopia-php/queue/src/Queue/Broker/Redis.php(25): Utopia\Queue\Connection\Redis->rightPopArray('utopia-queue.qu...', 5)
appwrite-worker-webhooks            | #4 /usr/src/code/vendor/utopia-php/queue/src/Queue/Server.php(220): Utopia\Queue\Broker\Redis->consume(Object(Utopia\Queue\Queue), Object(Closure), Object(Closure), Object(Closure))
appwrite-worker-webhooks            | #5 [internal function]: Utopia\Queue\Server->Utopia\Queue\{closure}('0')
appwrite-worker-webhooks            | #6 /usr/src/code/vendor/utopia-php/queue/src/Queue/Adapter/Swoole.php(44): call_user_func(Object(Closure), '0')
appwrite-worker-webhooks            | #7 [internal function]: Utopia\Queue\Adapter\Swoole->Utopia\Queue\Adapter\{closure}(Object(Swoole\Process\Pool), '0')
appwrite-worker-webhooks            | #8 {main}
appwrite-worker-webhooks            |   thrown in /usr/src/code/vendor/utopia-php/queue/src/Queue/Connection/Redis.php on line 180
appwrite-worker-webhooks            | [Worker] Worker 0 is ready!
appwrite-worker-webhooks            | Worker webhooks  started```
TL;DR
Developers encountered RedisException after a failed upgrade from 1.8.1 to 1.9.0 in an Appwrite instance. They tried running various migrations but had issues starting the app. After restoring from backup, they still faced a "DNS Lookup resolve failed" error in the logs. Solution: Check the Redis connection settings and ensure they are correctly configured with the correct host and port.
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