Keywords: PrestaShop - AWS - Technical issue - Permissions
bnsupport ID: 22a2d758-c72c-d5d4-0d87-03a12efbf9ee
I have two issues with my website. I've already read your help page: https://docs.bitnami.com/general/how-to/troubleshoot-permission-issues/
I'm running prestashop.
If I run the command on SSH: sudo chown -R bitnami:daemon /opt/bitnami/apps/prestashop/htdocs
Then the website shows the error 500 and the following issue is in the error logs:
[Wed Dec 18 16:56:25.544399 2019] [proxy_fcgi:error] [pid 6646:tid 140195689707264] [client 220.127.116.11:59039] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught InvalidArgumentException: The directory "/opt/bitnami/apps/prestashop/htdocs/var/cache/prod/doctrine" is not writable. ....
if I run the command on SSH: sudo chown -R daemon:daemon /opt/bitnami/apps/prestashop/htdocs
Then my website works but pictures don't showup. The following issue is in the error logs:
[Wed Dec 18 16:55:53.180103 2019] [authz_core:error] [pid 6846:tid 140195391244032] [client 18.104.22.168:58840] AH01630: client denied by server configuration: uri /img/p/1/7/x17-home_default.jpg.pagespeed.ic.x3StRfWVxk.webp, referer: http://22.214.171.124/index.php
Could you explain me how to solve those issues ? So I don't bother you again if it happens.