Skip to content

Error from Updater Application Cron Script: Found non-writable path(s) #14423

Open
@vmsh0

Description

@vmsh0

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

  1. Magento 2.2.2
  2. PHP 7.0.28-0ubuntu0.16.04.1

Steps to reproduce

  1. Confirm apache2 user with ps aux | grep apache2 (for me: www-data)
  2. Reapply permissions in Magento2 root folder
    # find . -type d -exec chmod 775 {} \;
    # find . -type f -exec chmod 664 {} \;
    # chown -R www-data:www-data .
  3. Verify permissions have been correctly applied e.g. with ls -la
  4. Flush Magento cache
  5. Run the Readiness Check for any extension

Expected result

  1. Check Cron Scripts step runs successfully

Actual result

  1. Check Cron Scripts step fails, reported error is returned
  2. 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

No one assigned

    Labels

    Area: Install & AdministerComponent: CronComponent: SetupIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions