#[SOLVED] Issue during migration from 1.5.7 to 1.5.8

5 messages · Page 1 of 1 (latest)

royal kettle
#

I am upgrading my 1.5.5 instance to get it up to speed. I managed to migrate through 1.5.6 and 1.5.7, however, the migration to 1.5.8 threw this error when I ran ~/drive/appwrite $ docker compose exec appwrite migrate
I got the below error:

Fatal error: Uncaught Swoole\Error: API must be called in the coroutine in /usr/src/code/src/Appwrite/Platform/Tasks/Migrate.php:70
Stack trace:
#0 /usr/src/code/src/Appwrite/Platform/Tasks/Migrate.php(70): Redis->connect('redis', '6379', 3, NULL, 10)
#1 /usr/src/code/src/Appwrite/Platform/Tasks/Migrate.php(36): Appwrite\Platform\Tasks\Migrate->action('1.5.8', Object(Utopia\Database\Database), Object(Closure), Object(Utopia\Registry\Registry))
#2 /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php(320): Appwrite\Platform\Tasks\Migrate->Appwrite\Platform\Tasks\{closure}('1.5.8', Object(Utopia\Database\Database), Object(Closure), Object(Utopia\Registry\Registry))
#3 /usr/src/code/app/cli.php(215): Utopia\CLI\CLI->run()
#4 {main}
  thrown in /usr/src/code/src/Appwrite/Platform/Tasks/Migrate.php on line 70

Is this something from my end, because it looks like an internal error.

Running docker ps | grep appwrite/appwrite shows 1.5.8 across the board. However, my web UI is borked.

marble patrol
#

skip 1.5.8 and 1.5.9 altogether and go straight to 1.5.10

royal kettle
#

ok, will try that

#

phew, that worked. Cheers!

untold prairie