getfider / fider

Open platform to collect and prioritize feedback
https://fider.io
GNU Affero General Public License v3.0
2.75k stars 620 forks source link

[BUG] S3 storage is not used #1141

Closed Footur closed 11 months ago

Footur commented 11 months ago

Fider Self Hosted

Describe the bug The blob storage is set to BLOB_STORAGE=s3 and a S3 bucket is configured, but the blob data is written to the database.

DEBUG [2023-07-20T07:39:19Z] [BOOTSTRAP] Service 'blobstorage.S3' has been initialized.
...
DEBUG [2023-07-20T07:41:06Z] [WEB] INSERT INTO attachments (tenant_id, post_id, comment_id, user_id, attachment_bkey) VALUES ($1, $2, $3, $4, $5) [1 2 {0 
false} 1 attachments/FX2QokiWDd1fjFGzXEdoRMy54og2unDmg3be2T6z1KHIFQ16fYtGyEeJ7W0Vkgop-foo.png] executed in 0ms

To Reproduce

Expected behavior Fider should write blob data like images into the S3 bucket.