Skip to content
Back

1.7.0 Self Hosted Upgrade

  • 0
  • Self Hosted
AJiffyBoogle
5 Jul, 2025, 11:43

Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2.

1.6.2 is working fine fresh, update to 1.7.0 and migrate fails

Fresh install of 1.7.0 fails.

I'm getting this error:

[Error] Timestamp: 2025-07-05T11:40:18+00:00 [Error] Method: GET [Error] URL: /v1/console/variables [Error] Type: TypeError [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 [Error] Timestamp: 2025-07-05T11:40:20+00:00 [Error] Method: GET [Error] URL: /v1/console/variables [Error] Type: TypeError [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

I am assuming I am missing some sort of env variable from 1.6.2 to 1.7.0 but I am struggling to find any docs with what's changed?

Anyone point me in the right direction please

TL;DR
Fresh install of 1.7.0 and upgrade from 1.6.2 result in a migration error, with a Type Error related to the Domain constructor. The issue might be due to missing environment variables from the previous version. Check documentation for changes between versions for potential solutions.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more