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
15 views

Webform error in webform_submission entity type

I am getting this error on a migration of a site from server to development. I can see there was some work to patch this but cannot find a solution. views module Update limit_operator_defaults ...
0
votes
0answers
32 views

What kind of hook_entity can be trigerred by a migration on this entity?

I have a custom content entity on which I can run a dedicated migration from csv with a form. The form is used to upload the csv file launch the migration The submit part of the form: $fileId = ...
-3
votes
1answer
31 views

Drupal 8 migrate fields not filled

I'm trying to migrate content to D8 site from sql source. In my migrate_plus.migration.node_article.yml config file I've following: id: node_article label: Article Migration migration_group: ...
-3
votes
1answer
27 views

How can I achieve real time syncing for node queues from D7 to D8 [closed]

I want to synchronize nodes between two or more environments, on multiple different Drupal versions, when a node is edited, regardless of its environment. Both does not share naming convention.
0
votes
0answers
75 views

How to translate menu items with migrate?

I'm importing menu items from CSV using migrate, migrate_tools, migrate_plus and migrate_source_csv. This is an example of how I'm doing it for the original language: source: plugin: csv path: '...
0
votes
1answer
26 views

Migrations dependencies: run one by one?

I have a few migrations in the same group for singe multi-language entity type set up. One migration handles one language. I need to make sure that default English language migration runs first and ...
0
votes
2answers
32 views

Problem w/ Migrate Source CSV importing Body content w/ HTML

I am using migrate_source_csv to import node body fields. The header for my CSV file is: "nid, title, body". The body fields contain HTML. My problem is that, on import, the HTML is being encoded into ...
0
votes
1answer
31 views

Migration from CSV: how to define a default value for autoincremental id field?

I run migrations from CSV using Migrate Source CSV, Migrate Plus and Migrate Tools modules and it works fine. The result of one of these migration is a custom entity which key is a 'id' field that has ...
1
vote
2answers
72 views

Location migration not working

I'm trying to convert a d6 location field into a a d8 geolocation field, but when I run it the field does not get updated, and I don't get any messages either. All of the other node data has been ...
0
votes
1answer
29 views

How to upgrade to Drupal 8 from 7 with clean install? [closed]

I currently have a Drupal 7 site that I want to install Drupal 8, but do a clean install. This means wiping away everything and starting with a new Drupal 8 instance. I have seen many articles on how ...
0
votes
2answers
135 views

How can I inject container to a class with constructor having arguments?

Fatal error: Declaration of Drupal\migrate_upgrade\MigrateUpgradeDrushRunner::create(Psr\Container\ContainerInterface $container, $options = Array) must be compatible with Drupal\Core\...
0
votes
1answer
17 views

Migrating input formats for taxonomies with empty description

I am trying to write custom migrations to migrate my Drupal 7 website to Drupal 8. I am currently using Drupal 8.7.10 and Drupal 7.61 for a copy of the production website. I have tried to migrate ...
0
votes
0answers
49 views

Using native sql query at migration

I want to use a native SQL query for my source migration class, but I can't find a way. I've tried to use the $this->database->query() but in that case, it will fail because there's no ...
0
votes
0answers
24 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
36 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
49 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
21 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
33 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
31 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
20 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
51 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
32 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
89 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
39 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
26 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
44 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
41 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
16 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
18 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
39 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 ...
1
vote
1answer
91 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
35 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
31 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
15 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
32 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
17 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
65 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
38 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
47 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
19 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
25 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
46 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
1answer
66 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
85 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
294 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 ...