SQLite was slow under btrfs CoW, and the no-CoW migration path turned out to be fragile (WAL deletion without checkpoint = data loss). Move to PostgreSQL on Unix-socket peer auth — no password needed for the local-host setup, NixOS provisions the database+user declaratively. Drop the now-unused +C tmpfiles rule on the sqlite directory; the leftover database.sqlite* files at /var/lib/firefly-iii/storage/database/ are harmless and can be removed manually after switch is verified. Migration of existing Firefly III data is not preserved by this commit — fresh-start path: re-register admin, re-issue PAT, re-POST the bulk CSV through the importer. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| acme.nix | ||
| backup.nix | ||
| default.nix | ||
| fileserver.nix | ||
| firefly.nix | ||
| hardware-configuration.nix | ||
| mail.nix | ||
| network.nix | ||
| nginx.nix | ||
| openwebui.nix | ||
| searx.nix | ||
| uptime-kuma.nix | ||
| wyoming.nix | ||