Back

Migration during update to 1.5.2 fails

  • 0
  • Self Hosted
ericswpark
10 Mar, 2024, 05:44

Here's the output of running docker compose exec appwrite migrate:

TypeScript
Migrating Project: Appwrite (console)
Migrating Collections
Migrating Collection "projects"
'oAuthProviders' from projects: Attribute not found
Migrating Collection "schedules"
Migrating Collection "platforms"
Migrating Collection "keys"
Migrating Collection "webhooks"
'enabled' from webhooks: Attribute already exists
'logs' from webhooks: Attribute already exists
'attempts' from webhooks: Attribute already exists
Migrating Collection "certificates"
Migrating Collection "realtime"
Migrating Collection "rules"
Migrating Collection "installations"
Migrating Collection "repositories"
Migrating Collection "vcsComments"
Migrating Collection "vcsCommentLocks"
Migrating Collection "cache"
'resourceType' from cache: Attribute already exists
'mimeType' from cache: Attribute already exists
Migrating Collection "users"
Failed to update project ("console") version with error: Attribute not found
Attribute not found

The server was previously running 1.4.13. Any help would be appreciated!

TL;DR
Migration during server update to version 1.5.2 failed due to missing attributes. The error "Attribute not found" is preventing the update. This issue is likely related to changes in the data structure between versions. Developers should review the migration scripts and database schema changes introduced in version 1.5.2 to identify and address the missing attributes during the migration process.
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