Skip to content
Back

One org lost all data out of 13 org's after migration from 1.7.4 to 1.8.0

  • 0
  • Self Hosted
  • Storage
unsoop
1 Nov, 2025, 20:37

https://<domain>/v1/storage/buckets?queries%5B0%5D=%7B%22method%22%3A%22limit%22%2C%22values%22%3A%5B6%5D%7D&queries%5B1%5D=%7B%22method%22%3A%22offset%22%2C%22values%22%3A%5B0%5D%7D&queries%5B2%5D=%7B%22method%22%3A%22orderDesc%22%2C%22attribute%22%3A%22%22%7D

account prefs:

https://<domain>/v1/account/prefs appwrite container logs: Error] Line: 4896 [Error] Timestamp: 2025-11-01T20:36:47+00:00 [Error] Method: GET [Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents [Error] Type: Utopia\Database\Exception\Structure [Error] Message: Invalid document structure: Missing required attribute "$createdAt" [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php [Error] Line: 4896 [Error] Timestamp: 2025-11-01T20:36:48+00:00 [Error] Method: GET [Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents [Error] Type: Utopia\Database\Exception\Structure [Error] Message: Invalid document structure: Missing required attribute "$createdAt" [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php [Error] Line: 4896

TL;DR
One organization lost all data after migrating from version 1.7.4 to 1.8.0. Error messages in the logs indicate a missing required attribute "$createdAt" causing data loss. Solution involves fixing the document structure in the database to prevent data loss during migration.
unsoop
1 Nov, 2025, 20:38

One org lost all data out of 13 org's after migration from 1.7.4 to 1.8.0

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