markshust / docker-magento

Mark Shust's Docker Configuration for Magento
https://m.academy/courses/set-up-magento-2-development-environment-docker/
MIT License
2.58k stars 1.01k forks source link

Unable to execute caching command to check logs #1193

Closed bhushanmeetanshi closed 4 months ago

bhushanmeetanshi commented 4 months ago

Description I am not able to check logs

Steps To Reproduce

  1. delete existing var folder
  2. Add product review to check error
  3. allow this lines from composer file
    • ./src/var/log:/var/www/html/var/log:cached
    • ./src/var/report:/var/www/html/var/report:cached
  4. restart container
  5. execute bin/magento c:f command

Expected Result Command should executed successfully. log should be generate

Actual Result Permission error occurred

image

bhushanmeetanshi commented 4 months ago

need to execute this command bin/fixowns solve the issue.

Thanks to me..