
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
- Appwrite Sites giving Build archive was ...
So I currently have everything running smoothly on Netlify and for hosting but i want to make every thing in one place so when appwrite gave access to sites i j...
- Can I use Appwrite Self-Hosted commercia...
Hi! I'm a student working on my own app, and in the future Iād like to monetize it (e.g. through subscriptions or paid features). I'm using Appwrite Self-Hoste...
- Appwrite Sites and localStorage Problem ...
I'm currently struggling with the localStorage Problem and Custom Sites. My goal is to move our Flutter Web App to Appwrite Sites. When just deploying it I'm ...
