The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
-1
votes
0answers
11 views

Webform conditional values are missing after drupal7 to drupal8 migration

Migrated a site to drupal8 from drupal7 but conditions that were set in d7 webforms are completely missing. There are many webforms, it's really hard to create the conditionals again. Any help would ...
0
votes
0answers
13 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. ...
-2
votes
0answers
12 views

source database does not contain a recognizable drupal version [on hold]

Error Message "Source database does not contain a recogonizable drupal version" has a few solutions in this site and none work in my current scenario. The Drupal table prefix fix ,Drupal database ...
0
votes
0answers
22 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
21 views

Node update time is not picked up from JSON

I am migrating nodes through json. I am using created and changed time through json. When i am creating the nodes using 'drush migrate-import [migrate-id]' everything is perfect. Node created and ...
0
votes
0answers
20 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": "...
-2
votes
0answers
50 views

How do I migrate a CCK node reference?

I try to migrate cck field node reference drupal 6 to drupal 8. After migrate I don't see cck field_node in drupal 8. Here my node config cck node field_node: - plugin: iterator source: ...
-2
votes
0answers
14 views

Add an Image via a Media Migration inside a paragraph

I already create a file and a media migration to import images. I also created a migration to import text inside a paragraph. The migration works fine. Now I would like to import images inside a ...
0
votes
0answers
18 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
19 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
23 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
19 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
36 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
13 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
14 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
33 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
65 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
22 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
27 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
19 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
11 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
14 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
35 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
31 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
34 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
14 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
32 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
38 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
70 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
23 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
118 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
62 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
18 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
48 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
70 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
45 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
92 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
94 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
56 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
47 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
30 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
103 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: ...
0
votes
0answers
37 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 ...
0
votes
0answers
29 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 ...