Questions tagged [migrations]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
5 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 ...
0 votes
0 answers
14 views

Save multiple taxonomy terms in migration from array of tids

I'm having some issues with storing multiple taxonomy terms in a field as part of a migration. I've created a custom plugin get_colors that returns an array of existing tids. A custom process plugin ...
  • 593
1 vote
0 answers
28 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']['...
1 vote
0 answers
32 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. ...
  • 11
0 votes
0 answers
45 views

Where migrate from Drupal 7 [closed]

Intro Hi there, My company has a Drupal 7 based site with many custom modules. Because Drupal 7 will be under EOL soon (November 2023), we started the migration process around 8-9 months ago. We ...
  • 9
0 votes
1 answer
46 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->...
  • 211
0 votes
1 answer
46 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 ...
0 votes
0 answers
43 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\...
  • 747
0 votes
0 answers
26 views

As part of an "update" migration, how do I access an existing entity field in prepareRow()?

I know I can access the existing entity id through $row->getIdMap()['destid1'], then load the entity via entity_type.manager service, and then access the field. But is there a more direct way of ...
1 vote
0 answers
26 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 ...
0 votes
1 answer
39 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 ...
0 votes
0 answers
23 views

Commerce migrate and upgrade

I'm going through the process of migrating from commerce 1 -> 2 and everything works from the product / order /payment perspective but I can't figure out how to re-map other content types that ...
1 vote
0 answers
30 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 ...
0 votes
1 answer
21 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 ...
  • 1,781
1 vote
1 answer
23 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 ...
  • 687
0 votes
1 answer
35 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\...
0 votes
1 answer
18 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:...
1 vote
1 answer
90 views

Migrating from D7 / MySQL 5.6 to D9 / MySQL 8

I've read the documentation of upgrading (migrating) from D7 to D9, but didn't see anything about how to handle changing MySQL versions in the process. My D7 instance is on MySQL 5.6, which is ...
0 votes
0 answers
484 views

Argument 2 passed to Symfony\Component\Routing\RouteCollection::add() must be an instance of Symfony\Component\Routing\Route, boolean given

Ubuntu 18.04.6 Apache2, Postgresql 10, Drupal 8.9.6, PHP 7.2.34 (most of the modules require these versions) I've tried trouble shooting this problem for multiple weeks. I'm attempting to migrate a ...
0 votes
1 answer
65 views

Migrate a two-textfield field

I'm looking to migrate a text field from Drupal 6 to Drupal 9. The field has two text fields. The table description returned by describe content_field_telfono ; is the following. Field Type Null ...
-1 votes
1 answer
91 views

Why is node save extremely slow with two or more tags after migrating tags and restoring from backup?

The problem Saving a node with one tag saves normally. With two or more, the save takes upwards of 40 seconds. The problem only occurs after migrating in a set of tags from csv, then creating a ...
  • 193
0 votes
0 answers
186 views

Correct way to migrate multiple paragraphs from custom source

Drupal 9.4.5. Looking to migrate Drupal 7 books into Drupal 9 paragraphs. Will need to migrate multiple paragraphs into D9 multi paragraph reference fields. Below is outline of desired paragraph ...
0 votes
0 answers
49 views

Help with using migration_lookup with paragraph migration

Drupal core 9.4.5. Paragraphs 8.x-1.2 I am attempting to migrate Drupal 7 books to Drupal 9 paragraphs. I will use custom SQL source plugin which provides all the data I need. I have two D9 ...
0 votes
1 answer
107 views

Is it possible to Migrate data directly into the paragraph entity?

Posted this in Drupal Paragraphs issue queue, but no response. Trying here. Drupal core 9.4.5. Paragraphs 8.x-1.2 Every tutorial on Drupal 8/9 paragraphs migration uses the destination plugin: ...
0 votes
0 answers
27 views

Reference a migrated media entity correctly from yaml field

I am importing D6 to D9. I imported the files, and then I created the media entities via a 2nd migration. Now I am attempting to use one of the media files on a Profile. I currently have this in my ...
0 votes
1 answer
47 views

Extracting content from a broken site database

I am working on a broken Drupal site which doesn't load. Is it possible to extract the node data from the database and import them into a fresh Drupal installation?
1 vote
0 answers
52 views

When using only drush for a migration - how is 'source files' / legacy-root defined?

I am using Drush 10.4 with the migrate and the migrate drupal modules to do an upgrade from Drupal 7 to 9. But how do I define the source files? With the migrate upgrade module this can be defined ...
  • 41
0 votes
1 answer
40 views

Migrate filter_format with embedded_data plugin

I'm trying to migrate filter_format from d6 to d9, I'm using embedded_data 'cause migrate_drupal doesn't work with D6; so I'm trying to do it in another way. This is my yml file. id: ...
0 votes
1 answer
90 views

Error migrating files from CSV

I'm trying to migrate a csv file that I build from a drupal 6 site. I have create a view to export those fields: "fid","filemime","filename","image_path","...
0 votes
0 answers
18 views

Migration multilingual from XML

Good, I am developing a migration of a fairly simple xml file to drupal 9, the structure of the xml is as follows: <?xml version="1.0"?> <Articles> <Article> <id&...
0 votes
0 answers
16 views

How to migrate Commerce 2 to Commerce 2?

