Problem/Motivation

The cache_container table isn't generated until the end of the installation process on Drupal 8.7.11 & 8.8.1 as a result of SA-CORE-2019-009. resulting in a fatal error when attempting to enable this module during installation.

Comments

Arkener created an issue. See original summary.

arkener’s picture

Status: Active » Needs review
StatusFileSize
new426 bytes
arkener’s picture

Title: >= 8.8.1 Fatal on install » 8.7.11 & 8.8.1 Fatal on install
Issue summary: View changes
strykaizer’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm the issue, without patch from #2 it is not possible to install Drupal from config.

Since the error thrown by core is not stating the module causing the issue, this can be very tricky for less experienced developers to find the cullprit, so I think the priority "critical" seems fair.

patch in #2 fixes the issue.

strykaizer’s picture

Adding explicit error for google (this is without patch)

Base table or view not found: 1146 Table 'drupal8.cache_container' doesn't exist

scuba_fly’s picture

Makes sense checking if the table exists before truncating. Lets commit this!

  • scuba_fly committed 48e6f29 on 8.x-1.x authored by Arkener
    Issue #3107042 by Arkener, StryKaizer, scuba_fly: 8.7.11...
scuba_fly’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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