Skip to content
Back

Migration from Selfhosted to Selfhosted-instance skipps documents

  • 0
  • Self Hosted
  • Tools
Timo
11 Oct, 2025, 15:38

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 migrating from one self-hosted instance to another are facing an issue where not all documents are imported despite the migration appearing successful. The log output indicates the expected number of documents is not being imported. This bug is preventing the moving of projects between servers. This issue needs to be investigated further by checking for any errors or warnings during the migration process and ensuring all documents are properly transferred.
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