Wasabi configuration

weilliew

New Member
YetiShare User
Sep 13, 2018
4
0
1
50
Hi there.
I read in a presales thread that you have help them in using Wasabi as the storage options for YetiShare, please advice on the steps to achieve that.
Thank you.

Best Regards
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Hi,

Please can you link your forum account to your license via mfscripts.com. You can do this by logging in to that site using your account details and going into account settings. After 10 minutes, logout and back into this forum so your account can be linked.

Thanks,
Adam.
 
  • Like
Reactions: weilliew

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Hi,

Thanks for linking your forum account.

We don't support Wasabi so if you hit any issues with storage etc you'd need to resolve them yourself. However, based on the info here:

https://wasabi-support.zendesk.com/hc/en-us/articles/360000363572-How-do-I-use-the-AWS-SDK-for-PHP-with-Wasabi-
https://wasabi-support.zendesk.com/hc/en-us/articles/360000363572-How-do-I-use-the-AWS-SDK-for-PHP-with-Wasabi-
I'd look at this file first:

"\core\includes\fileServerContainer.class.php"

Find:

$client = new S3Client($config);

Before add:

$config['endpoint'] = 'http://s3.wasabisys.com';

This *may* work. If not, you can dig further into the code in:

"\core\includes\vendor\aws\aws-sdk-php\src\S3\S3Client.php"

This file extends this class:

"\core\includes\vendor\aws\aws-sdk-php\src\AwsClient.php"

Which seems to set the endpoint in the construct:

$this->endpoint = new Uri($config['endpoint']);

So this may work:

$this->endpoint = 'http://s3.wasabisys.com';

Let me know how you get on?
Adam.