Replies: 1 comment
|
The Here's what's likely happening:
Fix: Set That's 1 year in seconds. The URLs will still technically expire, but effectively last forever. Alternative — make the MinIO bucket publicly readable: If your MinIO instance is internal/trusted, set the bucket policy to allow public reads: mc anonymous set download myminio/rocketchat-uploadsThen in Rocket.Chat settings:
With proxy mode + public bucket, the presigned URL expiry becomes irrelevant because Rocket.Chat fetches the file server-side using its configured credentials. To verify files still exist in MinIO: mc ls myminio/rocketchat-uploads/If the files are there, it's purely a URL expiry issue, not a deletion issue. |
Uh oh!
There was an error while loading. Please reload this page.
Description:
I’m running Rocket.Chat version 8.0.1 in a Docker container and MinIO also in a Docker container for file uploads. Files uploaded via Rocket.Chat (
store: AmazonS3:Uploads) are automatically assigned anexpiresAttimestamp and become unavailable after ~1 day, even though:Observed Behavior:
rocketchat_uploadsdocuments always haveexpiresAt = uploadedAt + ~1 day.expiresAtpersists for new uploads even after disabling URL expiry & retention policies.What I’ve Checked / Tried:
FileUpload_S3_URLExpiryTimeSpan = 0in admin settingsexpiresAtindex is not TTLQuestions:
expiresAtwhen URL expiry and retention are disabled?expiresAt?expiresAtfor S3 uploads?All reactions