문제

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 ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top