#Litestream

Bryan Whiteheadbryan@dusty.ninja
2025-12-13

The #litestream issue I made generated a number of responses, and there was an option that changed from not required to required. (I'll spare you the explanation here since it's all in the above issue.) 😵‍💫

Anyway, in this journey, I also out of desperation asked #ChatGPT, and of course, it gave me nonsense to try. It even had me change the syntax of YAML from a single replica statement to an array of replicas with one entry. I later read that this was old ways of doing things in the 0.3.x series. So now I'll need to go back and fix before the old way is completely deprecated. 😑

I was so irritated I told ChatGPT the actual solution and then it tried to pretend that it was giving me the solution? 😡

ChatGPT also for some reason decided to use an AWS region (us-east-1) instead of Digital Ocean Spaces region(sfo3).

Conversation between myself and ChatGPT.
Me: I found the problem. the new v0.5.3 release requires non-aws S3 to include the option sign-payload: true. for some reason this is no
longer default as of v0.5.3, it was default through version v0.5.2.

ChatGPT: Nice catch — that fits the symptom perfectly: SigV4 SignatureDoesNotMatch during multipart
UploadPart is exactly what you see when the server expects a signed payload but the client is using
UNSIGNED-PAYLOAD (or otherwise not including the payload hash in the signature). For anyone else hitting this on Litestream v0.5.3 + DigitalOcean Spaces (or other S3-compatible), the fix is to set sign-payload: true on the replica.

example Yaml:
dbs: - path: /gotosocial/sqlite.db
replicas:
- type: s3
bucket: dustyninja-backup
path: db
endpoint: https://sfo3.digitaloceanspaces.com
region: us-east-1 sign-payload: true access-key-id: ${LITESTREAM_ACCESS_KEY_ID}
secret-access-key: ${LITESTREAM_SECRET_ACCESS_KEY}
Bryan Whiteheadbryan@dusty.ninja
2025-12-13

Tried to get #Litestream working again with #gotosocial but I keep running into 403 errors using #DigitalOcean Spaces for S3. the error is "api error SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method".

This kept repeating until the .sqlite.db-litestream directory filled my disk (about 10x the size of actual DB). Still need to do sqlite backups the old fashioned way: make compressed copy and upload with s3cmd.

GripNewsGripNews
2025-12-12

🌕 Litestream VFS:利用 SQLite 擴展功能直接從物件儲存讀取資料
➤ 跳過下載!Litestream VFS 讓 SQLite 直接查詢雲端備份資料
fly.io/blog/litestream-vfs/
這篇文章介紹了 Litestream VFS(虛擬檔案系統),一項創新的功能,讓 SQLite 應用程式可以直接讀取儲存在物件儲存(如 S3)上的資料庫備份,無需下載完整檔案。作者 Ben Johnson 詳細解釋了 Litestream 如何透過 LTX(SQLite 資料傳輸檔案格式)的「壓縮」功能,只讀取必要資料頁的最新版本,大幅提升讀取效率。此外,文章還展示瞭如何利用 VFS 外掛程式,讓 SQLite 能夠進行即時的「點時間回復」(PITR),並直接查詢歷史備份資料,為資料庫管理和查詢帶來了前所未有的彈性和便利性。
+ 太棒了!這解決了我一直以來備份 SQLite 資料庫的痛點。再也不用擔心備份檔案越來越大,而且查詢歷史資料變得如此簡單。
+ Lites

N-gated Hacker Newsngate
2025-12-11

🚀 Behold, Fly Blog's dazzling revelation of a "performance optimization" feature that no one asked for, starring VFS! 🤡 Wrapped in the usual smorgasbord of tech buzzwords, this post might just optimize your reading time by putting you to sleep faster than a sleeping pill. 🌙💤
fly.io/blog/litestream-vfs/

Sandip Bhattacharya ☮️sandipb
2025-12-11

Using pragmas to do sql queries on database state in the past is 🤯

