I upgraded a self-hosted server from 1.8.1 to 1.9.0 then 1.9.5 and now every day at 02:00 AM seems the instance flood Mailjet with a ton of trash email "demo@example.com" subject "Test SMTP Connection" why? There is env 200 mail sent by day! Seems to impact my quota of email too...
Tried to see mail logs: docker logs appwrite-worker-mails but the mails was not sent too...
worker.v1-mails · 311.2ms · 18711ebc
level info
project.id x-prod
mail.template recovery
mail.smtp_type cloud
mail.recipient_domain gmail.com
mail.status success
────────────────────────────────────────────────────────────
worker.v1-mails · 123.3ms · 29509daf
level info
project.id x-prod
mail.template recovery
mail.smtp_type cloud
mail.recipient_domain gmail.com
mail.status success
Seems related to doctor command but why it's running everyday???
in your docker compose change healthcheck for appwrite to this
healthcheck:
test:
- CMD-SHELL
- 'curl -fsS -o /dev/null -H "Host: $${_APP_DOMAIN:-localhost}" http://localhost/v1/health/version'
interval: 5s
timeout: 5s
retries: 12
start_period: 120s
this has been fixed in latest compose file
Thanks, you mean this one:
appwrite:
container_name: appwrite
logging:
driver: json-file
options:
max-file: "5"
max-size: 10m
image: ${_APP_IMAGE:-appwrite/appwrite}:${_APP_VERSION:-latest}
healthcheck:
test:
- CMD
- doctor
interval: 5s
timeout: 5s
retries: 12
networks:
- appwrite
Need to be:
appwrite:
container_name: appwrite
logging:
driver: json-file
options:
max-file: "5"
max-size: 10m
image: ${_APP_IMAGE:-appwrite/appwrite}:${_APP_VERSION:-latest}
healthcheck:
test:
- CMD-SHELL
- 'curl -fsS -o /dev/null -H "Host: $${_APP_DOMAIN:-localhost}" http://localhost/v1/health/version'
interval: 5s
timeout: 5s
retries: 12
start_period: 120s
networks:
- appwrite
That's OK?
Seems also related to <#1529074044882915338> because it retry but the instance seems healthy...
i think the issue is that the appwrite-api use the doctor as the healthcheck, you should change it to request the /v1/health/version endpoint instead
oh mb, didn't saw you kinda resolved the issue but ye, the second seams to be the right healthcheck, you can compare with the thread i linked
Perfect, I updated the docker compose thanks both! Will check tomorrow
Thank you!! It was breaking my servers selfhosted setup lmao
HOLY
<@743532656767270934> IF I WAS PAYING FOR THIS AND IT WASNT SELFHOSTED
ID BE BROKE
😭
theres 7000 emails
well resend offers 3k for free, so not that broke tbf
That was in 2 days.. imagine this wasnt posted
lmao
but either way
i love appwrite
:)
you know what i'd love more? If a member of your team added oidc signin into the admin dashboard in selfhosted
so generic oidc login or something specific?
like we offer github on cloud
Recommended threads
- hi guys! my site is not accesible in my ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Delete on cascade from Cloud Function
I'm writing a Python function that deletes a user's main row from a table in my database. This row has relationships with other tables that use cascade deletion...