Questions tagged [migration]

"Migration" means either the migration of data from from a different framework/CMS to Drupal, or from Drupal to Drupal.

0
votes
1answer
20 views

“public” not supported or disabled in libcurl error

I'm learning how to create a custom JSON migration and referring to the migrate_json_example module, I see the following code in migrate_plus.migration.product.yml. urls: - 'public://...
0
votes
0answers
13 views

Migrate date field from csv to Drupal 8 using format_date

have been trying to import the date fields from a CSV file to Drupal 8 using format_date function. followed these two answers Import a date from CSV to Date field How to convert year to date with ...
0
votes
1answer
38 views

Migrate node with paragraph

I'm trying to figure out how migrating content from a Drupal 7 site to a Drupal 8 site works. I managed to understand how to create a custom module to migrate nodes with regular fields to my new D8 ...
2
votes
2answers
1k views

Set entity reference target_id in migration yml

I migrate Drupal 6 to Drupal 8. In Drupal 8 I have content type that has field with type Entity reference that reference specific taxonomy dictionary. I can't find out how to set Entity reference ...
0
votes
0answers
16 views

How to skip migrating certain entities in Drupal 8 Migration?

How do I skip migration for some entities? To simplify, let's say I have a node type Cow with a field called field_moo. If field_moo is empty, I don't want to migrate that nodes to the target. What ...
-2
votes
0answers
89 views

How can I migrate an Addressfield field to an Address field? [closed]

This is my custom migrate file from adddress module: address\config\install\migrate_plus.migration.d7_field_airport_address.yml. id: d7_field_airport_address label: 'Custom migrate field airport ...
2
votes
0answers
25 views

How do I import only user-related fields?

I am trying to do data migration from a Drupal 7 site to a Drupal 8 site. (No other entities are migrated). I am trying to import users which has 5-7 fields and I tried to import fields using: ...
0
votes
0answers
19 views

Migration with SOAP basic auth

I try to create a migration from a webservice but i can't set the authentication... In my YAML, i have this : source: plugin: url data_fetcher_plugin: http data_parser_plugin: soap ...
0
votes
2answers
25 views

How to attach media item created during migration to media field in node

I am migrating content from Drupal 7 to Drupal 8. There is an audio field that I am currently moving to media via a custom process during migration. When I get the id of the new media created I can't ...
0
votes
1answer
706 views

Methods to migrate webform data [closed]

I was wondering if anyone else has done this. I've got webform data I want to take from a Drupal 7 website to another. Having looked at the Migrate module and migrate extras, there is a destination ...
1
vote
1answer
499 views

Is there a way to trigger migration imports from the admin UI?

I want to use module WordPress Migrate to import content from WordPress into my new Drupal 8 website. I can use the module's button "+Add import from WordPress" appearing on page admin/structure/...
0
votes
0answers
23 views

Database error in migrating from JSON

I had a migration that was working a few months ago on an 8.6 site before the JSON API module was part of core. Nothing has changed on the site I'm migrating to or from, but I'm now getting the ...
-1
votes
1answer
78 views

Error opening socket ssl://api.nodesquirrel.com:443

I am using Backup and Migrate on D7. I am unable to backup to NodeSquirrel due to the following error: TYPE backup_migrate The NodeSquirrel server returned the following error: Error opening ...
0
votes
2answers
34 views

Variable default_bundle in migration? Field collection to varying paragraph types

I'm trying to migrate a D7 field collection to D8 paragraphs, but to a different paragraph bundle type depending on the value in one of the field collection's fields. The logic is as follows: If the ...
0
votes
0answers
18 views

Migrate child/parent taxonomy term from csv

In Drupal 8 How to import parent/child taxonomy term from csv file with migrate. This is my csv file: id,title,body,country,province 1,first,some body,Italy,Rome 2,second,some body,Germany,Berlin I ...
0
votes
1answer
984 views

Fatal error: Cannot declare class error for custom migrate process

Not sure whats happening here, but I'm defining a custom migrate process plugin and I'm getting the error Fatal error: Cannot declare class StrReplace, because the name is already in use, even though ...
7
votes
7answers
4k views

