Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resync media image after installation #83

Open
ramzdam opened this issue Jun 6, 2019 · 2 comments
Open

Can't resync media image after installation #83

ramzdam opened this issue Jun 6, 2019 · 2 comments

Comments

@ramzdam
Copy link

ramzdam commented Jun 6, 2019

I followed all the steps including setting up the base_url for the media url. At first when I run the bin/magento s3:storage:export all assets were uploaded in the s3. Then I enabled the module. After that I uploaded a new image again (programatically generating new image). But the image is still being saved in pub/media folder. Now I tried running s3:storage:export again but I get the error You are already using S3 as your media file storage backend!. Now I can't sync my assets now. I thought the script will handle all the syncing to the s3. So whenever I upload an image into the pub/media the module will handle the exporting of it to the S3.

I guess I was wrong with that. Can you tell me how can I resync the content of my server and the s3? and how do I auto upload it into the s3?

@hruzee
Copy link

hruzee commented Jun 19, 2019

to export again images, try to disable the storage, export the images and then enable again

@merin3
Copy link

merin3 commented Jun 19, 2019

I have also faced the same issue , Everything configured perfectly as said by "@ramzdam , When i upload the five product images in to magento2 upload not happening in to aws s3 bucket, Instead of all four images showing the static image content , Only one image was uploaded to s3 bucket .

the same i was uploaded to another product it was not uploaded none of the images to s3 , instead of shows static image content from magento2.

As well as product image keep buffering buffering in store front end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants