Appwrite 1.7.1 "Utopia\Domains\Domain::__construct(): Argument #1 ($domain) must be of type string"
- 0
- Self Hosted
Hi guys, first of all thank you for this wonderful tool and for being open source for everyone, I migrated my appwrite from 1.6.2 to 1.7.1 and it is giving this error in the log of appwrite container.
[Error] Message: Utopia\Domains\Domain::__construct(): Argument #1 ($domain) must be of type string, null given, called in /usr/src/code/app/controllers/api/console.php on line 49
[Error] File: /usr/src/code/vendor/utopia-php/domains/src/Domains/Domain.php
[Error] Line: 66
my console version is 5.3.18, I am using coolify.
Hey @Victor Freitas did you ran the migration command?
Hi @Guille No, I just changed the image version and redeployed, it worked with 1.6.0 to 1.6.2 a while ago
You shuld run docker compose exec appwrite migrate
I am going to try
docker run -it --rm ^
--volume //var/run/docker.sock:/var/run/docker.sock ^
--volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^
--entrypoint="upgrade" ^
appwrite/appwrite:1.7.1
Try first using that command
and then the migration
so all your containers will be updated as well
🫡
Ok
Recommended threads
- Which flutter SDK version for Self Hoste...
Hi all, Is there a good way to figure out which version of flutter SDK and Dart SDK is current for latest available self-hosted 1.8.0 ? I know new features are...
- Bug Report: Crash when trying to createR...
https://github.com/appwrite/sdk-for-android/issues/96 I think the bug is related with this one https://discord.com/channels/564160730845151244/1443887021314539...
- Dokploy docker compose
Hey guys hope y'all doing well, I was wondering if anyone could share a working 1.8.0 docker-compose that works with Dokploy I tried making it but it just does...