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
11 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 ...
-3
votes
0answers
22 views

docker on virtual box running out of memory [on hold]

I'm running docker on an oracle vm and running a drupal instance , where i do migrations from a d7 to d8 database both of which are there . the migrations were running fine but lately i get a memory ...
0
votes
1answer
25 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
24 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,...
-2
votes
0answers
88 views

After migration website would not load for anonymous users

we have a drupal 8.7.6 that perfectly works fine when logged in as admin - all pages, functionalities work fine with good performance. When I tried to load the website as anonymous user - it keeps on ...
0
votes
0answers
20 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
11 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
19 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
21 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
30 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
25 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
64 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
22 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
67 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
28 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
34 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
31 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
16 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
21 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
45 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
42 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
0answers
34 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
63 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
51 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
40 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
25 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
28 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
99 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
29 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
25 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
68 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
39 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
2answers
45 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
38 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
42 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 ...
0
votes
0answers
29 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
0answers
16 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
28 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
95 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 ...
1
vote
2answers
74 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,...
0
votes
0answers
37 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 ...
0
votes
0answers
24 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
13 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 ...
0
votes
1answer
25 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 ...
2
votes
2answers
45 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 ...
0
votes
1answer
47 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
32 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
56 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
26 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 ...
0
votes
1answer
55 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 ...