fly.io/blog/litestream-vfs/

It is like sql suddenly got git’s -r parameter

poes 🇵🇸poes@sok.egois.org
2025-11-18

padahal ane mau coba #litestream versi build terbaru, tapi jadi ga bisa coba gara - gara nyimpen ke S3 Neva yang pakai cloudflare.

buka situs nevacloud aja ga bisa, apalagi layanannya semua down.

seperti biasa hasil build untuk #FreeBSD amd64 bisa diunduh dari sini https://egois.org/files/freebsd/

PS: harus siap resiko gagal ya ha ha ha

poes 🇵🇸poes@sok.egois.org
2025-11-18

ternyata #Litestream mulai jalan lagi developmentnya, tapi sayangnya masih belum support dengan #FreeBSD secara langsung. Alhamdulillah di repo ada tapi versi stabil 2 tahun yang lalu 03.13.

sedangkan di #Freshport ada versi terbaru 0.5.2, sayangnya ane males install dari src saat ini. Jadi build sendiri dapat versi development, namun masih belum yakin untuk pakai karena yang 03.13 baik - baik saja.

2025-11-02

Just released v0.5.0 of my django-litestream package, now compatible with Litestream 0.5.2.
The main changes include updates to match the new Litestream CLI, and I’ve also removed the old `init` command — it turned out to be completely useless. I also removed dbs auto discovery, I don't remember why I did that initally, but it was clearly a stupid idea.

🔗 github.com/Tobi-De/django-lite

#django #sqlite #litestream

Alejandro Baezzeab@fosstodon.org
2025-10-28

And in a twist of design, here's doing durable execution directly with #sqlite and an event bus framework in #golang called #watermill.

So just in case you all in go, this may be the way to go instead of #litestream. 😅

threedots.tech/post/sqlite-dur

Alejandro Baezzeab@fosstodon.org
2025-10-27

#Litestream 0.5 is even more reason just to pick #sqlite. You can get pretty far with litestream and have it fully manageable for duplication.

Lower the N tier of your app. 😉

fly.io/blog/litestream-v050-is

N-gated Hacker Newsngate
2025-10-14

🎉 Wow, a groundbreaking revelation: 🚨 Behold the miracle of software, where the only certainty is that something will break! 🙈 is like that friend who disappears for two years, only to come back and ask for a loan. 💸😂
mtlynch.io/notes/hold-off-on-l

Charles Chineallion@e5n.cc
2025-10-06

Litestream 更新后确实有点离谱。

#litestream

docker stats litestream screenshot
2025-10-03

Litestream v0.5.0 is Here - Litestream v0.5.0 is Here
I've been running Litestream to backup SQLite databases i... - simonwillison.net/2025/Oct/3/l #ben-johnson #litestream #sqlite #fly

N-gated Hacker Newsngate
2025-10-03

🎉 .5.0 has arrived to save the world from your file storage woes with all the fanfare of an -source project's desperate attempt to seem relevant. 🚀 Meanwhile, only 3 people care, and one of them is the author's mom. 😂
fly.io/blog/litestream-v050-is -storage

2025-09-19

If you’ve got a big (mine is 13G) HomeAssistant home-assistant_v2.db with litestream backups and you’re getting random database is locked errors, try updating to the latest litestream (b3f5b127 is the current commit but there’s a v0.5.0-test.2 tag which might be more “stable”) - all my database is locked errors have gone away.

#HomeAssistant #Litestream #SQLite

Alejandro Baezzeab@fosstodon.org
2025-05-22

#Litestream now does compaction. Using s3 condition writes. 😎

#consul is good, but complex when not in infra. Especially for #litefs. Too many moving parts. 😅

Very happy litestream is getting some love. Makes #sqlite even more of a no brainer choice. 😏
fly.io/blog/litestream-revampe

Markus 🤓✨markus@hachyderm.io
2025-05-21

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst