I just migrated my site from magento 1.9.2 to magento 2.1.5. The problem started after I copied the media folder. All the images showed, but all of the products in catalog and search disappeared - So I reindexed and flushed the cache but the products are still not showing (they were before the media copy) and if I go directly to a product url everything shows nomally. Anyone knows what it could be?
That could be caused by a few things. I experienced similar problems after migrating from 1.9.x to 2.1.x. Go to one of the products in Products --> Catalog. Check the 'Images and Videos' tab:
1) Under the main image, do you see the tags 'base', 'small', 'thumbnail'? Some images that were the main images of my products lost that tag during the migration process which explains why they show on the product page but not the category page.
2) Click on the image you expect to see on the category page. On the right hand side, under image resolution, there is a tick box 'Hide from Product Page'. Made sure it is not ticked. What used to be the 'exclude' radio button in 1.9.x has changed to this in 2.1.x and the behavior on the front end is different.
Just 2 small leads. Could be many other things but it's worth checking.
I checked both and the images have all the tags and none have the box ticked.
There is no error on the front end, I really don't get it.. Will try to remove the media and copy the default on over to see if that maybe helps.
The page is: http://22.214.171.124:88/
If that helps demonstrate the problem.