No description
SQLite was causing constant crash-looping (138 restarts/day) due to write lock contention with concurrent sync clients. Migration required workarounds for multiple occ db:convert-type bugs: - GR error 3100: SET GLOBAL sql_generate_invisible_primary_key = ON - utf8mb3 column creation: stripped 4-byte emoji + invalid UTF-8 from SQLite (F1 calendar events, filecache) - SQLite index corruption: repaired via .dump + INSERT OR IGNORE reimport - kubectl exec timeouts: used nohup + detached process Verified: all 136 tables migrated, 100% row count match across 15 key tables (users, files, calendars, contacts, shares, activity). Also fixed typo: databse → database in chart values. |
||
|---|---|---|
| .claude | ||
| .git-crypt | ||
| .planning | ||
| .woodpecker | ||
| cli | ||
| diagram | ||
| docs/plans | ||
| modules | ||
| playbooks | ||
| scripts | ||
| secrets | ||
| stacks | ||
| .gitattributes | ||
| .gitignore | ||
| .sops.yaml | ||
| AGENTS.md | ||
| config.tfvars | ||
| LICENSE.txt | ||
| MEMORY.md | ||
| README.md | ||
| secrets.sops.json | ||
| setup-monitoring.sh | ||
| terragrunt.hcl | ||
| tiers.tf | ||
This repo contains my infra-as-code sources.
My infrastructure is built using Terraform, Kubernetes and CI/CD is done using Woodpecker CI.
Read more by visiting my website: https://viktorbarzin.me
git-crypt setup
To decrypt the secrets, you need to setup git-crypt.
- Install git-crypt.
- Setup gpg keys on the machine
git-crypt unlock
This will unlock the secrets and will lock them on commit