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
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...