Add migration support via Migrate API

Created on 7 October 2022, over 1 year ago
Updated 17 December 2023, 6 months ago

Problem/Motivation

Data migration using export/import functionality is not working for all media types and does not maintain galleries relations to other entities.

Implementing gallery migration functionality using core Migrate API, would be highly desirable.

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇪Ireland vbalsys

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Fixed 7 months ago
  • ivnish Poland

    Migrating howto:

    1. Go to directory MODULES_DIR/media_gallery/modules/media_gallery_migration/config/install/
    2. Open these files in text editor

    migrate_plus.migration.d7_media_gallery_files.yml
    migrate_plus.migration.d7_media_gallery_media.yml

    replace source_base_path value to yours

    3. Enable the module media_gallery_migration
    4. If you ran d7_file migration (core migration of all files) then go to #6
    5. If you want to migrate only media gallery files run

    drush migrate-import d7_media_gallery_files

    If success then go to #6

    6. Run

    drush migrate-import d7_media_gallery_media

    If success then go to #7

    7. Run

    drush migrate-import d7_media_gallery_entity

    If success then go to /admin/content/media-gallery and check your galleries

  • 🇫🇷France erwangel

    I'm using Media gallery 2.2.3 with Drupal 10.1.7 but there is no folder named media_gallery_migration. Instead there is media_gallery_import folder and the corresponding module is marked "incompatible with version 10.1.7" by Drupal Extend. So what is the solution we have to migrate media galleries from D7 to the latest D10 ?

  • ivnish Poland

    I forgot to create new release with this feature. Please upgrade to 2.2.4

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024