I have an existing Silverstripe project using AWS S3 for assets storage. Anyone know of any good/smart ways to make regular backups of the S3 bucket?
Has anyone previously ran into issues with
wilr/*silverstripe-googlesitemaps* not working due to
blocked mixed active content?
Ok actually, I think the file abstraction layer handles all the paths for you without having to edit the database @nightjarnz. Some assets are coming through while some are missing. I had to go pass the first page and then I found some assets coming through 🙂 At least the published ones are coming through, its just the draft assets that aren't
@nightjarnz Mmm...yeah I would've thought that the SilverStripe file abstraction handles that for you. And I couldn't seem to find how in the database the File object knows where the file is being kept
So I'm trying to migrate existing assets to use S3 storage. I've copied the files from my local
.protected folder and have moved them into the
protected folder on the S3 bucket. I've also moved the other public files into the
public folder on the S3 bucket. I've then installed the silverstripe-s3 module. But the files in AssetAdmin are saying File Not Found.. am I missing a step?
Righto, I’ll give it all a go. Thanks again 🙂
And then CMS file restrictions (like only logged user can see a file) should still work out of the box right?
Ok cool thanks. That helps a lot. Actually quite painless to setup once you’ve done it once. Hardest thing was actually trying to get the permissions setup properly on the S3 bucket 🙂
With the same folder structure though right?
If I’m migrating existing assets to use the silverstripe s3 module, do I need to somehow update the existing File objects with the asset’s new s3 path, after uploading the existing assets to the s3 bucket? I can’t seem to find a guide on what needs to be done (or if anything needs to be done)