It shouldn't as long as the folder is still named the same. And then you ran the upgrade command while in the api folder, right?
yes
And that created new docker-compose.yml files and it has Appwrite 1.4.3 in there?
Does the new .env file look okay?
The files including .env and docker-compose.yml were moved from the old directory. Not created newly.
How do I confirm it?
Huh? I don't understand
I mean the files were updated form the old version.
The version of appwrite is 1.4.3 now
And the .env file looks okay?
Yes. Its content is almost the same as my local one.
Nice. So what exactly happened when you ran the migrate command?
logs here.
You didn't run down with -v did you?
What are the docker logs from the appwrite container?
How many times did you run the migrate command?
Sorry, I forgot it. I run it with -v very likely.
2
Many errors like this.
appwrite | [Error] Timestamp: 2023-09-23T04:55:38+00:00
appwrite | [Error] Method: GET
appwrite | [Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
appwrite | [Error] Type: Appwrite\Extend\Exception
appwrite | [Error] Message: Project with the requested ID could not be found. Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used.
appwrite | [Error] File: /usr/src/code/app/controllers/general.php
appwrite | [Error] Line: 294appwrite | [Error] Timestamp: 2023-09-23T04:55:38+00:00
appwrite | [Error] Method: GET
appwrite | [Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
appwrite | [Error] Type: Appwrite\Extend\Exception
appwrite | [Error] Message: Project with the requested ID could not be found. Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used.
appwrite | [Error] File: /usr/src/code/app/controllers/general.php
appwrite | [Error] Line: 294
So has all my data been lost?
-v deletes all your data π
π’
Recommended threads
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Appwrite exception: user_unauthorized, t...
After refreshing the app it is working perfectly