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
- appwrite 1.7.0 Failed to fetch
We recently upgraded our Appwrite installation from version 1.6.2 to 1.7.0, and since the upgrade, we are unable to log in to the Appwrite console. The login at...
- Attribute already exists in schema
I created an attribute, deleted it and now I can't create it again. It says "Failed" and "Attribute already exists in schema". ```json { "27": { "ke...
- Decentralisation
I had queries regarding decentralisation with self hosting, particularly with sites as a recent addition. Can we decentralise sites as in many cases we would li...
