0

I'm getting an error in exception.log every night.

Error is

main.CRITICAL: Directory "/tmp/analytics/tmp" cannot be created {"exception":"[object]
(Magento\Framework\Exception\FileSystemException(code: 0): Directory \"/tmp/analytics/tmp\" cannot be created

It happens when the cronjob Magento\Analytics\Cron\CollectData executes but var/tmp/analytics/tmp does exist and has permissions set to 775

I think it relates to Advanced Reporting because when I try to access it, I get the 404 page on https://advancedreporting.rjmetrics.com

How would I go about solving this ?

  • Please try to set var director permission to 777. Sudo chmod 777 var -R – Pritam Info 24 Dec 14 '18 at 16:13
  • Hello, doesn't that mean anyone has full access to var/backups as well? – wjpbill Dec 14 '18 at 17:23

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.