How to import taxonomy with hierarchy?

We're upgrading our site from D7 to D8, which has vocabulary containing multi-level parent-child hierarchy. The list is too long (around 5K-10K terms) to import manually. We've tried using migrate in ...
8
votes
4answers
3k views

How do I migrate file entities into media entities?

I am using the Migrate module for a D7 to D8 migration and I am writing the whole migration manually in code (rather than use the built in D7 migrate module, as I wanted more granual control on the ...
1
vote
1answer
550 views

Creating multiple destinations from one source

I'm writing a Drupal 8 migration from a non-Drupal site where I need to migrate news articles that have inline images in them, sometimes more than 10. I've figured I'll do this in two steps: A ...
0
votes
1answer
600 views

Convert Field Collections into Paragraphs during Migration

I have a content type that uses Field Collections in Drupal 7. I am migrating to Drupal 8. Is there a way to convert the Field Collection Entity into Paragraph during migration?
0
votes
1answer
38 views

Migration via phpmyadmin

We are moving to a Drupal distribution. From all the research we have done, there is no easy path to do Drupal 8 to Drupal 8 migration. We are looking to copy some content via phpmyadmin. Data we ...
-1
votes
1answer
512 views

How to merge tables and files from development to production

I am new to Drupal, but have learned a lot over the last two or three months. I am still fuzzy and perplexed about how to migrate new functionality and/or content from development to production. I ...
0
votes
1answer
33 views

Site migrated to the new server with PHP 7.2 and I can't log in

We're preparing to get our Drupal infrastructure moved from PHP 5.6 to PHP 7.2. In order to start testing, I migrated a Drupal 7.67 multi-site from our current production server to a test server ...
0
votes
1answer
125 views

How to make Title Filed Required

I have migrated my Drupal 7 website to Drupal 8. The content types are showing title as optional and when we save a node without adding the title it's giving the fatal error. How can we make the ...
0
votes
0answers
23 views

file_exists with 'replace' or 'use existing' not working when a variable is passed

Can somebody point out the fault in this snippet for downloading a file entity. I am trying to replace or use existing file dynamically using migrate_plus. When I give a variable it doesn't seems to ...
0
votes
2answers
580 views

How do I migrate the file attachments field from a content type?

My Drupal 6 site has different content types, and there is a File Attachments field added to the content types. While migrating to Drupal 8.1, this field is not getting migrated, but the attached file ...
0
votes
2answers
208 views

Mapping field columns with D8 migrate and d7_node source plugin

I'm trying to write a D8 migrations files but the following one isn't working on the source 'body/value' because it resolves to a null value instead of the intended string. id: my_d7_node_news label: ...
0
votes
0answers
12 views

Ubercart 7x Migration to Commerce 8.x with Drush?

I've been experimenting with upgrading an Ubercart 7.x site to Commerce 8.x and I haven't had much luck so far. The migration process times out when using the migrate UI, so I've tried re-running the ...
0
votes
0answers
26 views

How can I be notified when a migration fails?

I execute migrations everyday with drush in a bash script but sometimes one migration or more fails. Other times the migration ends with 0 created, 0 updated, 0 failed and 0 ignored. I would also like ...
0
votes
1answer
24 views

Migration of field_collection with migration_d2d

In D7 to D7 migrations, when it comes to field_collections I know “ Your field collection migration should be run after the host entity migration. ”. I have done my host entity migration via the ...
1
vote
1answer
507 views

Migrate: external class (migration class) not found

I have a module for my migration. My .info is: name = "Migrate from MHT" description = "Module to migrate my old site content to Drupal 7" package = "ZbLabs" core = 7.x dependencies[] = migrate # ...
-2
votes
0answers
14 views

Drupal 7 to Drupal 8 Article content migration - Images not getting attached to nodes or content

I am trying to Migrate Article content Drupal 7 to Drupal 8 but though the content is getting migrated it is not attaching the images to the nodes or article content.
1
vote
2answers
33 views

How to migrate text format

I'm figuring out how migrating works. When trying to migrate one of my nodes from a Drupal 7 site to Drupal 8 site I can't figure out how to set the Text Format of a field. I found this solution below,...
2
votes
1answer
558 views

How to import multi-value fields into profile2 using the Migrate module

I have users each with a profile using the profile2 module. I am using a cookbook based on the Migrate framework to create the users and import profile data. Sample CSV data would be: "member_nr","...
0
votes
0answers
33 views

Update only existing fields when source has content

When migrating into a pre-existing node, I know that I can specify which fields to update using the overwrite_properties. It looks like if the destination field is included in overwrite_properties and ...
3
votes
2answers
623 views

Where is the Migrate UI page?

In Drupal 8.2.x there is the new migration UI tool. I've enabled it, but I can't find any link going to any UI page. Back in Drupal 7 when you enabled a module, it would have a configure link next to ...
0
votes
0answers
22 views

Is Drupal 8 Upgrade/Migrate not possible over 2 different domains?

I have tried to upgrade a drupal 7 site drupal 8 in both a local dev environment and a live production environment but cannot get the UI to connect from the drupal 8 site to the drupal 7 database. I ...
0
votes
0answers
12 views

Drush migration argument for xml source

I asked this question a while back and it was answered correctly and helpfully. However, I'm currently looking for a different solution. I need a way to create a custom argument which I can use to ...
2
votes
2answers
42 views

How to migrate file uploads from Drupal 6 to 8?

I'm working on a custom migration from Drupal 6 to Drupal 8. Some of the content types have a field used for file attachments. In Drupal 8 this field has the internal name field_attachments. When I ...
1
vote
1answer
252 views

D8 to D8 migrate source plugin?

Migrate Source The migration configuration entity always contains a source key. The value is an associative array containing the name of the plugin and the configuration of it. Only the plugin ...
1
vote
1answer
622 views

Using migrate module to import to a list_boolean field

I'm trying to use the migrate module to import data from a mysql table to Drupal 7. I've created a content type with a field type of boolean and used "single on/off checkbox" as the widget. So in the ...
2
votes
1answer
875 views

Migrate taxonomy terms with CSV

I would like to import some taxonomy terms with a taxonomy term in it. field_regio2 is a entityreference field to an existing taxonomy term Regio. But for some reason it is not working. Everything is ...
0
votes
0answers
22 views

entity_lookup for user entity type

I'm trying to link a field in my spreadsheet file to a user that is previously created with a migration from the same spreadsheet. The Backup column consists of multiple names divided by the backward ...
0
votes
0answers
27 views

Migrating media images from directory in custom module

I'm on drupal 8.7.1. Using following modules: Migrate Migrate Plus Migrate Tools Migrate Spreadsheet Media & Media Library I'm trying to import a bunch of profile images (as media images), ...
0
votes
1answer
32 views

Migration Plus entity_lookup fails

Drupal version: 8.7.1. Used modules: Migrate Migrate Plus Migrate Tools Migrate Spreadsheet I'm trying to generate a taxonomy term if this does not already exist. the migration file: ... source: ...
0
votes
0answers
24 views

Migrate scheduled content

I am in the midst of migrating a Drupal 7 site to Drupal 8 (8.7.1.). I have some content types that use Scheduler to publish/unpublish content. How can I migrate the publish/unpublish dates? I have ...
2
votes
1answer
882 views

Migrate row data into drupal text formatted long multiple

I would like to import 3 different row values into a multiple text formatted long field. This is my migrate (plus) map yml: ... field_mytext_formmated: plugin: get source: - ...
2
votes
1answer
94 views

How to execute a migration?

I'm trying to use the Migrate API module to implement an ETL for some of the content of my Drupal 8 website, but the documentation doesn't explain how to execute the migration once everything has been ...
0
votes
1answer
41 views

JSON:API to Migrating Taxonomy References isn't mapping

OK, for a number of reasons I'm doing a Drupal 8 - Drupal 8 migration using the JSON:API module on the source site. I've run into an issue attaching taxonomy terms to nodes. Here's as far as I've ...
1
vote
0answers
23 views

Migrate Update already imported content from the Json source

I have two JSON source files of product categories which contain duplicate products. Here's the link of the two source JSON files https://gist.github.com/naveenvalecha/...