Open
Description
When installing an extension, updating Magento or running the update cron jobs, the following error is returned:
Error from Updater Application Cron Script:
Found non-writable path(s):
[list of all Magento2 files]
Preconditions
- Magento 2.2.2
- PHP 7.0.28-0ubuntu0.16.04.1
Steps to reproduce
- Confirm apache2 user with
ps aux | grep apache2
(for me: www-data) - Reapply permissions in Magento2 root folder
# find . -type d -exec chmod 775 {} \;
# find . -type f -exec chmod 664 {} \;
# chown -R www-data:www-data .
- Verify permissions have been correctly applied e.g. with
ls -la
- Flush Magento cache
- Run the Readiness Check for any extension
Expected result
- Check Cron Scripts step runs successfully
Actual result
- Check Cron Scripts step fails, reported error is returned
- var/log/update.log is several GBs big reporting the error again and again
Please note that for the sake of experimentation I also tried to apply 777 permissions to all files and folders (this is not in production) and it still returns the same error.
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.The issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 releaseThe issue has been reproduced on latest 2.4-develop branchMajor restrictions or short-term circumventions are required until a fix is available.