Loki fails to upload chunks to MinIO bucket

Thanks for your reply..

I have tried changing the S3 Configuration, but no luck..

Also, I just noticed that in your original configuration there is a dot right after localhost and before the colon, not sure if that was a typo, if not could be your problem, too.

To answer this
MinIO Blog to configure Loki, Grafana Docs. The dot in the S3 address for MinIO is used because there is no need to specify AWS Region.

I used actual S3 instead of MinIO and it worked properly, Loki was able to upload chunks to S3. Filename was fake/4dd7babe8f8bd469/1962e1e0ffb:1962e1e1016:65f2d648.

It looks like MinIO doesn’t support such filenames (having : in name). If you carefully observe the Blog I shared, there the filenames are base64 encoded. I observed the same thing when I used filesystem as storage for Loki.
The only difference I could see from the blog is, I used tsdb instead of boltdb. Does Loki with tsdb as store and s3 as object_store doesn’t encode the filename with base64? Or is there some configuration to enable encoding? Or am I missing something?