KevinJump / uSync

Database syncing tool for Umbraco CMS
https://jumoo.co.uk/usync/
Mozilla Public License 2.0
110 stars 62 forks source link

Package import does not work with AWS S3 Media File System #661

Open gregor-tusar-sowa opened 2 months ago

gregor-tusar-sowa commented 2 months ago

Describe the bug We use AWS S3 as media file system (because our solution is in load balanced environment. Uploading and consuming the media in umbraco works as expected.

I created a package with some media with uSync.Exporter. I uploaded and installed this package on another system (staging). I saw that the media items were created, but the actual image files were not uploaded to S3. image

Did we maybe configure the S3 File system wrong, or does uSync.Exporter script only upload files to local machine?

To Reproduce Steps to reproduce the behavior:

  1. Configure loadbalanced environment with AWS S3 (or MINIO) file system for media
  2. Upload some media
  3. Create a package with uSync.Exporter (development system)
  4. Install package on another system (staging system)
  5. Media entries created - actual files are not uploaded

Expected behavior Files would be uploaded to S3 storage.

Screenshots image

image

image

About your Site (please complete the following information):

KevinJump commented 2 months ago

Hi,

We would expect this to work, as our media uploads are done via the APIs for this reason 😞 (for example it it does for Azure blob storage).

So we will have to do some investigating.

If you could take a look i nthe logs and see if there is anything in there that could help us, and also if you can share (the non-secret) bits of your aws setup that would also be good.