Skip to content
Back

Error in Migration to Cloud for Databases

  • 0
  • Self Hosted
  • Databases
  • Cloud
flo<3ler
9 Sep, 2025, 13:32

We were using Appwrite self-hosted (old version, 1.5.10) for some time but made the switch to Cloud now and want to migrate our data over.

Since the version jump is quite big, I was not expecting everything to go smoothly and wanted to ask you for help. It seem that I need to manually create the $createdAt attribute before migrating? This is the migration output:

{ "code": 0, "message": "Invalid document structure: Missing required attribute \"$createdAt\"" },

But also for some other attributes that are normal Integers (e.g. duration) and should be moved over without a problem i get an unknown attribute. This me be a downstream error tho.

{ "code": 0, "message": "Invalid document structure: Unknown attribute: \"duration\"" },

I attached a screenshot from the console of my project with Appwrite version 1.5.10. I was not involved in our local setup, so I can only really judge the output of the Migrations command.

TL;DR
Issue with migrating database to Cloud from Appwrite self-hosted version 1.5.10. Error indicates missing required attribute `$createdAt` and unknown attributes like "duration." Check during migration if `$createdAt` needs to be manually created. Review downstream issues for potential cause.
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