We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [migration]

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

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

Migrate one to many relationship

My D8 site has two entities: resource author The resource entity has a field_authors entity reference field with unlimited cardinality. My source data is coming from 3 tables resource author ...
2
votes
1answer
18 views

drush migrate-upgrade “[debug] key_value table not found. Database may be empty.”

I am trying to migrate a D7 site to D8 following the steps found here . Once I can manage it and make sure I have all the PHP components, Drupal modules and etc. I have 4 sites to update, and one ...
0
votes
1answer
33 views

Migrated content type fields not showing

I'm trying to migrate custom content types with attached fields from Drupal 7 to Drupal 8. Using drush migrate commands I can successfully migrate all content types, but I have problem with fields. ...
0
votes
0answers
19 views

How can I migrate a site to another site with a different installation profile?

How can be D8 sites migrated in Aegir between different installation profiles, and not only between platforms using the same installation profile? There is a solution in Aegir for D6->D7 and D7->D7 ...
0
votes
1answer
28 views

Why would all theme background colors disappear after moving to different server?

A site using MAYO 7.x-1.2 was moved from a Windows IIS to a Linux server. Shortly thereafter, all background colors defined in MAYO settings (and also any custom CSS) have disappeared. Also gone is ...
0
votes
0answers
25 views

Migrate taxonomy terms

I am looking for a way to import Nodes to D8 from a source using Json Api The node is having terms referenced but i cant find a way neither a tutorial to import and then reference thoses terms to the ...
0
votes
0answers
17 views

Basic Authentication for migrate plus - unable to authenticate

The XML feed I was using recently updated to basic authentication. I updated my YML configuration with the basic authentication plugin as follows, but nothing seems to work, also there are no errors. ...
0
votes
0answers
32 views

entity_generate migration plugin with multi value fields

I haven't found any way of using entity_generate with multi value fields in Drupal 8. Does anyone have any experience in how/if we can do this? This is the relevant part of my current field mapping: ...
0
votes
0answers
24 views

How to parse JSON feed from a d8 into another d8 site using Feeds Migrate Module

