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}
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 […]
[Original post on dusty.ninja]