Skip to main content

Questions tagged [migrations]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
13 views

How do I migrate a list field to a taxonomy term reference field

I am trying to figure out how to migrate a text list field (field_department) in Drupal 7 to a taxonomy term reference field in Drupal 10 (field_team_department). This is what I'm working with right ...
Megan's user avatar
  • 349
-1 votes
0 answers
22 views

Use entityquery to load entity by "mid" (migration id)

on Drupal 10 I'm trying to search for an entity by migration ID, "mid". The $media object has a "mid" property, but if I try to run this code: $results = \Drupal::entityQuery('...
arrubiu's user avatar
  • 3,220
0 votes
0 answers
39 views

Migrated site redirects pages to front page on localhost

I migrated a Drupal 10 website that was created with my online server hosting applications, to a localhost (WAMP). The migrated site only shows homepage and redirects all other pages to the localhost ...
fatso's user avatar
  • 1
0 votes
0 answers
24 views

Migrate and taxonomy term: missing bundle

I'm using migrate and migrate_plus to migrate contents. I've a problem with taxonomy_terms. I'm on 10.3 core, with stable versions of all modules. This is my xml (only with 1 item, for the example): &...
arrubiu's user avatar
  • 3,220
-1 votes
2 answers
67 views

Is there a way to know which Drush command is executed from within a hook implementation?

Here is my use case. I'm importing nodes with the classic migration API and goes through some hooks (like hook_node_presave, hook_node_delete...). I also have another drush command that synchronise ...
pbonnefoi's user avatar
  • 1,844
0 votes
1 answer
51 views

Migrating webforms

I am trying to migrate webforms from a site running drupal 8.4 to 9 with the former's database as source. The source site has more than 1000+ forms, so I prefer to opt for the migration framework ...
optimusprime619's user avatar
0 votes
0 answers
26 views

Replacement for content_entity migrate source plugin

I've been using the content_entity migrate source plugin for updating content structure within a site — for example, if I want to change a field's type, or move a subset of nodes of one content type ...
jlstrecker's user avatar
0 votes
0 answers
60 views

What are all the steps needed to migrate from Video Embed WYSIWYG to Core Media (images/video fields too)?

As the title suggests, I'm in the process of upgrading from Drupal 9 to 10 and would like to finally migrate over to Core Media, as opposed to just using inline video/images/files as we have for the ...
ACanadianCoder's user avatar
-2 votes
1 answer
40 views

Migrate Markdown files to Content type [closed]

I am working on a migrating Markdown files from a repo into my Drupal site and not sure if this is possible. I have created a new content type that is just the title field and the body that accepts ...
ThankYouNeco's user avatar
0 votes
1 answer
27 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
  • 450
0 votes
0 answers
38 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
31 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
87 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
15 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
64 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,423
0 votes
0 answers
56 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
81 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
75 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
  • 377
0 votes
0 answers
108 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
52 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,362
1 vote
2 answers
113 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
109 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,203
0 votes
1 answer
50 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,439
0 votes
0 answers
72 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
139 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
35 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
124 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 ...
user avatar
1 vote
2 answers
258 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
146 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
225 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
19 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
87 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
87 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
76 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
119 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
106 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
95 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
2 answers
357 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
338 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
128 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
55 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
186 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
252 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
84 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
208 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
98 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
160 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
187 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
64 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
58 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

1
2 3 4 5
29