Skip to content
Back

Trying to migrate to another self hosted instance

  • 0
  • Self Hosted
jordorama
10 Jan, 2024, 22:06

Im trying to migrate to another self hosted instance but keep getting a domain resolution error.

The migration detects all the data correctly but then after its started it fails.

TypeScript
  "errors": [
    "Could not resolve host: -------"
  ]

Any ideas?

TL;DR
Developer is encountering an error while migrating to another self-hosted instance. The migration detects data correctly but fails with a domain resolution error. The error is "Could not resolve host: -------". Looking for ideas on how to resolve this issue. Solution: Check the connectivity between the server and the container. Make sure the host can be resolved from the server.
jordorama
10 Jan, 2024, 22:21

Worker migrations started [Job] Received Job (659f13397d7ae1.83531245). Could not resolve host: appwrite.---.--- Could not resolve host: appwrite.---.--- #0 /usr/src/code/src/Appwrite/Platform/Workers/Migrations.php(257): Utopia\Migration\Sources\Appwrite->report() #1 /usr/src/code/src/Appwrite/Platform/Workers/Migrations.php(85): Appwrite\Platform\Workers\Migrations->processMigration(Object(Utopia\Database\Document), Object(Utopia\Database\Document)) #2 /usr/src/code/src/Appwrite/Platform/Workers/Migrations.php(49): Appwrite\Platform\Workers\Migrations->action(Object(Utopia\Queue\Message), Object(Utopia\Database\Database), Object(Utopia\Database\Database)) #3 /usr/src/code/vendor/utopia-php/queue/src/Queue/Server.php(248): Appwrite\Platform\Workers\Migrations->Appwrite\Platform\Workersclosure}(Object(Utopia\Queue\Message), Object(Utopia\Database\Database), Object(Utopia\Database\Database)) #4 [internal function]: Utopia\Queue\Server->Utopia\Queueclosure}('0') #5 /usr/src/code/vendor/utopia-php/queue/src/Queue/Adapter/Swoole.php(37): call_user_func(Object(Closure), '0') #6 {main}

Drake
10 Jan, 2024, 22:29

can you connect to that host from the server? or from the container?

ideclon
10 Jan, 2024, 22:36

The migrations doesn’t start until there’s been communication between the two, right?

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