Save Drupal 7 to Drupal 10 upgrade messages to a single log file, or document extracting them

Created on 26 October 2023, about 1 year ago
Updated 10 May 2024, 8 months ago

Problem/Motivation

When you upgrade Drupal 7 to Drupal 10 using web browser β†’ , there is continuous feedback along the way with both progress information and errors encountered. Messages show up at the top of the page, while old ones disappear at the bottom as the process goes on.

After the upgrade completes, you can review the individual migration messages in the log, under admin/reports/dblog?type[0]=migrate_drupal_ui (redirected from /admin/reports/upgrade), which is great.

However, it would also be nice to have all those messages in a single file, to be able to scan for patterns, order it, copy out lines of interest, etc.

Steps to reproduce

Do an upgrade from D7 to D10. See that the feedback is available in /admin/reports/dblog, but that you have to click on each item individually.

Proposed resolution

Suggestion #1
Save all upgrade D7 to D10 log messages to a single file in CSV-format, for fast browsing. For example in /sites/default/files/upgrade-log.csv.

Suggestion #2
Extract error messages with Drush, with something like this:

drush watchdog:show --type=migrate_drupal_ui --count=10000

Since "... migrate_drupal modules are about to be deprecated ..." documenting is the solution.

Remaining tasks

βœ… Document how to export upgrade error messages with Drush: https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-6-or-... β†’

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
DocumentationΒ  β†’

Last updated 1 day ago

No maintainer
Created by

πŸ‡©πŸ‡°Denmark ressa Copenhagen

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

Comments & Activities

Production build 0.71.5 2024