Hosting Multiple Mastodon media on one S3 bucket #27904
Replies: 3 comments
-
I believe this is failing because the S3 config doesn't support a prefix/sub folder. how is your mastodon env configured?
|
Beta Was this translation helpful? Give feedback.
-
Why not setup another bucket? |
Beta Was this translation helpful? Give feedback.
-
I opened a pull request that adds a env var to prefix bucket keys
Some object providers like backblaze limit the amount of buckets you can have on your account. It's also a lot more work to automate bucket creation versus just prefixing your keys and re-using the same bucket. |
Beta Was this translation helpful? Give feedback.
-
Hi,
issue: not able to host multiple mastodon media on one s3 bucket.
i can host one mastodon media_attachment on s3 bucket successfully with (s3://bucketname/). but when i'm trying to use one s3 bucket to host multiple mastodon media_attachment like(s3://mybucket/mastodon1/media_attachment.., s3://mybucket/mastodon2/media_attachment) in that case i'm not able to attache media at time of toots. getting 500 error.
Beta Was this translation helpful? Give feedback.
All reactions