🇬🇧United Kingdom @chriscant

Account created on 27 August 2010, over 14 years ago
#

Recent comments

🇬🇧United Kingdom chriscant

Hello. Could this be released to as a new beta please? We're seeing on our production site and cannot easily install patches. Thanks, Chris

🇬🇧United Kingdom chriscant

There's more info about this issue here for bootstrap5:
https://www.drupal.org/project/bootstrap5/issues/3337690 💬 Upgrade 2.x to 3.x Fixed

In practice you can get things working by running updates from the user interface as drush updb doesn't work.
If you aren't logged in then you will need to set update_free_access in settings.php.
(You don't have to make stable9 visible).

Other help on that thread says that it works using drush 11 but not drush 10.

🇬🇧United Kingdom chriscant

Hi there

I saw the error when I used "drush updb" at the command line.
However the updates ran OK from the Drupal admin menu in the browser.
And now no updates are required from the command line.
I've never had problems from the command line before.
I don't know what was going wrong, but I seem to be sorted now.

Thanks very much, chris

🇬🇧United Kingdom chriscant

The reason I saw this was because the update failed as follows:

> [warning] Post update function bootstrap5_post_update_install_stable9 not found in file bootstrap5.post_update.php
> [error] Update failed: bootstrap5_post_update_install_stable9

The task uninstall_stable_classy therefore did not run

🇬🇧United Kingdom chriscant

A workaround is described here:
https://designkojo.com/base-theme-stable9-has-not-been-installed

Basically you need to unhide the stable9 theme in here: web/core/themes/stable9/stable9.info.yml
You need to comment out this line with a hash:
#hidden: true

You should then enable the theme in /admin/appearance
which can also be done using drush I guess.

Hopefully this will survive an upgrade.

Production build 0.71.5 2024