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
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...