migration throws
Failed to update project ("646f8d89f40b2eaeadcd") version with error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'appwrite._2__metadata' doesn't exist
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'appwrite._2__metadata' doesn't exist
Did you have upgraded previously to 1.3.4 from any version?
no
Correct me if I'm wrong but doesn't the documentation say that you don't need to run the migration tool if you're upgrading from patch to patch versions?
Yes, it's true
@obiwanzenobi Are you receiving this error when running upgrade command?
- Do you know what project that is?
646f8d89f40b2eaeadcd - Do you have any other tables in your database that start with
_2_?
- one of dev env projects - i removed this instance already so I cant check
- all the tables have names with snake_case convention
- Ok so it's an old project that was already deleted?
- Yes, I know all the tables have that convention, but are there any tables that start with
_2_?
- Yes
- I' mean my collections - no there are no collections with
_2_
I' mean my collections - no there are no collections with 2
Sorry, I meant if you connect to your mariadb database and look at the tables in there, are there tables that start with 2?
I believe the current version is 1.3.7 🧐
I think we can close it, I had to reinstall appwrite to get my service back and running so cant tell much more about it
Now 1.3.8
[CLOSED] migration from 1.3.4 to 1.3.8 failed
Recommended threads
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...
- GitHub Student Benefits Not Applied to M...
Hi! I signed up for Appwrite using my GitHub account, and I’m a student with an active GitHub Student Developer Pack. I was expecting the Appwrite educational/...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...