Hello,
I want to update via System >> Web Setup Wizard >> Extension Manager, and got the following error message:
update-cron.ERROR: Cron readiness check failure! Found non-writable paths: pub/static/.htaccess
I have ensured that cron is configured and running, and both the path and the file exists and is writable.
What's going on and how do I solve this?
Hi @Pentarou,
Can you check if the user that runs the webserver is the owner or has write access to that path?
Sometimes the console user isn't the same than the webserver.
You need to give full permission to your magento instance,
cd <your Magento install dir> find var pub/static pub/media app/etc -type f -exec chmod g+w {} \; find var pub/static pub/media app/etc -type d -exec chmod g+ws {} \;
Clear magento Cache and check again.
Hello Damian, and thank you kindly for your reply.
I'm running a VPS and the user is its owner who has write access to the path.
Hello Rakesh Jesadiya, and thank you kindly for your reply,
I have tried your solution, but it did not solve the problem.
Might be you have deleted .htaccess file from pub/static directory , Kindly create one blank .htaccess file on the pub/static directory and then check.
Also confirm - .htaccess file needed in pub directory as well ,so confirm it is there or not ?
Hi ManthanDave,
I thought so too, so I copied the .htaccess file directly from github, gave full read and write permissions to the file and double checked the path, but that did not solve the problem.
If you deleted samples files, you may have an error such as :
update-cron.ERROR: Cron readiness check failure! Found non-writable paths: /magento2/.htaccess.sample /magento2/.php_cs /magento2/.travis.yml /magento2/.user.ini /magento2/CHANGELOG.md /magento2/CONTRIBUTING.md /magento2/COPYING.txt /magento2/Gruntfile.js.sample /magento2/ISSUE_TEMPLATE.md /magento2/LICENSE.txt /magento2/LICENSE_AFL.txt /magento2/nginx.conf.sample /magento2/package.json.sample /magento2/php.ini.sample /magento2/pub/.user.ini [] []
I have made sure that I have not deleted any other sample files.
I have the same problem, did you find a solution?
Thanks!