Closed shystruk closed 6 years ago
Hi,
I tried to run - bash m-bin-magento setup:di:compile and got this error.
Autoload error: We can't read some files that are required to run the Magento application. This usually means file permissions are set incorrectly.
I found some solution here https://magento.stackexchange.com/questions/164422/magento-2-getting-autoload-error/164434.
find . -type f -exec chmod 644 {} \; find . -type d -exec chmod 755 {} \; find ./var -type d -exec chmod 777 {} \; find ./pub/media -type d -exec chmod 777 {} \; find ./pub/static -type d -exec chmod 777 {} \; chmod 777 ./app/etc chmod 644 ./app/etc/*.xml
and it causes me another error:
bash: /../vagrant-magento/magento2ce/bin/magento: Permission denied
I do this chmod +x bin/magento and previous error returns back :)
Any ideas? Thanks
The problem was in shh access. I cloned the repository with HTTPS and had this issue. When I cloned with SSH the issue has passed :)
Hi,
I tried to run - bash m-bin-magento setup:di:compile and got this error.
I found some solution here https://magento.stackexchange.com/questions/164422/magento-2-getting-autoload-error/164434.
and it causes me another error:
I do this chmod +x bin/magento and previous error returns back :)
Any ideas? Thanks