Hi, i am trying to migrate from one self hosted instance (1.7.4) to another one (1.7.4) via the migration tool. I've tried repeatly, but it won't import all documents. Even when trying multiple times. The migration will "succeed", show no errors but won't import all documents.
TypeScript
"$id": "68ea7895a5233490f2e4",
"$createdAt": "2025-10-11T15:32:37.677+00:00",
"$updatedAt": "2025-10-11T15:32:44.191+00:00",
"status": "completed",
"stage": "finished",
"source": "Appwrite",
"destination": "Appwrite",
"resources": [
"user",
"team",
"membership",
"database",
"collection",
"attribute",
"index",
"document",
"function",
"environment-variable",
"deployment",
"bucket",
"file"
],
"resourceId": "",
"statusCounters": {
"user": {
"pending": 0,
"success": 1,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"team": {
"pending": 0,
"success": 2,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"membership": {
"pending": 0,
"success": 1,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"database": {
"pending": 0,
"success": 5,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"collection": {
"pending": 8,
"success": 3,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"attribute": {
"pending": 17,
"success": 29,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"index": {
"pending": 1,
"success": 0,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"document": {
"pending": 738,
"success": 2,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"function": {
"pending": 0,
"success": 7,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"environment-variable": {
"pending": 0,
"success": 5,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"deployment": {
"pending": 0,
"success": 7,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
}
},
"resourceData": [],
"errors": []
}```
is the log-output. There should be > 700 documents.
has anyone experienced this and knows how to address this? This is a breaking bug which prevents the moving of projects from one to another server.
TL;DR
Developers are experiencing an issue where the migration tool is not importing all documents when moving from one self-hosted instance to another. The process shows no errors but only imports a few documents. This is a critical bug hindering project transfers.
Solution: The issue lies in the migration tool not handling documents correctly. A workaround would be exporting documents separately and then importing them manually. This ensures all documents are successfully transferred.Recommended threads
- copilot CLI appwrite mcp
I am having difficulty entering the appwrite cli details in github copilot cli. anyone know what to put where?
- Error: Trying to install appwrite on sub...
``` [Error] Method: POST appwrite | [Error] URL: /v1/account appwrite | [Error] Type: Appwrite\Extend\Exce...
- JavaScript heap out of memory during bui...
I am running into heap out of memory when I am trying to build an Appwrite site. Usually this can be fixed by modifying the `max-old-space-size` configuration, ...