How to use S3 compatable provider in the filestore

The filestore has an option for S3 AWS Amazon cloud storage.

The is no option (yet) for compatible providers like Wasabi. " Freepbx, the free of FREEDOM!!! "

The solution is to modify the file /var/www/html/admin/modules/filestore/vendor/aws/aws-sdk-php/src/data/endpoints.json.php.

Search for amazonaws.com and replace with wasabisys.com.

In one cli command:

sudo sed -i ‘s/amazonaws.com/wasabisys.com/’ /var/www/html/admin/modules/filestore/vendor/aws/aws-sdk-php/src/data/endpoints.json.php

Works like a charm.

Do not forget to disable “module signature checking” in the advanced settings to suspress the securtiy warnings for an altered file.

Probably you will have to change the file again after a filestore module upgrade.

I hope this will help some and hope Sangoma will provice support for compatible S3 providers in the near future.

Geert Sillekens
apeer.nl

1 Like

I believe there is a feature request ticket out there for changing this to allow free form entry.

Cannot search for it at the moment.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.