Issues Restoring Default Tour Configurations After Migrating from Core Tour Module to Contributed Tour Module in Drupal 10

Created on 8 July 2025, 12 days ago

Problem/Motivation

Following the migration from Drupal 9 to Drupal 10, I removed the obsolete core tour module and replaced it with the contrib tour module. However, I received warnings during the configuration installation with drush cim regarding the installation of the default tour configurations that were in the core tour module.

My environment is running Drupal 10.5.1 and the tour 2.0.10 module.

I noticed that the tour_core module has a large part of the core configuration in its config folder, and tour_core_language has language-related configurations, but they are mainly recipes, and I don't see a clear process in the documentation for these modules to install them correctly so that I have all the configurations that were there before without any regression.

Is there a step I missed when installing the tour module?

> [notice] Update started: tour_update_10300
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.people.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.user_create.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.user_edit.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.appearance.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.extend.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.content_language.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.dblog.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.user_profile_language.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.node_form.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.node_translation.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.node_translation_overview_page.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.admin_content.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.menu_ui.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.field_ui_display.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.field_ui_fields.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.field_ui_form_display.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.custom_block_edit.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.custom_blocks_list.yml): Failed to open stream: No such file or directory tour.install:30
> [warning] file_get_contents(modules/contrib/tour/config/optional/tour.tour.shortcut_manage.yml): Failed to open stream: No such file or directory tour.install:30
> [notice] Update completed: tour_update_10300

Steps to reproduce

  1. Uninstall the core tour module
  2. Install the contrib tour module with composer require 'drupal/tour:^2.0'
  3. Activate the module and export the configuration with drush cex
  4. When importing the configuration into my test environment with drush cim, I receive the above warnings
πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡²πŸ‡¦Morocco c.lompole

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

Comments & Activities

Production build 0.71.5 2024