your compose is missing it because we missed adding it 😅
Here's what you would need to add: https://github.com/appwrite/appwrite/pull/6116/files
Votes
0
Replies
24
Participants
4
Messages
25
your compose is missing it because we missed adding it 😅
Here's what you would need to add: https://github.com/appwrite/appwrite/pull/6116/files
Rank 3: Container
what would the image need to be?
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
Rank 3: Container
or is that the appwrite/appwrite:1.4.1
Rank 3: Container
adding it in now
Rank 3: Container
do i need to run migrate after adding it?
nope. just docker compose up -d to start the container
Rank 3: Container
that fixed it, it's running now. though its still having issues,
Rank 3: Container
memberships failed to migrate:
[Error] URL: /v1/teams/:teamId/memberships[Error] Type: Utopia\Exception[Error] Message: Invalid `url` param: URL host must be one of: localhost, appwrite[Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php[Error] Line: 742```Rank 3: Container
and looks like it is trying to do a firebase migration to migrate my appwrite dbs?
[Error] Timestamp: 2023-09-03T00:42:52+00:00
[Error] Method: GET
[Error] URL: /v1/migrations/firebase/projects
[Error] Type: Appwrite\Extend\Exception
[Error] Message: The identity could not be found. Please sign in with OAuth provider to create identity first.
[Error] File: /usr/src/code/app/controllers/api/migrations.php
[Error] Line: 763
Rank 3: Container
though, so far, looks like the dbs are migrating, only the memberships has failes so far
is this maybe an api call made just because you navigated to some page on the console?
did you have different domains in your different instances?
Rank 3: Container
Nope, they are same endpoint, different projects.
Can you create an issue for this?
Rank 3: Container
Sure. I'm going to retry first make sure I didn't do something dumb
Rank 3: Container
Issue created: https://github.com/appwrite/appwrite/issues/6130
I fixed some of the formatting. Would you please also grab the logs from the migration container?
Rank 3: Container
added
Is this a local server? Or production?
Rank 3: Container
Prod
There are some secrets and keys in the logs you might want to delete the comment and repost it with the secrets and keys redacted
Rank 3: Container
Ah, didn't see that. Okay, I'll redact and repost a bit later
Rank 3: Container
Upgraded to 1.4.2
Getting the same error when trying to migrate
Rank 3: Container
Error in migrations:
Unknown attribute type: datetime#0 /usr/src/code/vendor/utopia-php/migration/src/Migration/Sources/Appwrite.php(783): Utopia\Migration\Sources\Appwrite->convertAttribute(Array, Object(Utopia\Migration\Resources\Database\Collection))#1 /usr/src/code/vendor/utopia-php/migration/src/Migration/Sources/Appwrite.php(431): Utopia\Migration\Sources\Appwrite->exportAttributes(100)#2 /usr/src/code/vendor/utopia-php/migration/src/Migration/Source.php(76): Utopia\Migration\Sources\Appwrite->exportGroupDatabases(100, Array)#3 /usr/src/code/vendor/utopia-php/migration/src/Migration/Source.php(39): Utopia\Migration\Source->exportResources(Array, 100)#4 /usr/src/code/vendor/utopia-php/migration/src/Migration/Destination.php(37): Utopia\Migration\Source->run(Array, Object(Closure))#5 /usr/src/code/vendor/utopia-php/migration/src/Migration/Transfer.php(147): Utopia\Migration\Destination->run(Array, Object(Closure), Object(Utopia\Migration\Sources\Appwrite))#6 /usr/src/code/app/workers/migrations.php(243): Utopia\Migration\Transfer->run(Array, Object(Closure))#7 /usr/src/code/app/workers/migrations.php(65): MigrationsV1->processMigration()#8 /usr/src/code/src/Appwrite/Resque/Worker.php(125): MigrationsV1->run()#9 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()#10 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()#11 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))#12 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('0.1', false)#13 {main}```Known issue: https://github.com/appwrite/appwrite/issues/6176