This is the JSON output from a view using REST export [ { "spotlight-title": "Spotlight 3", "spotlight-body": "<p>This is spotlight 3</p>" }, { "spotlight-title": "...
0
votes
0answers
75 views

How do I migrate a CCK node reference from drupal 6 to entity reference drupal 8?

I try to migrate cck field node reference drupal 6 to drupal 8 reference field?. After migrate I don't see cck field_node in drupal 8. field_node: - plugin: iterator source: field_node process: ...
0
votes
0answers
19 views

Migrating into a taxonomy and mapping terms based on their IDs

I'm working on a migration from a CSV into a Drupal 8 site, creating School nodes that include an entity reference field for a Sport taxonomy. The new taxonomy terms I want to use all exist within ...
0
votes
1answer
21 views

Migrate Geo lolcation drupal 7 field to a drupal 8 manually

I have gone through the /upgrade gui part on my website. However the geo location fields have not copied across. Am I correct in thinking that instead of manually entering the data again, I could: ...
0
votes
1answer
31 views

Using entity_lookup inside an entity_generate migration process plugins

I'm trying to use an entity_lookup process plugin inside an entity_generate process plugin. The YML looks like this field_validation: plugin: entity_generate access_check: false ...
0
votes
1answer
30 views

HTTP error 500 after migration

I was able to successfully take a back up of D7 site and then restore to target D7 site. When I visit the site, I get an error This page isn’t working. ...com is currently unable to handle this ...
0
votes
0answers
38 views

Problem with inline images after migration

We recently migrated from D7 to D8 (8.7.6). The migration went OK with the exception of nodes with inline images in the body fields (see the attached screen shot). The images were created in D7 with ...
0
votes
0answers
15 views

How to migrate a date range field with migrate source yaml?

A little help would be welcome to migrate a date range type field. Here is my migrate_plus.migration.frr_migrate_homepage.yml file id:homepage label: Homepage slides migration_tags: - page - node ...
0
votes
0answers
15 views

Migration Group Not showing in Drupal 8 UI

I have created custom migration module and created two files in config/install folder with the following names migrate_plus.migration_group.unp_taxonomy_terms.yml migrate_plus.migration.industry.yml ...
0
votes
2answers
34 views

Migration with unique index across multiple fields

It is the first time I'm using the migrate module and I want to import some nodes from a JSON file and to specify a unique key that has two distinct fields. I.e so that the row is not imported or it's ...
2
votes
1answer
74 views

Migrate nodes with special characters in title

Given a source's title like This "cool" & "neat" article's title has HTML entities , is creating a title of This &quot;cool&quot; &amp; &quot;neat&quot; article&#39;s ...
0
votes
0answers
25 views

D7 to D8 site migration and location of migration log

I'm using drush to migrate a D7 site to D8. I'm getting several errors in the drush migrate-import --all step. D8 site is installed using a bash script that executes: drush site-install standard -...
0
votes
0answers
29 views

Migrate link field from xml

My XML looks like this: <dynamic-element name="link-extern" > <dynamic-element name="link-extern-text" type="text"> <dynamic-content><![CDATA[Myfirst title]]&...
0
votes
0answers
20 views

Traverse multiple files and folders for import

I need to import a large number of files that are located in multiple folders inside of one main folder (import into nodes). The folders are numbered (ex n0000xxxx, n0001xxxx, etc). How can I traverse ...
0
votes
0answers
14 views

Way to log some datas in file during migration

I have many migrations to operate and I searching to log some datas in files depending conditions (for example, log every external links which no longer work for each imported content). I have many ...
0
votes
0answers
30 views

How to make “Backup & Migrate” not backup my Backups?

I am configuring a backup-automatism with Backup & Migrate to regularly save a copy of the site and my database on the server. The scheduling works quite well and every week a copy of the site is ...
0
votes
0answers
16 views

Migrating into Double field

I am migrating a CSV into D8 node type which has a double field. The CSV has the following structure: I am trying to migrate the year, from the header, into the first double-field subfield (as a ...
0
votes
1answer
39 views

import address data from CSV

I migrate my content from an old D7 site to D8 site. All went well, except the addresses from field address where not migrated to the new address field. Then I use feeds, feeds_migrate, content-...
2
votes
1answer
34 views

Migrating csv data as array into multi-field

How do I migrate a sequence of data into a multi-value field? I am learning D8 migration and working on a large CSV of historic census data from around the world. Example below: id,Country Name,...
0
votes
0answers
35 views

Migrate taxonomy terms with lookup based on term name

I've imported a taxonomy with names into Drupal 8 fine. When I come to reference them in another migration the data only has the taxonomy name not an id. I currently have: process: title: 'Name' ...
0
votes
0answers
16 views

Post-migration editing of inline images in body field

I have many nodes in which the body field has inline images (created in D7 with CKEditor/IMCE/etc.). To make things more complex, the images have a picture mapping for responsiveness via D7 ...
0
votes
1answer
24 views

Update enabled migration module [closed]

I enabled a migration module. Now I would like to make some changes inside the yml file. How can I update my migration? I use migration plus.
0
votes
1answer
34 views

Why is my migration status table empty?

I wanted to delete all migration modules because of that I use drush config-delete migrate_plus.migration.ID After that, I create a new migration module and enable it with drush en migrate_NAME ...
-3
votes
1answer
32 views

Required fields [closed]

I'm doing a migration from csv to Drupal 8 and I'm not sure how to handle the required fields. My content type "Department" has 8 required fields, should I use the plugin "skip_on_empty" in every ...
0
votes
0answers
45 views

How to debug why some content is not migrated from D7 to D8?

I am using migrate_plus to migrate from D7 to D8 and so far it has been a fairly smooth process. I have a particular content type that has 10 nodes in D7 but will only migrate one of them to D8. ...
0
votes
1answer
73 views

Error when running custom migration

I am new to writing migrations. I am attempting to figure it out with what I thought was simple case of migrating a title into a content type from a single XML file. The file has been uploaded to /...
0
votes
0answers
25 views

How to migrate from directory of xml files on same server

I am completely new to using Migration. I need to migrate data from files that are contained in folders inside a directory that has already been transferred to the destination site. How do I set up ...
1
vote
1answer
148 views

How to set the public file path to migrate site files and images through Migrate Drupal UI

I am working on migrating a drupal 7 site to drupal 8 site that has image fields in content types, as well as some pdf files that I am trying to migrate through the Migrate UI. None of those files are ...
0
votes
0answers
29 views

How to recover datas from a class of service in a custom plugin?

So to be a little clearer, I'm creating a source migrate plugin that extends SourcePluginBase and not SqlBase. I get my data from a class of service, but I would like to know how to bind them to the ...
0
votes
0answers
36 views

How can I migrate an Amazon S3 bucket to into Drupal?

SCENARIO I currently have a bucket where all my images are hosted and stored. I currently display them by simply using URLs that link to the images (i.e https://[bucketName].s3.amazonaws.com/[...
0
votes
0answers
80 views

The “text_plain” plugin does not exist

I'm a member of a student group. A couple of years ago some former members build a knowledge management system on top of Drupal 7. It worked great since then but know we want to migrate to Drupal 8. ...
0
votes
0answers
19 views

Migrating without changing structure

I'm trying to to migrate Paragraphs content from my existing Drupal 7 site to a new Drupal 8 site. The content models are not changing. As one of the simplest examples, I'm migrating Paragraphs ...
0
votes
0answers
23 views

url_alias has issues with node_translation

I am migrating a site and after debugging I am seeing the following when the node_translation plugin is executed. Source is taxonomy/term/1 and when transform() is executed pid is set to term instead ...
0
votes
0answers
51 views

Files migration issue

I am following this tutorial on how to migrate files from D7 into D8. I have the migration setup with the following yml configuration: uuid: a685a4e0-1022-4bf2-a787-f6f1bef587ea langcode: en status: ...
0
votes
0answers
85 views

Migration dependency issues

I'm learning D8 migrations and working on roles and user migrations. I copied the default d7_user_role.yml template from the user-migration module in core, and made simple adjustments to the id and ...
0
votes
1answer
48 views

How do I migrate content to a field added with UI to an existing custom content entity?

In a custom module (assoc), I have a custom Content Entity (Person) with these fields: $fields['lastname'] = BaseFieldDefinition::create('string') $fields['firstname'] = BaseFieldDefinition::create('...
0
votes
1answer
120 views

Drupal 8 migrating json data with no array label

I'm learning how to create migrations in D8. However, I have this annoying issue where my migration is listed when I execute drush migrate-status but the total and unprocessed values are shown as N/A, ...
0
votes
1answer
109 views

Migration with duplicate entry error

I'm running migration in Drupal 8, but got a duplicate error below. SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '10b1b105-355b-3c77-8880-a0c247f826f3' for key '...
0
votes
1answer
60 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
59 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
0answers
33 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 ...
1
vote
1answer
118 views

How do I import entity related fields using drush migration?

I am trying to do data migration from a Drupal 7 site to a Drupal 8 site using drush migration. Example: I am trying to import users which has 5-7 fields and I tried to import fields using: ...