Back

Minio Storage

  • 0
  • Self Hosted
  • Storage
IamtheFuture
24 Sep, 2024, 14:20

Minio is an open source s3 compatible storage please how can we use it to replace s3

TL;DR
Developers want to replace S3 with Minio storage. There is a PR awaiting approval. An adapter is needed to add a different S3. Only need to replace the hostname in the URL. An error is occurring due to SSL certificate hostname mismatch. Implement the changes from the Github issue to resolve this.
IamtheFuture
24 Sep, 2024, 14:22

trying to use it but am getting the error

[Error] Timestamp: 2024-09-24T14:17:39+00:00

[Error] Method: POST

[Error] URL: /v1/storage/buckets/:bucketId/files

[Error] Type: Exception

[Error] Message: SSL: no alternative certificate subject name matches target hostname 'mistore.routechnology.org.s3.us-east-1.amazonaws.com'

[Error] File: /usr/src/code/vendor/utopia-php/storage/src/Storage/Device/S3.php

[Error] Line: 919

IamtheFuture
24 Sep, 2024, 14:23

what needs to be done is just allow mistore.routechnology.org instead of mistore.routechnology.org.s3.us-east-1.amazonaws.com

I believe everything else should work just like s3

darShan
24 Sep, 2024, 14:26

afaik, adding a different s3 requires an adapter. Request one on GitHub or see how one is implemented here - https://github.com/utopia-php/storage/tree/main/src/Storage/Device

IamtheFuture
24 Sep, 2024, 14:36

there is already a PR but yet to be merged

IamtheFuture
24 Sep, 2024, 14:39
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more