Problem/Motivation
I'm quite sure people working on this are aware, but as I couldn't find any issue dealing with this yet, I'm creating this one here. When you have a site that was installed using a distribution like for example thunder or lightning, the update form just displays the following exception triggered in Updater::getCorePackageName() :
Could not determine the Drupal core package in the project-level composer.json.

Steps to reproduce
- Setup a site using an install profile that required drupal/core inside the profile's composer.json
- Enable automatic_updates
- Navigate to /admin/reports/updates/automatic-update
Proposed resolution
Remaining tasks
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2021-10-06 11-46-37.png | 380.27 KB | s_leu |
Issue fork automatic_updates-3240971
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
s_leu commentedComment #4
tedbow@s_leu thanks for filing this issue.
I haven't had chance to look at this yet but I created #3241105: Ensure core package is validated in readiness check and pre-start because in any case this should not cause a hard failure and should be checked before an update is started.
Comment #6
phenaproximaComment #7
tedbowComment #9
phenaproxima