Questions tagged [migrations]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
51 views

What might cause nodes to save very slowly when multiple terms are selected in the default tags field? [closed]

Drupal 9.4.5 I have 4,457 tags I imported using migrate_plus and migrate_source_csv There is no hierarchy. In the article content type I have the default tags field with a tag style autocomplete ...
  • 129
0 votes
0 answers
10 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
17 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
13 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
40 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?
0 votes
0 answers
15 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 ...
  • 31
0 votes
0 answers
15 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
47 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
17 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
13 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,017
0 votes
0 answers
50 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
52 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
46 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 ...
  • 26.9k
1 vote
3 answers
65 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 ...
  • 25
0 votes
0 answers
23 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
44 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
18 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
58 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
30 views

CommercePrice input array is invalid for destination [closed]

I have a problem trying to migrate from D7-D9.I'm migrating the products and the field that gives the error is the field_cost. "upgrade_commerce1_product_variation_product:field_cost: ...
0 votes
0 answers
20 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
25 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
39 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
29 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,202
0 votes
1 answer
72 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 ...
  • 405
0 votes
1 answer
160 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
101 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
33 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
38 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
68 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 ...
0 votes
2 answers
323 views

My log is filling up with "Missing filter plugin: filter_null." messages

When I googled for this error, I found numerous hits mentioning the error message appearing during a migration, even stopping it. While I have done a migration from Drupal 7 to 9 that ran smoothly, ...
  • 3
0 votes
0 answers
56 views

Migration does not pick up files

Please forgive me for not going the canonical path with either Drush or Composer. I tried, but could not find documentation to get me started. I'm coming from a Debian installation of Drupal 7 that ...
  • 3
0 votes
0 answers
100 views

Error: Call to a member function getTranslation() on null

I'm trying to migrate/rebuild my Drupal 7 site in Drupal 9. Started with an empty Drupal 9 site set to minimal rather than standard installation and used Migrate / Migrate Drupal / Migrate Drupal UI ...
  • 1
1 vote
1 answer
58 views

entity_generate process plugin issue with node generation

I want to use use entity_generate plugin to create a node for each row of source I'm migrating. I'm getting 'title' source field and want to create a node in some my_content_type, with that title. My ...
  • 405
2 votes
0 answers
214 views

"A non-existent config entity name returned by FieldStorageConfigInterface::getBundles()" errors in watchdog

After migrating from 7 to 9, I'm getting a lot of these errors in watchdog, from views. A non-existent config entity name returned by FieldStorageConfigInterface::getBundles(): entity type: paragraph,...
  • 3,939
1 vote
0 answers
67 views

Update.php gets "The page isn’t redirecting properly" error page

I recently moved our site to a new hosting company. After uploading all the files and importing the database I get this notice when I try to Run Updates and/or accessing the update.php page. The ...
1 vote
0 answers
145 views

Migration fails with "missing migrations" errors

I am trying to migrate a Drupal 7 site to Drupal 9 using the Migrate module user interface. I have read through and followed the corresponding tutorials on drupal.org, but the migration still fails. ...
  • 11
0 votes
0 answers
44 views

DrupalKernel' not found after server migration

i am try to migrate a drupal site to a new server (from cPanel to Plesk). I copyied the files from old server and pasted on new server Export database via phpmyadmin and import on new database on new ...
0 votes
0 answers
73 views

How to execute migration in queue through cron run?

I am migrating some nodes from an API. The API only accepts 60 requests per minute. So it means if 60 items are imported in a minute, all other items will not be imported because the API will return ...
  • 2,727
1 vote
1 answer
93 views

How can I migrate the values from a multi-value D7 taxonomy term reference field into a D9 field?

I have a node migration using the d7_node source plugin. I'm trying to migrate the values of a multi-value taxonomy term reference field into a multi-value taxonomy reference field in D9. There is a ...
  • 7,202
1 vote
1 answer
71 views

Use deriver in Drupal Migration yml

I am trying to use the deriver key in a migration yml to have dynamically build migrations for each bundle of an Entity Type (Drupal 9). I read this and I am trying to use the deriver key to point to ...
  • 1,223
0 votes
0 answers
28 views

How do I update existing paragraphs?

I'm writing migrations to import source data as paragraphs. This is the main migration (which is working). id: resource_chapter_section_text label: Import content from the resource.body column in the ...
0 votes
1 answer
43 views

Media migration results in numerous unexpected file usage records (CSV source): How to do this correctly?

I'm migrating lots of records from a non-Drupal site into Drupal 9. The records have file 'attachments,' and I want these to be media in the Drupal site. I have all the files already on the server ...
  • 129
0 votes
0 answers
83 views

I'm writing a node migration module but only the title gets migrated

How can I get the body migrated as well? When I compared this with other working migrations, there didn't seem to be any differences in the code/anything wrong with mine. I also looked for alternative ...
1 vote
1 answer
48 views

How to migrate files from outside Drupal, with files already where they need to be, creating file entities

I'm doing a migration from a non-Drupal site--so far, for test purposes. I have all the data in CSV files. Since I'm brand new to migrating into Drupal 9 from outside Drupal, I'm learning this in ...
  • 129
1 vote
2 answers
130 views

How migrate rich text fields from outside Drupal without converting html tags to entities

I'm working on a migration from a non-Drupal site into Drupal 9. So far, I'm using migrate_plus, migrate_tools, and migrate_source_csv modules. The data I'm importing has <br> and other tags in ...
  • 129
1 vote
0 answers
67 views

Referencing disabled users during migration

I have migration that creates files. For file owners I'm trying to find existing user by email and if don't find I create one on fly. Problem is that those users I'm creating must be disabled (I don't ...
  • 405
1 vote
1 answer
68 views

Use Node title as default value in alt field of field_image migration

I've been working on a D7 to D9 migrate project, and encountered an issue around field_image's alt value. The D7 site does not have all the field_image alt tag setup, so we'd like to use the imported ...
0 votes
0 answers
57 views

How to prevent drush migrate:import from updating existing content?

Drush migrate:import (version 10.3.6) seems to be updating existing content regardless if the --update option is used or not. What could be the problem? I've tested it both with and without the --...
1 vote
1 answer
290 views

Migrating Wysiwyg/Ckeditor embedded images to embeded images

I am migrating a Drupal 7 site that is using: drupal/wysiwyg:^2.9' (plus the ckeditor library) drupal/media:^2.27' drupal/media_ckeditor:^2.14' In Drupal 7, when you insert an image into the wysiwyg ...

1
2 3 4 5
28