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
what would the image need to be?
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
or is that the appwrite/appwrite:1.4.1
adding it in now
do i need to run migrate after adding it?
nope. just docker compose up -d to start the container
that fixed it, it's running now. though its still having issues,
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```
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
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?
Nope, they are same endpoint, different projects.
Can you create an issue for this?
Sure. I'm going to retry first make sure I didn't do something dumb
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?
added
Is this a local server? Or production?
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
Ah, didn't see that. Okay, I'll redact and repost a bit later
Upgraded to 1.4.2 Getting the same error when trying to migrate
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
Recommended threads
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- ISO help
I’m writing a project specification paper. Please let me know if anyone has ISO/IEC/IEEE 29148:2018 — Requirements Engineering, or if someone can check the docu...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?