Where are the migration files?

Created on 8 January 2025, 3 months ago

Problem/Motivation

I'm completely new to Drupal migrations and the eme module, I was able to run the drush export of everything on the source site, but I have no idea where all the exports ended up. Now I need to import them to the new site, but I have no idea where to move all the files to make sure they get picked up.

Any guidance on these middle steps would be appreciated and updating the Readme / Drupal page with this info would help others :)

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States rex.barkdoll

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

Comments & Activities

  • Issue created by @rex.barkdoll
  • πŸ‡ΊπŸ‡ΈUnited States rex.barkdoll

    Ok, I found the generated module under the temporary folder. [site_root]/tmp/eme/.

    1. I then moved the eme folder to the new site's [site_root]/web/modules/custom/eme/
    2. I had to adjust the file permissions to 644, otherwise the site crashes with a permissions error.
    3. Now the module ([migration_ID] Entity Migration | Generated with EME module) shows up in the Extensions page
    4. I enabled it.
    5. checked that Migrate, Migrate Plus, and Migrate Tools modules were installed and enabled.
    6. Tried to run drush migrate:import --tag my_project_dev --execute-dependencies but got the error:
      [error]  No migrations found. 
      [error]  Message: Failed to connect to your database server. The server reports the following  
      message: /No database connection configured for source plugin variable/.                                                                                    
       * Is the database server running?                                                                                                                          
       * Does the database exist, and have you entered the correct database name?                                                                                 
       * Have you entered the correct username and password?                                                                                                      
       * Have you entered the correct database hostname?
      



      I think this didn't run correctly because I used the module name and not the tag name: Example: using 'community_content' from community_content.info.yml when the tag name (located within that file) is actually 'community'

    7. Running it with the proper tag name did run a migration, but nothing was Processed (0 created, updated, failed, or ignored). Running individual migrations also fails to import anything

    Any insights would be helpful.

  • πŸ‡ΊπŸ‡ΈUnited States rex.barkdoll

    If possible, it might also be helpful to post a video on YouTube of all the steps of creating an export and then importing an EME migration to a new site.

Production build 0.71.5 2024