-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
After Update from 2.0.2 to 2.0.4 all images are erased #4054
Comments
@esiemens thank you for reporting, we have created MAGETWO-51935 to investigate and fix. |
We have this problem too. Cannot install security update 2.0.4 so we are stuck with 2.0.2 until this is fixed :( May be related to this: |
@esiemens @plentyhappy Please check file permissions on |
Thanks for the response. My hosting provider told me there are no permission issues. The deployment of static resources did not help. They think the issue stems from the fact that sample data was used for this store originally. They also said this, "I'm guessing it's a bug in Magento, as we have upgraded a number of stores that did not have sample data initially, and all of those were fine. It's likely the sample data being used initially that is triggering a bug where images are removed" |
@plentyhappy, we have tried two times without success to recreate your issue.
Thanks! |
For this store, it was initially installed as a 2.0.0 store with sample data with root web directory of pub. Upgrades are done via editing composer.json file, adjusting version, and then running "composer update". Mode of store is "default". Upon upgrading from 2.0.2 to 2.0.4, all non-sample product images are deleted from pub/media/catalog/product. No permission issues, as set up is per Magento recommended method. In watching the upgrade procedure, the images get deleted at this exact point in the update: Up until that point, they are present in the directory. |
I had this same issue. Definitely back up your images someplace before upgrading. In my case, I installed 2.0.2 with sample data. Deleted sample data and added new items, images and other settings via admin. Upgrade to 2.0.5 made images dissapear n the front end (showing standard Magento placeholder image). Upon inspection:
|
@benchmarky Thanks for reporting the issue! We will take care about in and include the fix in further magento patches Internal issue MAGETWO-53232 |
Hello @esiemens, this issue has been fixed in the 2.1.0 Release, that's why I'm closing it. If you any questions or additional information regarding the issue feel free to reopen it or create a new one. |
It started to happen to me on 2.1.1. out of the blue sky! |
2.1.5 -> 2.16 pub/media/wysiwyg is now gone. I have successfully upgraded ever version using my workflow from 2.1.1 to 2.1.5. I did nothing different this time. |
After updating magento 2.0.2 to 2.0.4 with no errors reported all images are deleted from my site.
The text was updated successfully, but these errors were encountered: