I've two instance of magento, both the source code are the same, because of instance 1 DB is corrupted, i copy the instance 2 db to replace instance 1, after that the website of instance 1 images cache is not generating correctly for example,
In the product details page, the image cache show the following link: http://example.com/media/catalog/product/cache/9c7478ef2dd1321ee5c373d7121355a1/j/a/example_a11-0828.jpg
but the actual "9c7478ef2dd1321ee5c373d7121355a1" folder does not exist in /pub/media/catalog/product/cache, but the image actually exist in 9f6f32f83a91f8036df18f8d1ffe4bea folder,
anyone know how to fix it? i've tried to run bin/magento catalog:image:resize, it can't solve the problem.