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
- SSL certificate generation failed even t...
Hello, I have an Appwrite Site for which I added a custom domain. However, even though the domain is verified, the SSL certificate generation is failing. It is ...
- [Self-hosted] Realtime crashes with "Mis...
- How to use Operator.arrayAppend on a rel...
Hi, is it possible to use any operator on a relationship column? I have a One to Many relationship column on a table and I would like to add entries to the colu...