cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Magento 2.0.7

Installing Magento 2.0.7

I got some issue in my pre installed magento 2.0,7, to rectify this I removed env.php file to reinstall. I hit on the url and setup begins.

I click on readiness check than it shows 2 error in file permission.

 

/home/cheapmedicinesho/public_html/var/ not writable

/home/cheapmedicinesho/public_html/pub/ not writable

 

I run these command 

 

[root@vp-119045 bin]# chmod 777 /home/cheapmedicinesho/public_html/var/
[root@vp-119045 bin]# chmod 777 /home/cheapmedicinesho/public_html/pub/

 

But still I am getting same error. 

 

I have a preinstall website in directory so var etc pub all folder are already there, I can not delete any folder. I changed the permission but I am stuck in readiness check. Anybody have solution ?

1 REPLY 1

Re: Installing Magento 2.0.7

Hi @SUMIT619,

 

 

Please run the following commands in the root of your Magento instance:

find var vendor pub/static pub/media app/etc -type f -exec chmod u+w {} \;
find var vendor pub/static pub/media app/etc -type d -exec chmod u+w {} \;

 

Also, please make sure that the ownership of the files is correct.

I.E: The ownership of the files in Ubuntu should be www-data, in Mac should be _www.

 

 

Best regards.
Gabriel

 

Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.