Back

Migration from 1.4.14 to 1.5.4 fails

  • 0
  • Self Hosted
  • Databases
Cord
29 Mar, 2024, 17:16

I upgraded a self-hosted Appwrite database from 1.2.1 to 1.5.4 (1.2.1 -> 1.3.8 -> 1.4.13 -> 1.5.4) but got the following error when running the migration after the final upgrade to 1.5.4:

TypeScript
8 / 201
Failed to update project ("6257bd0be1d2c71ac3af") version with error: Invalid query: Query value is invalid for attribute "databaseInternalId"
Invalid query: Query value is invalid for attribute "databaseInternalId"```

`docker ps` results in the attached file. Everything appears to be running except the `appwrite-maintenance` container. I'm not able to access the backend via the web interface because the database has not been migrated. The web interface results in 500 - Internal Error.

Can anyone help?
TL;DR
Developers cannot migrate from Appwrite database 1.4.14 to 1.5.4 due to an error related to updating project version. The `appwrite-maintenance` container is not running, causing a 500 error on the web interface. They should ensure the container is running and attempt the migration again.
Cord
29 Mar, 2024, 17:23

FYI, this is happening in a testing environment. I wanted to run through it from start to finish before tackling the production environment as I cannot afford to take my production environment offline.

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