S3 storage connects successfully but backup fails to save when Object Lock is enabled #311

Closed
opened 2026-04-05 16:16:10 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @smyoss on 12/29/2025

After successfully connecting and saving a new S3 storage configuration, backup operations fail and do not actually save to the bucket. While the initial storage mapping now completes without error, attempting to create a backup results in a failure during the upload phase. This appears related to the same underlying issue with Object Lock requirements—the PutObject request during backup lacks the required Content-MD5 or x-amz-checksum-* headers. Users can configure the storage but cannot use it for its intended purpose.

Technical Details

Storage connection: Now succeeds (previously failed with same error)
Backup operation: Fails during upload/save
Suspected error: Content-MD5 OR x-amz-checksum- HTTP header is required for Put Object requests with Object Lock parameters
Environment: S3 bucket with Object Lock enabled
Symptom: Storage saves successfully, but backups do not persist to S3
Root cause: PutObject requests during backup likely still missing required headers (Content-MD5 or x-amz-checksum-*) when Object Lock parameters are present

Error Message

Backup error details

save to storage: failed to upload part 1: ContentMD5 OR x-amz-checksum-HTTP header is required for Put Part requests with Object Lock parameters

Version

v2.18.3

Image

Thank you so much for your help!

*Originally created by @smyoss on 12/29/2025* After successfully connecting and saving a new S3 storage configuration, backup operations fail and do not actually save to the bucket. While the initial storage mapping now completes without error, attempting to create a backup results in a failure during the upload phase. This appears related to the same underlying issue with Object Lock requirements—the PutObject request during backup lacks the required Content-MD5 or x-amz-checksum-* headers. Users can configure the storage but cannot use it for its intended purpose. ## Technical Details Storage connection: Now succeeds (previously failed with same error) Backup operation: Fails during upload/save Suspected error: Content-MD5 OR x-amz-checksum- HTTP header is required for Put Object requests with Object Lock parameters Environment: S3 bucket with Object Lock enabled Symptom: Storage saves successfully, but backups do not persist to S3 Root cause: PutObject requests during backup likely still missing required headers (Content-MD5 or x-amz-checksum-*) when Object Lock parameters are present ## Error Message Backup error details save to storage: failed to upload part 1: ContentMD5 OR x-amz-checksum-HTTP header is required for Put Part requests with Object Lock parameters ## Version v2.18.3 <img width="583" height="140" alt="Image" src="https://github.com/user-attachments/assets/cdc2364e-39a9-486d-929f-568165c893df" /> Thank you so much for your help!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#311