We've built a new Commerce site in D9 and need to migrate Commerce 2 orders into the new site. Commerce Migrate has migrations for Commerce 1 to 2 but not 2 to 2. How would you go about migrating ...
  • 1,103
0 votes
0 answers
101 views

Migrate Plus custom module no longer working. Can't figure out why

My module used to work flawlessly but recently something must've changed as it no longer works. Below are my processes. drush ms --------------------------------------------------- -------------------...
0 votes
1 answer
129 views

"Unable to remove item at non-existing index"

I am currently working on Drupal 9 build of the Drupal 7 site along with just user migration. The site had existing 20K users and we're migrating them with Drupal Migrate module with simple bring ...
  • 1
0 votes
1 answer
61 views

Setup migration of a Drupal 8 node(s) to Drupal 9

Are there plugins that exist that can read a Drupal 8 source by node type and help get set up for a scripted migration? The content type name is different between the source and the target. I found ...
  • 27.2k
1 vote
3 answers
92 views

Joomla user password to Drupal migration

I have a Joomla 3.10 and a Drupal 9 site. I want to migrate user passwords from Joomla to Drupal. I have seen that Joomla uses bcrypt and Drupal uses sha512 as the password encryption. Is it possible ...
user avatar
0 votes
0 answers
67 views

Nested paragraphs migration

I am working on a migration for paragraphs from Drupal 7 to Drupal 9. On the Page content type, I have a paragraph field (field_hero) which has a feature_set paragraph. That paragraph has another ...
0 votes
0 answers
90 views

How to Migrate paragraphs from CSV one column with multiple values

I'm trying to import a CSV file into content type and paragraphs. But I can't get all the values stored in a cell. Here is my cell: 2022-07-13 2022-05-24,2022-06-06 2022-08-08 & 2022-07-16 2022-05-...
  • 1
0 votes
0 answers
22 views

Migrating contextual PHP validation code

I have custom PHP in my Drupal 7 views page. But migrating to Drupal 9 isn't an easy task as the Views PHP isn't used anymore and require Views Plugins. But I'm not sure where to start as there are so ...
0 votes
2 answers
78 views

Migrate core Date field with two values

I have a content type on a D7 site that has a Date field with two values, "from" and "to". I have the same content type on a D9 (9.4.1) site. It also has a Date field with two ...
0 votes
0 answers
27 views

Migrate update media / node + skip_on_empty plugin

I use a custom migration to update medias from an external JSON source. Inside this migration I use a custom plugin to search in database if the media name exist. If I get a 'mid' I want to update the ...
  • 109
0 votes
0 answers
32 views

Selectively migrate content types and taxonomy

I tried out the built in Drupal 9.3 migration tool where it reads the Drupal 7 data and just imports it over. I have a bunch of non-migratable modules so an error did occur during migration. Is there ...
0 votes
0 answers
48 views

When I try to migrate, the wrong migration plugins are used

I'm trying to migrate a Drupal 6 site to Drupal 9. The problem is that when I try to run the migration I get a lot of errors as if Drupal try to use the Drupal 7 migration plugins instead of the ...
1 vote
1 answer
41 views

How can I load a migration in a KernelTest?

I'm trying to test a migration with a KernelTest, but I'm running into an issue when I try to load the migration plugin. My migration is defined in my_module/migrations/my_migration.yml. In my ...
  • 7,472
0 votes
1 answer
152 views

Drupal migrate - "--limit" option works only for first run?

I have custom source plugin (imports from MongoDB) and when I run migration for the first time like: drush mim article --limit=10 it works well: 10 articles are being imported and process stops. But ...
  • 485
0 votes
1 answer
451 views

How to solve "Mismatched entity and/or field definitions", specifically, "The URL alias field needs to be installed"?

After migrating from 7.89 to 9.3.12 this warning appears: ENTITY/FIELD DEFINITIONS Mismatched entity and/or field definitions The following changes were detected in the entity type and field ...
1 vote
1 answer
188 views

Migrate CSV to content type with paragraphs

I'm trying to import a CSV File into Content Types and Paragraphs, using Migrate module (and mainly this tutorial : https://mtech-llc.com/blog/charlotte-leon/migration-csv-data-paragraphs). For this I ...
0 votes
1 answer
19 views

Cannot set subscriptions_status on migration from csv

Modules used: Simplenews and Migrate. I have a single newsletter, to which I want to subscribe all users imported from the csv file. This is my csv file content: id,email,date_submitted This is my ...
  • 35
-1 votes
1 answer
39 views

Aegir Drupal 7 Website migration

I need desperately help. I clarify that I am not a developer but I have just basic knowledge of Drupal and Aegir. Few years ago a developer guy installed Aegir on VPS (Hostwind) and Drupal. Now ...
0 votes
1 answer
77 views

Migration: Core fields - one missing

I'm writing my first D7 to D9 migration by taking the migrate-upgrade configure files and bring them over one-by-one, and tweaking as needed to pull only over a small subset of my data. Things are ...
  • 71
0 votes
0 answers
128 views

Migrate paragraph field

I have events on my Drupal 7 websites and after the upgrade, I want to migrate those events to the Drupal 9 website. Event CT has a paragraph reference revision field to the 'event_date' paragraph on ...

1
2 3 4 5
28