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
- I can't access my appwrite using my doma...
but if I use IP it is work
- Error importing data after server migrat...
Hello, I recently purchased a new web server and when trying to migrate my data from the old server to the new (both self-hosted instances of appwrite on coolif...
- Failed to connect to exc1 on deploy
Hi, i just came across this yesterday and it worked like a charm on selfhosting on my personal windows machine because im testing everything. But now, on Appwri...
