Well, the entering the last IP in the browser url input : 213.32.89.115 definetly redirects to the Appwrite login page, I maybe have some kind of screw up in my DNS config ?
I think it should be fine. Have you upgraded to another Appwrite version previously?
yes, just before trying to migrate actually. I was running 1.4.1, tried to deploy to cloud, faced the same problem. So I thougth I could upgrade my installation to see if it could be the root of the problem. Without success. I didn't reboot the server since the upgrade, should I try this ?
just rebooted, tried the migration again, here are the logs (much more concise)
appwrite | Worker 5 started successfully
appwrite | [Setup] - Server database init started...
appwrite | [Setup] - Creating database: appwrite...
appwrite | [Setup] - Server database init completed...
appwrite | Server started successfully (max payload is 6,291,456 bytes)
appwrite | Master pid 1, manager pid 1
appwrite | Worker 1 started successfully
appwrite | [Error] Timestamp: 2023-09-21T20:03:44+00:00
appwrite | [Error] Method: GET
appwrite | [Error] URL: /v1/migrations/firebase/projects
appwrite | [Error] Type: Appwrite\Extend\Exception
appwrite | [Error] Message: The identity could not be found. Please sign in with OAuth provider to create identity first.
appwrite | [Error] File: /usr/src/code/app/controllers/api/migrations.php
appwrite | [Error] Line: 763```
URL: /v1/migrations/firebase/projects
line looks so weird to me, it is not a migration from firebase 🤔
Did you have run migration command?
yes
without any error
my data shows up nicely in my dashboard and my app conected to it runs without any flaw
this what I see when attempting to migrate, the numbers look sound
@IOnic please take a look here 👀
Sincerely sorry to bring up such a crappy problem 😦 If you need anything, do not hesitate, the data here has nothing confidential at all if you need to reproduce or what
No news here I guess?
so what happens when you click create?
Exact same behaviour as before ⬆️ I click create, the buttons gets grey, and after a few seconds it becomes red again. No logs related to this operation when I run docker compose logs appwrite
. Only an error in the browser console (attached screenshot)
Can you clarify the exact steps you're taking?
- I go on my Appwrite instance https://appwrite.kronikle.eu
- I select one my projects and go Settings > Migrations > Deploy to Cloud
- I get redirected to Appwrite with form to choose an exisitng project or create a new one, I choose to create a new one
- I then select to import everything (users, tables, files, etc...)
- I click Create
- and then nothing, Create becomes clickable again, I get a few errors in the console, an empty project is created in Appwrite Cloud
I think you might be running into this bug: https://github.com/appwrite/appwrite/issues/6336
would you please try:
- go to Cloud
- open the empty project you want to migrate into or create a new project
- go to Settings
- go to Migrations
- clikc Import data
- go through the wizard.
It worked perfectly !
Thanks so much I didn't know I could do it this way
[SOLVED] Error when migrating from self-hosted to cloud
I'm still having this problem
Please create a new post and also make sure your selected all scopes in API key section
Actually I think I'm good. For posterity I think both my and the OP's problem can be solved by putting v1 at the end of the url, e.g. https://appwrite.kronikle.eu/v1
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...