736Online2 Posted June 7, 2019 Share Posted June 7, 2019 Every time I try to install prestashop on my server I get this response: We can't start installation :( PrestaShop installation needs to write critical files in the folder var/cache.Please review the permissions on your server. This is a LEMP install on DigitalOcean, I have deleted, reinstalled, created a new droplet and everything else possible to get nowhere. Server info: Nginx 1.16.0 PHP 7.3 Ubuntu 19.04 I have also changed the permissions recursively to 755 for the entire folder and no results from that either. Link to comment Share on other sites More sharing options...
736Online2 Posted June 8, 2019 Author Share Posted June 8, 2019 For anyone that runs into this issue I was able to fix it by updating ownership and write permissions using the following: sudo chown www-data: /var/www/html/ sudo chmod -R 755 /var/www/html/ Link to comment Share on other sites More sharing options...
evedeau Posted June 8, 2019 Share Posted June 8, 2019 Hello, I am currently facing this issue... using a lampp for ubuntu 18 I copied the whole folder prestashop / inside /var/www/html and changed permission : sudo cp -avr prestashop /var/www/htmlsudo chown www-data: /var/www/html/ sudo chmod -R 755 /var/www/html/ and restart services (sudo /opt/lampp/lampp restart) but still facing the issue... Did you made another update to fix your issue ? Many thanks !! Link to comment Share on other sites More sharing options...
736Online2 Posted June 8, 2019 Author Share Posted June 8, 2019 4 hours ago, evedeau said: Hello, I am currently facing this issue... using a lampp for ubuntu 18 I copied the whole folder prestashop / inside /var/www/html and changed permission : sudo cp -avr prestashop /var/www/htmlsudo chown www-data: /var/www/html/ sudo chmod -R 755 /var/www/html/ and restart services (sudo /opt/lampp/lampp restart) but still facing the issue... Did you made another update to fix your issue ? Many thanks !! Are you getting the same exact error that I was? Link to comment Share on other sites More sharing options...
736Online2 Posted June 8, 2019 Author Share Posted June 8, 2019 Check your configuration file and make sure you aren't running another user instead of www-data Link to comment Share on other sites More sharing options...
evedeau Posted June 8, 2019 Share Posted June 8, 2019 (edited) Thanks for your answer I am not comfortable with all this permissions... My current user is "emilie". I just added it in group www-data but still the same error Here is the onwer configuration :/opt/lampp/htdoc:drwxr-xr-x 27 root root 4,0K juin 6 20:32 tutopresta/ /var :drwxrwxrwx 17 www-data www-data 4,0K nov. 12 2018 cache/drwxr-xr-x 3 www-data www-data 4,0K nov. 12 2018 www/ Do I have to log out and relog after adding my user to the group before try again ? Edited June 8, 2019 by evedeau (see edit history) Link to comment Share on other sites More sharing options...
736Online2 Posted June 8, 2019 Author Share Posted June 8, 2019 I'm in the car with spotty reception so I won't be of full help until later but I think I had a similar problem before and I think it was that I needed to give root ownership of /var/www and www-data owned /var/www/html Link to comment Share on other sites More sharing options...
androkot33 Posted May 19, 2020 Share Posted May 19, 2020 I think this message is talking about folder inside Prestashop not global /var/cache folder of OS. /var/www/html/"Prestashop folder"/var/cache folder Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now