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

  1. Setup a site using an install profile that required drupal/core inside the profile's composer.json
  2. Enable automatic_updates
  3. Navigate to /admin/reports/updates/automatic-update

Proposed resolution

Remaining tasks

CommentFileSizeAuthor
Screenshot from 2021-10-06 11-46-37.png380.27 KBs_leu
Command icon 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

s_leu created an issue. See original summary.

s_leu’s picture

Status: Active » Needs review
tedbow’s picture

@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.

phenaproxima made their first commit to this issue’s fork.

phenaproxima’s picture

tedbow’s picture

Status: Needs review » Reviewed & tested by the community

  • phenaproxima committed 008b7ef on 8.x-2.x authored by s_leu
    Issue #3240971 by phenaproxima, s_leu, tedbow: Support install profiles/...
phenaproxima’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.