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
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...
- local build `composer installer:dev` iss...
setup - dev container (default linux universal) WSL (test with gh codespace too) - php 8.5.7 - all extensions installed - `composer install` fine - `composer...
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...