Back

appwrite 1.5.4 upgrade error

  • 0
  • Self Hosted
rohan
30 Apr, 2024, 18:47

Hi, i was trying to upgrade from 1.5.3 to 1.5.4 and I'm getting this error on the migration

TypeScript
Fatal error: Uncaught Utopia\Database\Exception\Query: Invalid query: Invalid cu                                                                                        rsor: UID must contain at most 36 chars. Valid chars are a-z, A-Z, 0-9, and unde                                                                                        rscore. Can't start with a leading underscore in /usr/src/code/vendor/utopia-php                                                                                        /database/src/Database/Database.php:4694
Stack trace:
#0 /usr/src/code/src/Appwrite/Migration/Migration.php(221): Utopia\Database\Data                                                                                        base->find(Object(Utopia\Database\Document), Array)
#1 /usr/src/code/src/Appwrite/Migration/Migration.php(171): Appwrite\Migration\M                                                                                        igration->documentsIterator('cache')
#2 [internal function]: Appwrite\Migration\Migration->Appwrite\Migration\{closur                                                                                        e}(Array, Array)
#3 {main}
  thrown in /usr/src/code/vendor/utopia-php/database/src/Database/Database.php o                                                                                        n line 4694

TL;DR
Developers encountered an error when trying to upgrade appwrite from version 1.5.3 to 1.5.4 due to an invalid cursor error. A suggestion was made to directly migrate to version 1.5.5 instead.
D5
30 Apr, 2024, 18:56

You could try migrating directly to 1.5.5

rohan
30 Apr, 2024, 18:56

still the same error

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