馃憻 Reproduction steps
- Create a function + deployment
- Access the generated domain or a custom domain
- Then this error appears:
This page is empty; activate a deployment to make it live.
deployment_not_found
馃憤 Expected behavior
The activated deployment should be automatically assigned by the corresponding domain
馃憥 Actual Behavior
Whether it's a custom domain or the generated domain, the following error always appears: "This page is empty; activate a deployment to make it live. deployment_not_found"
Creating a new deployment or activating a different deployment does not solve the problem; instead, you must activate the deployment using the following commands - every time:
DB_CONTAINER=$(docker compose ps -q postgresql)
docker exec -it "$DB_CONTAINER" psql -U user -d appwrite -c "UPDATE appwrite._console_rules SET \"deploymentId\" = '<DEPLOYMENT_ID>' WHERE domain = '<FUNCTION_DOMAIN>';"
After that, the deployment works via the corresponding URL.
The same problem also affects sites, as has already been reported here: #13088
馃幉 Appwrite version
Different version (specify in environment)
馃捇 Operating system
Linux
馃П Your Environment
Self-Hosted 2.0
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
馃憻 Reproduction steps
This page is empty; activate a deployment to make it live.
deployment_not_found
馃憤 Expected behavior
The activated deployment should be automatically assigned by the corresponding domain
馃憥 Actual Behavior
Whether it's a custom domain or the generated domain, the following error always appears: "This page is empty; activate a deployment to make it live. deployment_not_found"
Creating a new deployment or activating a different deployment does not solve the problem; instead, you must activate the deployment using the following commands - every time:
DB_CONTAINER=$(docker compose ps -q postgresql)docker exec -it "$DB_CONTAINER" psql -U user -d appwrite -c "UPDATE appwrite._console_rules SET \"deploymentId\" = '<DEPLOYMENT_ID>' WHERE domain = '<FUNCTION_DOMAIN>';"After that, the deployment works via the corresponding URL.
The same problem also affects sites, as has already been reported here: #13088
馃幉 Appwrite version
Different version (specify in environment)
馃捇 Operating system
Linux
馃П Your Environment
Self-Hosted 2.0
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?