cancel
Showing results for 
Search instead for 
Did you mean: 

images missing from website after database restore

images missing from website after database restore

Hi team,

 

My magento application was crashed somehow so i installed the application again and restore the db backup.

 

Now site is up but all images are missing. I checked the db table catalog_product_entity_varchar and it shows all the images but with path like a/a/image.jpg , /r/o/image2.jpg

 

I am not sure about these paths , could someone please help how i can see my image on site.

 

thanks

Manoj

3 REPLIES 3

Re: images missing from website after database restore

Hello @manoj_kumar29 

I found these for you, let me know if it helps.

https://magento.stackexchange.com/questions/96289/no-images-or-js-on-new-magento-2-installation

https://www.simicart.com/blog/magento-images-not-showing/

 

 

Was my answer helpful? You can accept it as a solution.
175+ professional extensions for M1 & M2 with free lifetime updates!

Re: images missing from website after database restore

Hi Manoj,

 

If you have the old (crashed) magento's files, try copying the var and pub folder to the new magento installation. Once done, execute the following commands:

 

php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy

php bin/magento indexer:reindex

php bin/magento cache:clean

php bin/magento cache:flush

 

Re: images missing from website after database restore

Hi,

 

I dont have the old file but in database i can see the names and sku and path but not sure how to access those paths. Not sure where to find the images. 

 

Thanks

Manoj