Questions tagged [migrations]

"Migration" means any migration of data to a Drupal site.

Filter by
Sorted by
Tagged with
-3 votes
0 answers
24 views

getting paragraph migration error by using yaml files in drupal 9. getting parent paragraph referenece(migrate_nested_paragraphs) error [closed]

id: migrate_paragraphs label: Migrate Paragraphs migration_group: my_migration_group source: plugin: csv path: 'modules/custom/migrated_content/importfiles/migrate_paragraph.csv' delimiter: &...
Anto George's user avatar
0 votes
1 answer
12 views

How can I assign nodes to a group using migrate_source_csv?

I tried breaking things into 2 migrations were the first migration imports nodes from a CSV file and the second migration creates a group relationship. group_content_migration.yml: id: ...
blu's user avatar
  • 438
0 votes
0 answers
25 views

"Unrecognized response content type" in Acquia Migration Accelerate

I am trying to run the Acquia Migrate Accelerate tool on a production D7 database. I've got as far as migrating Public Files and each time it stops after about 2000 out of 7000 entries. I also get the ...
Hadden Uff's user avatar
0 votes
0 answers
19 views

Issue with creating nodes from CSV using Migrate Plus module

I am encountering an issue while attempting to create nodes from a CSV file using the Migrate Plus module in Drupal 10.2. The nodes are successfully created with most fields populated from the CSV, ...
Md Eqbal Ahmad's user avatar
0 votes
1 answer
36 views

How can I change datetime field to date field?

I have a Drupal site successfully migrated from Drupal 6 to Drupal 10. Some date content type fields were changed during migration from date format to datetime format by mistake. Drupal's admin > ...
Robert Zelník's user avatar
0 votes
0 answers
11 views

How do I add geojson polygon coordinate rows to my database

I'm trying to import geojason state data into my database with the nodes having the state name as the tile and a geofield containing the data in between each {}. The abbreviated data set is (elipses ...
Todd's user avatar
  • 1
0 votes
0 answers
42 views

Migration of user, the date cannot be created from a format

How to get migration of users from d7 to d10 working. PHP is 8.2. upgrade_d7_user:field_last_updated:sub_process: format_date: Format date plugin could not transform '2022-02-18 16:59:34' using the ...
Interlated's user avatar
  • 1,413
0 votes
0 answers
29 views

File migration issues

Well - where to start? I'm trying to migrate a medium-sized Drupal 7 site to Drupal 10. I am just going to concentrate on the migrations of files. I'm confused by a few things. One is that I am by ...
Steve Hanson's user avatar
0 votes
1 answer
69 views

HTML style attributes have a prefix in their values after changing directory and settings

I am a sysadmin with some experience in PHP and databases, but a complete Newbie to Drupal. I have a Drupal site I am hosting but it needed to be moved away from the web root to host a new website ...
mr_november's user avatar
1 vote
1 answer
49 views

Migrate process plugin entity_lookup: value_key: field with multiple values

The field "field_erp_code" has multiple values, but it seems that migrate only looks at delta 0 of that field. Can this be done by with the entity_lookup plugin? field_product_category: ...
mgoubert's user avatar
  • 365
0 votes
0 answers
65 views

File Does Not Exist - Drupal Migrate module

I am using the Migrate Drupal UI module to upgrade a simple Drupal 7 site to Drupal 9 using the web browser upgrade form. I am having an issue where when the upgrade runs it says the files do not ...
Madison Beatty's user avatar
0 votes
2 answers
35 views

Migration of Layout builder enabled node to replace block content

I need to iterate through the article nodes that have enabled the layout builder and replace the content block in the layout builder section with a new content block. I need to do this via migration ...
KTM's user avatar
  • 2,372
1 vote
2 answers
98 views

What version of Drupal am I running?

I have a really old site that has been neglected for almost 20 years, it runs Drupal, only problem is that I cannot figure out which version of Drupal I am running. Index.php has this: // $Id: index....
Arjuna Del Toso's user avatar
-1 votes
2 answers
75 views

Migrating 2 fields into a link field

I'm looking to migrate two fields on D7 (one a link field, the other a text field) into a single link field on D10. The meat of the migration is here: source: plugin: d7_paragraphs_item bundle: ...
Scott Joudry's user avatar
  • 4,193
0 votes
1 answer
30 views

How can I export all webform structures?

How can I export forms generated from a Drupal 7 site using webform? The data is meant to be used to recreate a form generator tool by another team (who is not necessarily using Drupal).
Matoeil's user avatar
  • 3,429
0 votes
0 answers
62 views

Migrate file doesn't detect a custom process plugin

I'm working in a migration from a custom CMS to Drupal. In a first step I have migrate the paragraphs; now, I'm trying to migrate the nodes. All the fields are filled except the paragraph field. I ...
Oskar Calvo's user avatar
1 vote
2 answers
87 views

Can we migrate and keep the same user, taxonomy, and node IDs?

