Broken Appwrite can’t make functions nor custom domain in settings
- 0
- 2
- Self Hosted
- Functions
- Databases
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
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
migration corrupted
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
Recommended threads
- How to update from 1.8.1 to 1.9.6
Due to the number of issues reported in version 1.9.5, I am hesitant to proceed with the update. Could anyone advise if version 1.9.6 is stable and resolves tho...
- [1.9.5] Google OAuth do not work anymore
After migrating to 1.8.1 to 1.9.0 then 1.9.5 and login through Google I get on Flutter app "Missing redirect URL" "Your OAuth login flow is missing a proper re...
- Fatal error: Allowed memory size of 5368...
Hi how solved it worker-messaging infinite reload ` Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 28672 bytes) in /usr/src/co...