0

After I make a backup from adminhtml, it shows up in the list and it shows up in the backend too. I have an option to download the backup TGZ file, as shown here:

enter image description here

When I click it though, the download fails. Chrome says "Failed - Network error": enter image description here

This happened after I accidentally deleted the entire var/ folder under my Magento root directory.

How do I fix this?

0

Can you create a var/ folder and give it 777 permission. Use below Command:

magento_root>  chmod 777 -R var/

After that check .htaccess in var/ folder and replace its content with :

#Order deny,allow 
#Deny from all

Hope this helps you !!!

| improve this answer | |
  • Are the hashes necessary in the .htaccess file? – Mingle Li Aug 4 '18 at 21:09
  • No it's not. This file restrict the download from var/ folder. May be now you are able to download the backup tz file. – Saurabh Dwivedi Aug 6 '18 at 5:53
  • Did not work. All tgz files are chmoded to 777 but same error occurs. Do i need to reflush cache or something? – Mingle Li Aug 6 '18 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.