10.3 : Scheduler settings cannot be migrated due to RequirementsException

Created on 19 February 2025, about 1 month ago

Problem/Motivation

After upgrading to drupal 10.3.10 and running a migration, DrupalSqlBase is throwing a notice. Plan to update to 10.4 soon.

Scheduler settings cannot be migrated due to RequirementsException: The module system is not enabled in the source site., source_module: system., line 118 in /mywebsite/web/core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php

But the module system is enabled. No error on other drush command, only drush mim is throwing the notice. No lead to solve this yet.
The bug appears right after I did "drush cr" and run my command for the first time.
EDIT: problem is on all migration* commands

Steps to reproduce

1. Upgrade to drupal 10.3.10
2. Run drush mim --update --tag=mytag

Here's the stack trace :

    ./web/modules/contrib/scheduler/scheduler.module:1364 { …}
    ./web/core/lib/Drupal/Core/Extension/ModuleHandler.php:552 { …}
    ./web/modules/contrib/hook_event_dispatcher/src/HookEventDispatcherModuleHandler.php:88 { …}
    ./web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:386 { …}
    ./web/core/modules/migrate/src/Plugin/MigrationPluginManager.php:259 { …}
    ./web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:213 { …}
    ./web/modules/contrib/migrate_tools/src/Drush/Commands/MigrateToolsCommands.php:923 { …}
    ./web/modules/contrib/migrate_tools/src/Drush/Commands/MigrateToolsCommands.php:471 { …}
    Drupal\migrate_tools\Drush\Commands\MigrateToolsCommands->import() {}
    ./vendor/consolidation/annotated-command/src/CommandProcessor.php:276 { …}
    ./vendor/consolidation/annotated-command/src/CommandProcessor.php:212 { …}
    ./vendor/consolidation/annotated-command/src/CommandProcessor.php:175 { …}
    ./vendor/consolidation/annotated-command/src/AnnotatedCommand.php:387 { …}
    ./vendor/symfony/console/Command/Command.php:326 { …}
    ./vendor/symfony/console/Application.php:1096 { …}
    ./vendor/symfony/console/Application.php:324 { …}
    ./vendor/symfony/console/Application.php:175 { …}
    ./vendor/drush/drush/src/Runtime/Runtime.php:110 { …}
    ./vendor/drush/drush/src/Runtime/Runtime.php:40 { …}
    ./vendor/drush/drush/drush.php:140 { …}

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024