#[BUG] The cloud cannot be migrated to self-hosting.

24 messages · Page 1 of 1 (latest)

cloud quiver
#

The cloud cannot be migrated to self-hosting.

The content of this post is exactly the same as issue 11068

I reproduced this error.

Steps to reproduce:

  • Install self-hosted Appwrite 1.8.1 (or 1.8.0).
  • Go to your cloud project.
  • Click "Settings" > "Migration" > "Export to self-hosted instance".
  • Set the "Endpoint Self-Hosted Instance URL".
  • You will be redirected to a new page, and set a new name for the new project you want to create.
  • Click "Next": An error occurs: "Invalid region parameter: Value must be one of the following (default value)".

The migration failed immediately with the following error: "Invalid region parameter: Value must be one of (default)".

When the error occurred, the Appwrite container logged the following:
appwrite | [Error] Method: POST appwrite | [Error] URL: /v1/projects appwrite | [Error] Type: Utopia\Exception appwrite | [Error] Message: Invalid region param: Value must be one of (default) appwrite | [Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php appwrite | [Error] Line: 910

For the migration of existing projects, the following will be displayed:

Couldn’t load resources
The API key required for the migration may no longer be valid or has expired, please verify and start migration again.

I think Appwrite Cloud submitted its own region information, but the self-hosted version only recognizes the default region.

GitHub

👟 Reproduction steps Install Appwrite 1.8.1 (or 1.8.0) self hosted Go to your cloud project Hit Settings > Migrations > Export to self-hosted instance Set the "Endpoint self-hosted insta...

lyric pollen
#

what's the URL you end up on?

#

redact some values

cloud quiver
lyric pollen
lyric pollen
#

so i tried to reproduce, but it worked okay for me

cloud quiver
# lyric pollen so i tried to reproduce, but it worked okay for me

Mine still doesn't work. Creating a new project shows "Invalid region param: Value must be one of (default)," and existing projects show "Couldn’t load resources. The API key required for the migration may no longer be valid or has expired, please verify and start migration again." (Even though I manually created an API key.)

lyric pollen
#

what console version do you have?

cloud quiver
lyric pollen
cloud quiver
#

Let me see really quick

lyric pollen
#

oh weird..mine is 6.0.13

#

mine is outdated

#

nonetheless, can you share the details of the create project api call?

cloud quiver
#

Okay…

#

body:

{"projectId":"69585af0000ad48849cf","name":"T","teamId":"695439a7001bd264f1d4","region":"fra"}
{
    "message": "Invalid `region` param: Value must be one of (default)",
    "code": 400,
    "type": "general_argument_invalid",
    "version": "1.8.1"
}
#