I'm getting an error in my Magento 2.3.6 when I run n98-magerun2 sys:cron:run analytics_collect_data and overnight in the cron table.

Run Magento\Analytics\Cron\CollectData::execute
Cron-job "analytics_collect_data" threw exception Magento\Framework\Exception\FileSystemException

In File.php line 226:
Directory "/tmp/analytics/tmp" cannot be created Warning!mkdir(): Permission denied

In my development environment I've set the var folder to permissions 777 and manually created the tmp/analytics/tmp folder all with permissions set to 777 but I still get the error.

Any ideas?

没有正确的解决方案

其他提示

Check the group and owner settings in the permission for that folder.

许可以下: CC-BY-SA归因
scroll top