On 29 October 2026, my Appwrite console stopped loading. No error page, no stack trace. The browser just refused the connection with NET::ERR_CERT_DATE_INVALID, and that was the whole story.
The certificate for auth.freefirecommunity.com had expired two days earlier, on 27 October. The backend itself was fine. The instance was up, the containers were running, the database was healthy. But the front door was locked, and every client that talks to that domain over HTTPS was locked out with it.
That is the deal with self-hosting. The cloud version would have renewed the certificate for me. My version waited for me to notice. This is the story of the setup, the fix, and everything about it I still have not fixed.
What I actually run
One EC2 instance, named Appwrite-CIT, in us-east-1c. It is a t3a.large running Ubuntu 24.04, with a 50 GiB gp3 root volume and an Elastic IP. It has been running since 30 August 2026. Appwrite 1.9.10 lives at /home/ubuntu/appwrite, on MariaDB, behind Traefik 3.6.
It is the backend for my Free Fire community platform at freefirecommunity.com, plus a handful of smaller projects: WebDemo, CITWeb, MadhubaniNikah, and MySites, which is still waiting on its migration since May. The clients are a Next.js forum app and a Python Discord bot, both hitting auth.freefirecommunity.com.
Nothing about this is exotic. It is the standard Docker Compose install from the Appwrite docs, on one box, with a domain pointed at it. That ordinariness is the point. The failure modes of a setup like this are not exotic either. They are certificates, disk space, and backups.
The upgrade that came first
Two days after the certificate expired, on 1 November, I upgraded Appwrite from 1.9.0 to 1.9.10. Before touching anything, I took an EBS snapshot of the volume and a MariaDB dump, 166 MB, plus copies of .env and docker-compose.yml. The snapshot was still at 93 percent when I last checked its status that day, which is a detail worth remembering: a backup you have not confirmed is not a backup yet.
The upgrade itself was uneventful. The containers came back in seconds per step, and the health check settled at its normal baseline. If you curl the health endpoint without credentials, Appwrite answers 401, and that is the healthy answer:
curl -s -o /dev/null -w "%{http_code}\n" https://auth.freefirecommunity.com/v1/health # 401 I verified that same 401 today, 1 December, and it is still the correct answer. A 401 here means the API is up and refusing you properly. A connection error would mean something is actually wrong.
The certificate fix, and why it was manual
Here is the part that surprised me. This stack does not use Traefik ACME. Traefik serves file certificates from the Appwrite certificates volume. Nothing in the loop renews them automatically, and Appwrite's own renewal worker skips this domain because the platform rule for it is not in a verified state.
So the fix was manual, and it will be manual again in January unless I fix the underlying rule:
- Issue a fresh certificate with certbot in standalone mode.
- Copy it into the certificates volume Traefik reads.
- Restart only Traefik, not the whole stack.
# Issue the certificate (standalone needs port 80 free) certbot certonly --standalone -d auth.freefirecommunity.com # Copy the new cert into the Appwrite certificates volume, # then restart only the proxy docker compose restart traefik The new certificate is valid from 29 October 2026 to 27 January 2027. The old files went into a backup folder on the instance first, because the one thing worse than an expired certificate is overwriting the only copy of a working one.
The console loaded again after the Traefik restart, and /v1/health went back to its normal 401. Total downtime for the fix was minutes. Total time the certificate had already been expired before anyone noticed was two days. That gap is the real cost of self-hosting: not the fix, but the noticing.
The upgrade I am not doing yet
I have a full plan written for 1.9.10 to 2.6.2, and I am deliberately not running it. Appwrite's own docs say 2.6.2 upgrades directly from 1.9.6 or later, so it is a valid single step. But skipping five minor releases means inheriting all of their breaking changes at once, and the plan file is mostly a list of things to check before I dare.
Some of them are specific to my instance, and they are the reason the plan exists at all:
- A patch that will be lost. I have a fix in the worker container's vendor code for a
listColumnsbug. An upgrade recreates the containers, and the patch goes with them. The patched file is saved in my backup folder, but I have to remember to re-apply it and re-check whether 2.6.2 still needs it. - A runtime allow-list that must survive. My function runtimes include
node-18.0andnode-22, because WebDemo has six functions on them. If the upgraded.envdrops them, those functions fail. - Disk space. The root disk was at 85.8 percent when I last logged in, and the function-builds volume alone is about 19 GB. Pulling new images before pruning risks filling the disk halfway through an upgrade.
- A placeholder secret. Version 2.6 refuses an empty
_APP_JOBS_SECRETor the shipped placeholder value, and function job callbacks fail. That is a one-line fix, but only if you know to look for it. - Dev keys are gone in 2.3. If any client still relies on one, it breaks silently.
I chose to hold on 1.9.10 and plan in parallel instead. The WebDemo migration retry comes first, then the upgrade, so a post-upgrade failure cannot be confused with a pre-upgrade one. There is also an open question with no good answer yet: I have no non-production instance to test the migration on, which is exactly what the docs recommend.
The honest limits section
Self-hosting this backend costs me attention in ways a managed service would not. Here is the list, as it stands today:
Certificate renewal is still manual. The January renewal needs the same certbot, copy, and Traefik restart dance unless I fix the platform rule first. I have not fixed it yet.
Port 22 is open to the world. The security group allows SSH from 0.0.0.0/0. I flagged it, and I left it as-is because my access runs through SSM Session Manager and EC2 Instance Connect. Flagged and left alone is not the same as fixed, and I know it.
No alarms are configured. Status checks pass, 3 out of 3, but nothing pages me. A certificate expiry was discovered by a human opening a browser, which is the worst monitoring system ever built.
Disk is nearly full. 85.8 percent, and growing with every function build. This will bite during the 2.6.2 upgrade if I do not prune first.
One backup was never confirmed. The snapshot from 1 November was last seen pending at 93 percent. A fresh snapshot and dump go immediately before any upgrade, and the old one does not count as the rollback point for a new major version.
The migration backlog is real. MySites has been pending since May 2026. Holding a major upgrade while a migration is unfinished is a choice, but it is also a debt.
None of this means self-hosting was the wrong call. One instance backs five projects, I control the data, and there is no per-project bill. But the price is not zero. It is paid in checklists, in manual renewals, and in the occasional morning where the console will not load and the fix is obvious only after you find it.
What I would tell someone starting this today
Set up the renewal before you need it, not after the first expiry. Confirm your snapshot reaches Completed before you call it a backup. Check your disk before you pull new images, not during. And write the upgrade plan down, with your instance's quirks in it, while the setup is still fresh in your head. Mine exists because I learned each of these the slow way, and I would rather read the list than re-learn it at 2.6.2.
If you self-host Appwrite, or any backend on a single box, what is the failure that caught you by surprise? And if you moved from self-hosted to cloud, what was the moment that tipped the decision?
Links: Appwrite self-hosting update docs · freefirecommunity.com

