Skip to content
Back

Broken Appwrite can’t make functions nor custom domain in settings

  • 0
  • 2
  • Self Hosted
  • Functions
  • Databases
𝔸𝕍𝕨𝕒𝕧𝕖𝟘𝟟 ✨
9 Jan, 2026, 17:58

Hii guys, I was having this issue with my locally hosted Appwrite, I can’t create functions ( both template and manual), I can’t make a custom domain ( like in the Appwrite settings and yes my env file config is all correct) not matter what I do it fails with these errors: Function create errors: “ Server Error” and with inspect it was something with 500 error, then for domain it’s This domain name is not allowed please use a different domain. It’s hosted on Hetzner Appwrite 1.7.4. Please help as my product will not work without it

TL;DR
Appwrite app encountering errors related to domain names and document structure. User reinstalled Appwrite after realizing corrupted migration. Reinstalling without any data resolved the issues.
9 Jan, 2026, 21:23

Have you looked at the docs?

docker compose logs -f

appwrite | [Error] Message: This domain name is not allowed. Please use a different domain. appwrite | [Error] File: /usr/src/code/src/Appwrite/Platform/Modules/Proxy/Http/Rules/API/Create.php appwrite | [Error] Line: 102 appwrite | [Error] Timestamp: 2026-01-09T22:09:07+00:00 appwrite | [Error] Method: POST appwrite | [Error] URL: /v1/functions appwrite | [Error] Type: Utopia\Database\Exception\Structure appwrite | [Error] Message: Invalid document structure: Unknown attribute: "deploymentId" appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php appwrite | [Error] Line: 3653 appwrite | [Error] Timestamp: 2026-01-09T22:09:16+00:00 appwrite | [Error] Method: appwrite | [Error] URL: /.env appwrite | [Error] Type: Appwrite\Extend\Exception appwrite | [Error] Message: Route not found. Please ensure the endpoint is configured correctly and that the API route is valid for this SDK version. Refer to the API docs for more details. appwrite | [Error] File: /usr/src/code/app/controllers/general.php appwrite | [Error] Line: 1583

Here

I think its my database isnt migrated and its corrupted

appwrite | └── Skip: metadata table already exists appwrite | [Setup] - Server database init completed... appwrite | Server started successfully (max payload is 12,582,912 bytes) appwrite | Master pid 1, manager pid 7 appwrite | Sync domains tick: 1 domains were updated appwrite | [Error] Timestamp: 2026-01-09T22:12:02+00:00 appwrite | [Error] Method: POST appwrite | [Error] URL: /v1/proxy/rules/api appwrite | [Error] Type: Appwrite\Extend\Exception appwrite | [Error] Message: This domain name is not allowed. Please use a different domain. appwrite | [Error] File: /usr/src/code/src/Appwrite/Platform/Modules/Proxy/Http/Rules/API/Create.php appwrite | [Error] Line: 102 appwrite | [Error] Timestamp: 2026-01-09T22:12:24+00:00 appwrite | [Error] Method: POST appwrite | [Error] URL: /v1/functions appwrite | [Error] Type: Utopia\Database\Exception\Structure appwrite | [Error] Message: Invalid document structure: Unknown attribute: "deploymentId" appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php appwrite | [Error] Line: 3653

appwrite | Sync domains tick: 1 domains were updated appwrite | 78.46.200.207 is not a publicly accessible domain. Skipping SSL certificate generation. appwrite | [Error] Timestamp: 2026-01-09T22:21:15+00:00 appwrite | [Error] Method: appwrite | [Error] URL: /metrics appwrite | [Error] Type: Appwrite\Extend\Exception appwrite | [Error] Message: Route not found. Please ensure the endpoint is configured correctly and that the API route is valid for this SDK version. Refer to the API docs for more details. appwrite | [Error] File: /usr/src/code/app/controllers/general.php appwrite | [Error] Line: 1626 appwrite | localhost is not a publicly accessible domain. Skipping SSL certificate generation. appwrite | [Error] Timestamp: 2026-01-09T22:21:21+00:00 appwrite | [Error] Method: appwrite | [Error] URL: /v1/health/status appwrite | [Error] Type: Appwrite\Extend\Exception appwrite | [Error] Message: Route not found. Please ensure the endpoint is configured correctly and that the API route is valid for this SDK version. Refer to the API docs for more details.s. appwrite | [Error] File: /usr/src/code/app/controllers/general.php appwrite | [Error] Line: 1626 appwrite | [Error] Timestamp: 2026-01-09T22:25:52+00:00 appwrite | [Error] Method: POST appwrite | [Error] URL: /v1/proxy/rules/api appwrite | [Error] Type: Appwrite\Extend\Exception appwrite | [Error] Message: This domain name is not allowed. Please use a different domain. appwrite | [Error] File: /usr/src/code/src/Appwrite/Platform/Modules/Proxy/Http/Rules/API/Create.php appwrite | [Error] Line: 89

This is when I now updated to 1.8.0

I found out that my mariadb did not even have good naming systems in it so appwrite cant like read it

I simply deleted my appwrtie and reinstalled with no data

9 Jan, 2026, 23:46

migration corrupted

9 Jan, 2026, 23:46

do a backup

Yep that was the case, everything is working smoothly now, lucky I had no data on it so I deleted Appwrite and reinstalled

Thanks for your support

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