From ad5e2516c4656f0d8355da542124e2a19c1cd222 Mon Sep 17 00:00:00 2001 From: Deeman Date: Sun, 22 Feb 2026 13:49:02 +0100 Subject: [PATCH] fix(infra): pin litestream to v0.5.8 for R2 compatibility latest tag may resolve to an older version that treats Cloudflare R2's NoSuchKey response on empty-prefix ListObjectsV2 as a hard error instead of an empty list, causing the replica sync to stall on first deployment. v0.5.8 is the current stable release (2026-02-12). Co-Authored-By: Claude Sonnet 4.6 --- docker-compose.prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index ada76a7..222b4cd 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -18,7 +18,7 @@ services: start_period: 10s litestream: - image: litestream/litestream:latest + image: litestream/litestream:v0.5.8 restart: unless-stopped # Auto-restore from R2 if DB file is missing, then start continuous replication. # Handles: new server, deleted volume, disaster recovery.