There are many cases where running the database updates can be problematic with warm caches. #3052971: Notice: Undefined index: #include_fallback in Drupal\Core\Render\Element\StatusMessages::generatePlaceholder() β is just a very recent example.
Decorate the cache_factory with a special update cache factory that uses a NullBackend based backend. The special update backend passes on deletes to the real backend so cache flushes occur as expected so once updates are not being done the caches are empty as expected.
Maybe a better fix would be to somehow swap back to the unmodified container - ie. one without UpdateServiceProvider prior to calling drupal_flush_all_caches(). The problemswith this are:
Discuss/review.
Nope.
TBD.
Nope.
Caches are no longer used during Drupal's update process. They are only cleared.
Fixed
8.8 β°οΈ
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.