-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Upgrade to 2.0.4 with 1100 products loses graphic files #3964
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
Comments
@joebusby Have you checked file permissions of |
Yes, permissions are correct before and after the upgrade. (I will double check). I tried both firefox and chrome also |
I have tried several times with correct permissions, and clearing the browser and magento caches. No good. It turns out I have 2100 products. I will see if things work after removing a lot of products and post again. |
I have the same issue with only 5 products. |
Reducing the product number did not seem to help. Upon closer inspection, only the product images I have added end up in /pub/media/tmp/catalog/product all the "sample data" products end up in /pub/media/catalog/product despite that I removed the sample products a while back. (maybe this is normal) Removing the product appears to not remove the images associated. Should we be able to upgrade from 2.0.2 to 2.0.4 directly? Something may have changed with the upgrade process. I restored an old backup of 2.0.2 and it failed to upgrade to 2.0.3 despite it working the first time I attempted it when 2.0.3 was first released |
We saw the same issue with an upgrade from 2.0.2 to 2.0.3. Original 2.0 install was with sample data. Sample products and images were originally deleted. After upgrading, all product images were missing. |
#robfico that's the problem I have. I just upgraded anyway, and will re-attach the images on 2100 products one by one since generating > 150 configured products with images does not work. See you next week. (grin). |
- Added test to check dependencies between modules in Declarative Schema
Steps to reproduce
Add 1100 configurable products with .png product pictures in Magento 2.0.2 and the upgrade to 2.0.3 worked fine, but the upgrade to 2.0.4 does not.
Expected result
Graphics should show up for products
Actual result
No graphics appear on the new site, missing in both the frontend and backend.
All graphics that were in ./pub/media/catalog/product are now in ./pub/media/tmp/catalog/product and all of the sub-directories of ./pub/media/catalog/product are now in ./pub/media/tmp/catalog/product
I tried upgrading with the cache cleared and disabled to no avail. Any troubleshooting ideas would be appreciated. I will attempt to move the files to the old (before upgrade) structure and see if that helps.
Magento 2 on OpenVZ with multiple cores
Debian 8
PHP Version 5.6.17-0+deb8u1
The text was updated successfully, but these errors were encountered: