Wasabi configuration

weilliew

New Member
YetiShare User
YetiShare Supporter
Sep 13, 2018
1
0
1
45
#1
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
1,706
29
48
mfscripts.com
WEBSITE
https://yetishare.com
LOCATION
UK
#2
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.
 
Likes: weilliew

adam

Administrator
Staff member
Dec 5, 2009
1,706
29
48
mfscripts.com
WEBSITE
https://yetishare.com
LOCATION
UK
#3
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/...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.