Rank 1: Thread
Appwrite Cloud, Pro plan, SFO region.
All my Git connections vanished today — Sites and all 15 Functions now show no repository connected. When I try to add a Git installation from Project Settings, I get:
Error 500, general_unknown, at /v1/vcs/github/callback
The odd part: it fails in 14 milliseconds, and returns HTML instead of JSON. That's too fast to have contacted GitHub at all — an OAuth code exchange takes far longer. So it looks like it's crashing during a lookup or a database write, before any external call.
Timeline: it was working this morning and deployed a commit successfully at 2:10pm. A push at 3:44pm refreshed the OAuth token but produced no deployment, and the connections were gone shortly after.
What I've already tried:
Uninstalled the GitHub App and revoked the OAuth authorization, then reinstalled clean — same 500
Tested with an email/password session instead of GitHub login — same 500
Verified the app's permissions and repo access on GitHub — all correct
Project Settings → Git configuration is empty, so nothing to conflict with
One thing that might matter: this project was created new in SFO after I deleted an older project in another region. I'm wondering whether a stale VCS installation record was left behind — I noticed you've shipped a fix called "clear stale install data before starting new installation," which sounds like the same class of problem.
Happy to provide ray IDs and the full request details privately if that helps.
Any ideas?