[SOLVED] SELF HOSTING ISSUE, DATA NOT MIGRATING TO SELFHOSTED INSTANCE
- 0
- Resolved
- 3
- Self Hosted
- Databases
- Storage
- Cloud
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred attached are the screenshots of the errors i get, any form of help is highly appreciated
what are hthe logs?
Here they are Migration details
Logs { "$id": "***************", "$createdAt": "2026-01-05T13:52:35.453+00:00", "$updatedAt": "2026-01-05T14:04:37.488+00:00", "status": "processing", "stage": "migrating", "source": "Appwrite", "destination": "Appwrite", "resources": [ "user", "team", "membership", "database", "table", "column", "row", "function", "environment-variable", "deployment", "bucket", "file" ], "resourceId": "", "statusCounters": { "user": { "pending": 0, "success": 8, "error": 0, "skip": 0, "processing": 0, "warning": 0 }, "database": { "pending": 0, "success": 1, "error": 0, "skip": 0, "processing": 0, "warning": 0 }, "table": { "pending": 0, "success": 8, "error": 0, "skip": 0, "processing": 0, "warning": 0 }, "column": { "pending": 0, "success": 41, "error": 0, "skip": 0, "processing": 0, "warning": 0 }, "row": { "pending": 0, "success": 392, "error": 1, "skip": 0, "processing": 0, "warning": 0 }, "bucket": { "pending": 0, "success": 0, "error": 1, "skip": 0, "processing": 0, "warning": 0 }, "file": { "pending": 8, "success": 0, "error": 206, "skip": 0, "processing": 0, "warning": 0 } }, "resourceData": [], "errors": [] }
are you using the same appwrite version? as example 1.8.1?
the self hosted instance is on version 1.8.0 how do i check for the cloud
I managed to successfully upgrade to the new version which is the same as the cloud, its new issues now
I think the issue is now on the local storage, though i've not figured out where.
what does this imply, "Storage bucket with the The requested Id could not be found "
here are the logs Migration details
Details Logs { "$id": "***************", "$createdAt": "2026-01-21T06:38:18.057+00:00", "$updatedAt": "2026-01-21T06:44:23.033+00:00", "status": "processing", "stage": "migrating", "source": "Appwrite", "destination": "Appwrite", "resources": [ "user", "team", "membership", "database", "table", "column", "row", "function", "environment-variable", "deployment", "bucket", "file" ], "resourceId": "", "statusCounters": { "user": { "pending": 0, "success": 8, "error": 0, "skip": 0, "processing": 0, "warning": 0 }, "database": { "pending": 0, "success": 1, "error": 0, "skip": 0, "processing": 0, "warning": 0 }, "table": { "pending": 0, "success": 8, "error": 0, "skip": 0, "processing": 0, "warning": 0 }, "column": { "pending": 0, "success": 41, "error": 0, "skip": 0, "processing": 0, "warning": 0 }, "row": { "pending": 0, "success": 416, "error": 1, "skip": 0, "processing": 0, "warning": 0 }, "bucket": { "pending": 0, "success": 0, "error": 1, "skip": 0, "processing": 0, "warning": 0 }, "file": { "pending": 20, "success": 0, "error": 206, "skip": 0, "processing": 0, "warning": 0 } }, "resourceData": [], "errors": [], "options": [] }
"Storage bucket with the The requested Id could not be found " = the bucket wasn't created, hence the files failed to get created. are you mounting your storage path? or using binding? what is your docker-compose config?
After the struggle im now good, the migration was a success, The very first problem i had was the mismatching versions of the cloud and the local instance i was helped by the appwrite support team this is what he gave me
"Based on the logs you shared in the discord thread looks like a few items failed to migrate. Most look to be successful.
Big one that sticks out is files, depending on your version there may be some conflicts. I recommend ensuring that your self hosted instance is on 1.8.1 which is what Cloud is currently on. You can find docs on how to upgrade here: https://appwrite.io/docs/advanced/self-hosting/production/updates"
The second issue was in my tables which was:
"errors": [ { "code": 0, "message": "Invalid document structure: Missing required attribute isAdmin", "resourceName": "row", "resourceGroup": "databases", "resourceId": "" }, { "code": 400, "message": "Invalid maximumFileSize param: Value must be a valid range between 1 and 30,000,000", "resourceName": "bucket", "resourceGroup": "storage", "resourceId": "***" }
after fixing these i was good to go.
Other than the tables and the schema the main issue was the mismatching versions of the two instances.
Thanks for your help and time
[SOLVED] SELF HOSTING ISSUE, DATA NOT MIGRATING TO SELFHOSTED INSTANCE
Recommended threads
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...