core modules won't update with Drupal 10.2.1

Created on 8 January 2024, 8 months ago
Updated 17 January 2024, 8 months ago

Problem/Motivation

When I updated to 10.2 from 10.1.7 the site is working but when I do the Database updates there are modules that are
not updating...the 1st 3 ran but is stuck on 21 out of 24.....Some modules have database schema updates to install. You should run the database update script immediately......can anyone suggest how to get these to update....??

system module
Update description for form modes.
Update description for view modes.
Add new default mail transport dsn.
Add new default mail transport dsn.
Remove redundant asset state and config.
Remove redundant asset query string state.
Updates system.theme.global:logo.url config if it's still at the default.
big_pipe module
Clear the render cache.
ckeditor5 module
Updates Text Editors using CKEditor 5.
Updates Text Editors using CKEditor 5 to native List "start" functionality.
file module
Add default filename sanitization configuration.
filter module
Sorts filter format filter configuration.
help module
Grant all admin roles the 'access help pages' permission.
Install or update config for help topics if the search module installed.
Uninstall the help_topics module if installed.
path_alias module
Remove the path_alias__status index.
update module
Updates update.settings:fetch.url config if it's still at the default.
views module
Add labels to views which don't have one.
Remove default_argument_skip_url setting.
Remove the skip_cache settings.
Removes User context from views with taxonomy filters.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ’¬ Support request
Status

Closed: duplicate

Version

10.2 ✨

Component
UpdateΒ  β†’

Last updated 2 days ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @tedbow
  • πŸ‡ΊπŸ‡ΈUnited States @dww
Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Kent8
  • I can see the php files that need to be executed but not sure how to run them manually....

  • Does anyone know why the update.php would just stop at the System module update and not proceed....it starts with 24 updates and when it gets to 21 it just doesn't go any farther.....I don't see any error messages listed to give me a clue....??

  • πŸ‡ΊπŸ‡ΈUnited States cilefen

    You may not be aware of this, but the core issue queue isn't an ideal place for support. You will probably do better in the #support channel on Slack or on https://drupal.stackexchange.com.

    Part of the situation here is that I can't tell from what you've written which specific update is not completing. Can you determine the name of the one in question? The others truly don't matter.

  • I believe it is this one system module and the jobs inside its php file.....I'm not generating any kind of error....just says updating and never does....just sits there....

    system module
    Update description for form modes.
    Update description for view modes.
    Add new default mail transport dsn.
    Add new default mail transport dsn.
    Remove redundant asset state and config.
    Remove redundant asset query string state.
    Updates system.theme.global:logo.url config if it's still at the default.

  • πŸ‡ΊπŸ‡ΈUnited States cilefen

    I can't find any of those strings inside Drupal. Could you literally take a screenshot of the these? Are you using Drush or update.php?

  • I'm at home currently....but the system module has the update program it runs inside its ....core -> Modules -> System....the php file it runs has update in the title..
    All those jobs above are in that php update program.....for some reason none of the update programs run for each module above .....the big pipe module only has one update and couldn't get it to run manually.....I thought maybe there was a setting turned off or something to get them to run......

  • πŸ‡ΊπŸ‡ΈUnited States cilefen

    I understand that you are using update.php and I understand little else of what you typed. Please provide the screenshot I asked for. It isn't necessary to explain Drupal to me.

  • I would get you a screenshot but I can't get to it at my home....there are 9 core modules below that update by launching update.php .....there are 21 jobs below that didn't....each module has some jobs listed underneath them below..,..update.php executes the update files inside the modules directory located at core->modules......they aren't being executed....a screenshot won't be much different than the listing below because I copied them from the screen....the word Updating was the only thing I didn't copy....

    Example : Updating

    system module
    -----------------------------
    Update description for form modes
    Update description for view modes.
    Add new default mail transport dsn.
    Add new default mail transport dsn.
    Remove redundant asset state and config.
    Remove redundant asset query string state.
    Updates system.theme.global:logo.url config if it's still at the default.

    big_pipe module
    ---------------------------
    Clear the render cache.

    ckeditor5 module
    -------------------------------
    Updates Text Editors using CKEditor 5.
    Updates Text Editors using CKEditor 5 to native List "start" functionality.

    file module
    --------------------
    Add default filename sanitization configuration.

    filter module
    ---------------------
    Sorts filter format filter configuration.

    help module
    ----------------------
    Grant all admin roles the 'access help pages' permission.
    Install or update config for help topics if the search module installed.
    Uninstall the help_topics module if installed.

    path_alias module
    --------------------------------
    Remove the path_alias__status index.

    update module
    -------------------------
    Updates update.settings:fetch.url config if it's still at the default.

    views module
    -----------------------
    Add labels to views which don't have one.
    Remove default_argument_skip_url setting.
    Remove the skip_cache settings.
    Removes User context from views with taxonomy filters.

  • πŸ‡¬πŸ‡§United Kingdom carlbowles100

    I'm having the same issue updating from Drupal 10.1.7 to 10.2.1.

    All of my sites have been updated successfully, apart from one of them.

    The update runs and gets to update 3 of 21 and stops. When I try to go back into run update.php it now gets stuck on 'starting updates' and hangs there forever.

    I've tried clearing caches, running cron, updating entites and nothing seems to fix this.

    Recent logs state the following after running update.php:

    PHP Error:
    Error: Call to a member function getConfigDependencyName() on null in Drupal\editor\Entity\Editor->calculateDependencies() (line 127 of /var/www/vhosts/csbdesign.co.uk/cessaha.co.uk/core/modules/editor/src/Entity/Editor.php)

  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    Thanks, the error in #11 is helpful - this is likely the same issue described in πŸ› 10.2.0 database update failes with "Error: Call to a member function getConfigDependencyName() on null" Needs work

  • πŸ‡¬πŸ‡§United Kingdom carlbowles100

    Thank you, #12 fixed my issue. Uninstalled CKEditor 5 and run the update and it worked.

  • Status changed to Closed: duplicate 8 months ago
  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    Thanks for reporting back, closing as duplicate of the linked issue.

  • I've done everything listed and still just hangs.....I uninstalled CKEditor5 and still didn't update.....I've cleared everything multiple times.....when I run a browser debug it says this is the problem:

    /home/customer/www/url/public_html/site/core/misc/message.js

    Uncaught TypeError: Cannot read properties of null

    at this point in the message.js file below:

    static defaultWrapper() {
    let wrapper = document.querySelector('[data-drupal-messages]');
    if (!wrapper) {
    wrapper = document.querySelector('[data-drupal-messages-fallback]');
    wrapper.removeAttribute('data-drupal-messages-fallback');
    wrapper.setAttribute('data-drupal-messages', '');
    wrapper.classList.remove('hidden');
    }
    return wrapper.innerHTML === ''
    ? Drupal.Message.messageInternalWrapper(wrapper)
    : wrapper.firstElementChild;
    }

Production build 0.71.5 2024