Back

Ive got 80k rows to import into appwrite, migrating from supabase

  • 0
  • Databases
  • Web
mario
2 Sep, 2024, 09:29

How do I import? Using the migration tool built in doesnt work and I have no idea why really. is there a better way than looping through 80k records and just adding them to the table? I tried data-migrator by tannermeade and the flutter app fails to build. someone else has a similar issue and they opened the issue in september of 2023 and got no response.

TL;DR
Developers migrating from Supabase to Appwrite are having issues importing 80k rows, with the Appwrite log only showing processing status. They are not sure how to check for errors or fix issues with the migration tool. One suggestion is to check for recent fixes for Supabase migrations. Another option is to explore alternatives like looping through records or using different migration tools.
D5
2 Sep, 2024, 09:31

What error are you getting with the migration tool?

D5
2 Sep, 2024, 09:32

I think it got some fixes for supabase migrations recently

mario
2 Sep, 2024, 09:35

i dont really know how to check to be honest

mario
2 Sep, 2024, 09:35

can you tell me how to?

mario
2 Sep, 2024, 09:36

its been like 5 hours

mario
2 Sep, 2024, 09:36

and indexes is still processing

mario
2 Sep, 2024, 09:36

and in logs

mario
2 Sep, 2024, 09:36

it just shows the number of errors and stuff

mario
2 Sep, 2024, 09:36

i dont see any errors in the workers-migrations service

D5
2 Sep, 2024, 09:38

What do you have in logs?

D5
2 Sep, 2024, 09:38

Do you can send me your project ID?

mario
2 Sep, 2024, 09:38

nothing particularly useful

TypeScript
{
  "$id": "66d518112de4830d38df",
  "$createdAt": "2024-09-02T01:42:41.188+00:00",
  "$updatedAt": "2024-09-02T04:00:03.415+00:00",
  "status": "processing",
  "stage": "migrating",
  "source": "Supabase",
  "resources": [
    "user",
    "database",
    "collection",
    "attribute",
    "index",
    "document"
  ],
  "statusCounters": {
    "user": {
      "pending": 365,
      "success": 0,
      "error": 100,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "database": {
      "pending": 0,
      "success": 0,
      "error": 1,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "collection": {
      "pending": 0,
      "success": 0,
      "error": 12,
      "skip": 0,
      "processing": 0,
      "warning": 1
    },
    "attribute": {
      "pending": 0,
      "success": 0,
      "error": 95,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "index": {
      "pending": 16,
      "success": 0,
      "error": 0,
      "skip": 0,
      "processing": 0,
      "warning": 0
    },
    "document": {
      "pending": 0,
      "success": 0,
      "error": 20240,
      "skip": 0,
      "processing": 0,
      "warning": 0
    }
  },
  "resourceData": [],
  "errors": []
}```
mario
2 Sep, 2024, 09:38

sure one second

mario
2 Sep, 2024, 09:38

66d4c3b5002c42091dab

mario
2 Sep, 2024, 09:41

these are the logs from appwrite-worker-migrations

mario
2 Sep, 2024, 09:41

nothing

mario
2 Sep, 2024, 09:41

not sure if i set up logging though

mario
2 Sep, 2024, 09:44

its self hosted btw

D5
2 Sep, 2024, 09:50

You're self-hosting, right?

D5
2 Sep, 2024, 09:50

What are the logs for the appwrite main container?

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