When we are migrating a Drupal 7 site to Drupal 10, we have some custom tables which store taxonomy, node, user, and role IDs. Is their a way to migrate a content type preserving the IDs?
Anupriya's user avatar
0 votes
0 answers
29 views

Email field is not migrated

I am trying to migrate an email field from Drupal 7 profile2 (don't think that matters) and it becomes blank on the Drupal 9 instance. The remaining fields migrate without any issues. My process ...
user111465's user avatar
1 vote
0 answers
99 views

upgrade_d7_file_private failed

i am trying to migrate drupal 7 private files to drupal 9 Step 1 :- i have modified below file /opt/httpd/htdocs/staging/sitename/master/web/core/modules/file/src/Plugin/migrate/source/d7/File.php ...
Ali Rizvi's user avatar
1 vote
2 answers
213 views

Should I migrate my site from Drupal 7 directly to Drupal 10, or via Drupal 9?

I have been working through some upgrade issues with a site migration from Drupal 7 to Drupal 10. In my tests I have been running migrations from Drupal 7 to Drupal 9. I wondered if there is any ...
Lemmy's user avatar
  • 201
0 votes
1 answer
93 views

How to update migration field mapping using custom module/form?

I was learning about Drupal migration recently and found out that we can use Migrate Plus module to import migrations as configurations. Hence I started wondering if a migration is imported as a ...
SGupta's user avatar
  • 1
0 votes
1 answer
176 views

How do I move taxonomy, content and content types?

I have a Drupal site which is throw away, but I need to move the taxonomies and content to a clean site, which I have decided to use Drupal 10. I have the Drupal 9 database loaded into the same ...
Daniel Lefebvre's user avatar
2 votes
0 answers
18 views

Field formatter migration: How do I setup the related yml files?

I've custom formatters in Drupal 7. In Drupal 9 I've a custom module to provide the same formatters. How do I have to setup the migration yml-File, if the names of the formatters in D7 are the same as ...
wla's user avatar
  • 21
0 votes
1 answer
66 views

How to assign a paragraph to a node correctly?

I'm currently facing an issue while trying to link paragraphs to a content type in a newer version of Drupal. I have data from an older Drupal website that I need to migrate to a more updated Drupal ...
Tercio Lacerda's user avatar
0 votes
0 answers
73 views

How can I search for existing nodes with "Text format" = "undefined"?

I've upgraded to Drupal 10 from an earlier release, which used the PHP module (not yet available for Drupal 10). Therefore, I had to uninstall the PHP module before upgrading, leaving the "Text ...
user42221's user avatar
1 vote
0 answers
62 views

Help with migration needed - entity_lookup of multiple taxonomy references

I am trying to fetch nodes with multiple taxonomy references from Drupal 9 instance A to instance B. B already has the vocabulary terms, so i want to use entity_lookup in the process for this field to ...
jreinholdt's user avatar
1 vote
0 answers
92 views

The migration of a list field doesn't work

In Drupal 10 I have a field of type List (text) configured with key|label that I need to populate with a migration. My yml file seems not to work, in the 'process' block I tried with: process: ...
nicola's user avatar
  • 41
0 votes
1 answer
90 views

How can I disable the core migrations?

After I enabled the Drupal Migrate module in Drupal 10, every time I do a drush ms I get a page of errors about Drupal 7 migrations like the following one. [error] Could not retrieve source count ...
Naidim's user avatar
  • 204
0 votes
0 answers
76 views

Migrating content from production to development

I have a multilingual site built on the Glazed Drupal CMS installation profile (Drupal 8). It was upgraded to Drupal 9, but the upgrading process lasted around 3 months, and now new content from the ...
Alex Sh's user avatar
  • 11
1 vote
1 answer
259 views

Migrate user roles with static_map

I am trying to migrate D7 users into D10. I have enabled the following migrate modules: migrate migrate drupal migrate plus migrate tools The migration yml is as follows: id: create_user_account ...
ice70's user avatar
  • 131
0 votes
0 answers
22 views

Upgrading book module from v7 to v9 - no rows in book table

I'm upgrading a site from v7 to v9. The entire site is composed of about 10,000 book pages. All the nodes migrate successfully, but the book tree has no contents and the table 'book' has zero rows. It ...
c..k's user avatar
  • 1
0 votes
0 answers
30 views

Why does Drush:migrate not generate config entities for separate content types?

When using Drupal 9 with modules migrate, migrate_drupal, migrate_upgrade and migrate_plus, and calling drush:migrate --configure-only with a Drupal 7 source database I see migrations at drush ...
commonpike's user avatar
0 votes
0 answers
240 views

Is there a way to "migrate" data after an initial upgrade migration?

I was hired into a role that has a Drupal 7 site that needed to be updated to Drupal 10. The project is an 8 month one. I've done the initial process of creating a destination site, running /upgrade ...
JamesH's user avatar
  • 11
1 vote
1 answer
117 views

Data is not saved on the entity when the source and destination field names are the same but have different types

I'm migrating from Drupal 7 to Drupal 9. On the source Drupal 7 user entity there is a Text (list) field with various values. These need to be migrated to a taxonomy_term reference field on the Drupal ...
Leo Pitt's user avatar
3 votes
0 answers
48 views

Can I use pseudofields in anything other than source?

If I use pseudofields in the source property for my custom plugin, they are correctly substituted with the computed values. If I use them in another configuration (as per the example), they are ...
Geat's user avatar
  • 463
3 votes
0 answers
179 views

File can not be copied during migration of media entity

I'm migrating pictures into Drupal (9) media entities (image). System is using AWS S3 for local storage. I have 2 migrations: First migrates external images into drupal's files. It copies files from ...
MilanG's user avatar
  • 539
1 vote
2 answers
203 views

Migration entity_lookup not picking up repeating taxonomy terms

Background: I am creating new articles in Drupal 9.5 from a source database using the Migrate API. The articles optionally have references to one or more taxonomy terms. I have already created the ...
Chandra's user avatar
  • 11
1 vote
1 answer
74 views

Migrating URLs without titles into a link field (where the link title is optional) without them becoming NULL

I'm migrating URLs that don't have corresponding titles into a link field, and when I either don't define the title, or use the default_value plugin to set the default value to '', the value actually ...
Dave Nattriss's user avatar
1 vote
0 answers
169 views

"migrate:status" freezes on "Try to validate bootstrap phase 0"

Drupal community! I am working on migrating from D7 to D9. Both are located on separate servers. I configured D7 database as db to migrate in my D9 settings.php, like this: $databases['migrate']['...
Mykyta Miakushka's user avatar
1 vote
0 answers
97 views

How do I migrate 1000+ nodes iteratively with term hierarchy and links in a CSV file? [closed]

I run for almost 15 years now a Drupal website as a hobby. I had lots of help of the great Drupal commmunity with this. And was able to migrate from drupal 5-6-7 with the modules which were add hand. ...
Martijn's user avatar
  • 11
0 votes
1 answer
136 views

How do I migrate Yii2 passwords?

I migrated users from Yii2 to Drupal 9, where there are password hashes like $2y$13$nhBZ37OKp27jJBLgRkFlOuL5ac8Bda5n2XIZTjKON5gKPfIcxh61y genereated by Yii2 with \Yii::$app->security->...
VVS's user avatar
  • 221
0 votes
1 answer
168 views

I need help migrating a mulit-value link field from string w/ 2 delimiters

I'm trying to migrate a node bundle from one drupal 9 application to another. My source format is an XML document. I'm stuck migrating a multi-value link field. Both the source and destination machine ...
user92354's user avatar
0 votes
0 answers
61 views

Improve performance migration

I have a custom migration like this <?php namespace Drupal\my_import\Plugin\migrate\source; use Drupal\migrate\Plugin\MigrationInterface; use Drupal\migrate\Row; use Drupal\migrate_source_csv\...
Jonh's user avatar
  • 777
1 vote
0 answers
50 views

Migrate Medias update : entity_lookup process error

I'm trying to update Medias already existing in my Drupal using Migrate and the process entity_lookup. The field field_uuid was designed specifically as a matcher for my .json original datas and the ...
CanardPpc's user avatar
0 votes
1 answer
73 views

Converting Node Type to New ECK Content Type

I have a site with several different Node Types. With some of them having different types within them created with a Text(list) fields. For Example: Node Content Type: Chemicals Label: Chemical ...
tawellman's user avatar
1 vote
0 answers
76 views

Migrate + JSON:API node references to entity type references aren't mapping

I have successfully migrated nodes from a D9 source site into a a custom entity type (RedHen CRM contact) on a target D9 site. Next, i am trying to migrate taxonomy terms with a multiple reference ...
jreinholdt's user avatar
1 vote
1 answer
48 views

Commerce Migrate module not listed in migrations

I installed the Commerce Migrate module, and its submodules, commerce_migrate_commerce and csv_example. When I run drush migrate:status, I see the migrations for the csv_example listed but none of the ...
user1015214's user avatar
  • 1,811
1 vote
1 answer
289 views

Migrate Module: How skip whole item (not value)

I have a xml file that creates nodes via migrate. I need to define the following: Each job has a field "location". I have written a process plugin to process the value When the returned ...
mogio's user avatar
  • 687
0 votes
1 answer
139 views

How do I specify ALL source node types in upgrade_d7_node_complete_book migration yaml

Drupal migrate_plus creates a default migration yaml for migrating books: upgrade_d7_node_complete_book.yml langcode: en status: true dependencies: { } id: upgrade_d7_node_complete_book class: Drupal\...
SomebodySysop's user avatar
1 vote
1 answer
76 views

How do I insert migrated file info into a file field?

Successfully migrated public and private files to D9 system using core d7_file and d7_file_private migrations. Now trying to migrate the file info into file fields (entity_reference_revisions:...
SomebodySysop's user avatar

1
2 3 4 5
29