Update on README.md with Step-by-step

Created on 12 March 2020, over 4 years ago
Updated 19 February 2024, 9 months ago

Hello everyone!

To help the users I've created a patch with step-by-step that works well.

✨ Feature request
Status

Needs review

Version

1.0

Component

Documentation

Created by

πŸ‡§πŸ‡·Brazil renatog Campinas

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.

  • πŸ‡ΊπŸ‡ΈUnited States arnoldbird

    Copy the "migration_templates" and "src" folders from the webform_migrate directory to your existing webform directory;

    Please don't say "existing webform directory." That could mean either the destination site or the old site. Both exist.

    Please say explicitly whether you mean the old site or the new/destination site.

  • πŸ‡ΊπŸ‡ΈUnited States arnoldbird

    In the new webform/migrations dir, copy either the d6/* or d7/* files up a level, i.e. webform/migrations/d7_webform.yml;

    I don't know what files you mean by "the d6/* or d7/* files." What d6 or d7 files do you mean?

    There is no "webform/migrations" directory. Do we need to create that directory? Do we need to copy the migrations directory from the webform_migrate module directory to the webform directory?

    After reading the instructions in the latest patch, I still don't know how to use the module. It seems like one or two steps are missing.

    Thank you.

  • πŸ‡ͺπŸ‡ΈSpain candelas

    Hello and thanks

    I am not able to migrate my D7 following your instructions:

    1. Copy the "migration_templates" and "src" folders from the webform_migrate directory to your existing webform directory;
    2. Then I delete D6 folders that I have just copied
    3. Then in terminal (I have in settings.php the legacy-db-key)
    4. drush migrate-upgrade --legacy-db-key=migrate --legacy-root=/var/www/html/test-migrate/ --configure-only
      The list that I get in the terminal doesn't have any with webform.

    5. Then I run
    6. drush migrate-import upgrade_upgrade_d7_webform --execute-dependencies; drush migrate-import upgrade_upgrade_d7_webform_submission --execute-dependencies;
      And I get this error:

      In MigrateToolsCommands.php line                                     
        Migration upgrade_upgrade_d7_webform does not exist
      In MigrateToolsCommands.php line 933:                                             
        Migration upgrade_upgrade_d7_webform_submission does not exist

    Thanks for any help :)

  • πŸ‡ͺπŸ‡ΈSpain candelas

    I found https://www.drupal.org/project/webform_migrate/issues/2930108#comment-12... β†’ and changing what he says
    !!important!! Remove this line from both config files: migration_group: migrate_drupal_7 -- this can leave you with unwanted config cruft if you try to rollback or start over completely.
    I could import them and run from /admin/structure/migrate.
    But it imports the forms without the fields, so I am not interested in this migration.
    Thanks a lot and I hope it helps other :)

  • Status changed to Needs work 11 months ago
  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    The info file changes are not accurate and should be narrowed down to what is technically necessary.

    I think it'd also be beneficial to explain how to modify the d7_node_complete_webform migration to include the webform structure.

  • Status changed to Needs review 11 months ago
  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    I made some improvements to the README.md file and fixed the dependencies in the info file.

  • πŸ‡¨πŸ‡¦Canada andrew.wang

    Fixed some typos from #25.

Production build 0.71.5 2024