1

enter image description here

Please help, Firstly I got the attached error on the site and now since yesterday my staging site is not working.

Live site is hosted on digital ocean, Ubuntu and the only change made yesterday on live site is that I created a sudo user for root, enabled firewall and change upload_max_limit to 8MB for image file upload in apache2 > PHP.ini file.

The staging site was anyway not working prior than that but was giving error, But now it just keeps searching and returns with time out.

Need help please to resolve it. Any test file is also not working.

enter image description here

3
  • give 777 permission to var folder. sudo chmod -R 777 var/* Feb 27, 2020 at 8:54
  • Thank you. I tried disabling UFW and now have the attached error. Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/staging/var/cache/" is not writable in /var/www/html/staging/vendor/magento/zendframework1/library/Zend/Cache.php:209 Stack trace: #0 /var/www/html/staging/vendor/magento/zendframework1/library/Zend/Cache/Backend/File.php(180): Feb 27, 2020 at 9:05
  • Execute on staging: sudo chmod -R 777 var/* Feb 27, 2020 at 9:09

1 Answer 1

0

Give 777 permission to var folder.

sudo chmod -R 777 var/*
1
  • Thank you very much. it is resolved. Feb 27, 2020 at 10:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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