Hello!
I've been using sites for some weeks now, and everything seemed to be working fine.
I have three sites (static) set, linked with github repositories:
- Site 1: mydomain.com and www.mydomain.com
- Site 2: app.mydomain.com
- Site 3: anotherdomain.com and www.anotherdomain.com
I use nginx in front of appwrite and handle SSL generation myself.
In the past few days, however, I made some pushes to "Site 2" repository - PR to master triggers a build and it passes, and when PR is merged it triggers another build that passes. The deployment is marked as "ready" in the console, and when I activate it the site gets updated, as expected.
However, when activating this new deployment, Site 1 and eventually Site 3 start pointing to this Site 2 deployment - I access anotherdomain.com or mydomain.com and I see Site 2's content.
The solution I found is to remove the custom domains from the other sites and add them again - sometimes I also have to redeploy the other sites for them to work.
Is anyone else having a similar issue? What can I do to troubleshoot it?
The logs for worker-builds is as follows:
appwrite-worker-builds | Skipped SMS processing. Missing "_APP_SMS_PROVIDER" or "_APP_SMS_FROM" environment variables.
appwrite-worker-builds | [Worker] Worker 0 is ready!
appwrite-worker-builds | Worker builds started
appwrite-worker-builds | [Job] Received Job (68877183ba0884.20780360).
appwrite-worker-builds | Creating build for deployment: 68877183340f132b98a4
appwrite-worker-builds | Build id: 68877183340f132b98a4 created
appwrite-worker-builds | [Job] (68877183ba0884.20780360) successfully run.
appwrite-worker-builds | [Job] Received Job (688985cb879097.66723283).
appwrite-worker-builds | Creating build for deployment: 688985c99912af7f6105
appwrite-worker-builds |
appwrite-worker-builds | Notice: PDOStatement::execute(): Send of 125 bytes failed with errno=104 Connection reset by peer in @swoole/library/core/Database/PDOStatementProxy.php on line 49
appwrite-worker-builds |
appwrite-worker-builds | Notice: PDOStatement::execute(): Send of 128 bytes failed with errno=104 Connection reset by peer in @swoole/library/core/Database/PDOStatementProxy.php on line 49
appwrite-worker-builds |
appwrite-worker-builds | Warning: Undefined array key 1 in /usr/src/code/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php on line 778
appwrite-worker-builds |
appwrite-worker-builds | Warning: Undefined array key 1 in /usr/src/code/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php on line 778
appwrite-worker-builds | Build id: 688985c99912af7f6105 created
appwrite-worker-builds | [Job] (688985cb879097.66723283) successfully run.
appwrite-worker-builds | [Job] Received Job (6889866b9685b7.54633992).
appwrite-worker-builds | Creating build for deployment: 6889866a5c1901c00eca
appwrite-worker-builds |
appwrite-worker-builds | Warning: Undefined array key 1 in /usr/src/code/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php on line 778
appwrite-worker-builds | Build id: 6889866a5c1901c00eca created
appwrite-worker-builds | [Job] (6889866b9685b7.54633992) successfully run.
appwrite-worker-builds | [Job] Received Job (6889879d6a60d5.57340619).
appwrite-worker-builds | Creating build for deployment: 6889879ccf7f75a4c887
appwrite-worker-builds | Build id: 6889879ccf7f75a4c887 created
appwrite-worker-builds | [Job] (6889879d6a60d5.57340619) successfully run.
Recommended threads
- functions domain error
I cannot set up the domain for function I’m trying to add the domain api.example.com I can only use Cloudflare as the DNS provider because my domain provider do...
- Storage Bucket Permissions
Hey folks, when enabling CRUD on the bucket level for the role any, should the bucket be accessible when using a session client?
- Python function - error while creating /...
I have been trying to figure it out myself for the last 2 days. I have self-hosted appwrite instance, and I am running python 3.12 function. It works great up t...