CptPillow

Hi Everyone I am trying to add Silverstripe/S3 but have never done it before. I dont see a lot of info to go on in the readme.md can someone point me in the right direction?

wmk

Did you read https://www.silverstripe.org/blog/utilising-amazon-s3-to-supercharge-your-silverstripe-hosting/ ?

Show 1 attachment(s)
silverstripe.org  
Utilising Amazon S3 to supercharge your SilverStripe Hosting

Scaling your hosting on the fly has never been easier. Chief Architect at Moosylvania, Joe Madden, explains Flysystem and the SilverStripe S3 module, offering agencies more flexibility to host on new platforms and maintain high performance.

Hide attachment content
wmk

also https://github.com/silverstripe/silverstripe-s3/issues/26#issuecomment-505525388 should help you

Show 1 attachment(s)
GitHub  
Module does not work when running locally via Docker · Issue #26 · silverstripe/silverstripe-s3

I've installed this module on a 4.3 site and I'm stuck at the following error. I cannot run dev/build... this is the error I get when I try to do that: [Emergency] Uncaught Aws\Exception\Cr...

Hide attachment content
CptPillow

Yes I did read the first article. But not sure how to set it up in my config.

CptPillow

Havent even gotten to where its not working on localhost or virtual servers yet

wmk

you need to set the right env vars

CptPillow

Ive got an AWS server that I will be testing on so need to make sure I have the settings right then I can test it on there

wmk

I just examined that module for another flysystem adapter, didn't setup S3 myself. Maybe @kinglozzer or @dorsetdigital can shed some light on this?

CptPillow

Think I got somewhere. instead of having the stuff set in yml I need to do it in .env but now I got an error which I think is because im on local at the moment


Show less replies
lexandclo

cool, cheers again guys. latest on server is 7.2 and that works fine

👍 (1)
lexandclo

ok, ill up the version and see if that works... cheers chaps

dorsetdigital

I'm just looking at the type hinting syntax... Can't remember when it was introduced