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

Migration hierarchical taxonomy terms with same terms (without unique id)

Currently I am working on a migration of products via an XML file. The products are available in different coatings an colors. The hiëarchial taxonomy of the colors should look like this: Coating ...
0
votes
0answers
24 views

Images are not showing after migration and were also not migrated into the files folder

I am trying to migrate drupal 7 to drupal 8 using default migration modules ( Migrate, Migrate Drupal, Migrate Drupal UI, Migrate Plus, Migrate Source CSV, Migrate Tools ) using this modules content ...
-3
votes
0answers
26 views

Migrate forms to webforms in Drupal 8 from NON Drupal site [closed]

I have the form's submission data available in SQL and i have to migrate that to webforms in drupal 8. Any guidance will be helpful.
0
votes
0answers
11 views

Migration_lookup plugin when field names don't match

I had a migration for image files to media images. It used a migration lookup of: field_media_image/target_id: - plugin: migration_lookup migration: agr_file source: fid Now I am migrating ...
0
votes
1answer
66 views

How can I reference previously imported media entities?

I have been trying to attach media entities to node entities in Drupal 8 with a custom migration but despite numerous attempts and countless hours reviewing forums i'm stumped - I'm desperately hoping ...
1
vote
1answer
77 views

How to skip empty and missing values from a migration

I'm trying to skip fields that are not present in my source file or that are empty, but I keep getting "Migration failed with source plugin exception: Passed variable is not an array or object" This ...
0
votes
0answers
15 views

How can I combine “concat” after “explode” in Migrate API YML?

I have a YML file for creating Commerce Variation and create their multiple images. However, I can not get "concat" to work after "explode" so that I can add the full file path to the exploded file ...
0
votes
0answers
14 views

What's the easiest way of importing content of a custom D6 content type into a D8 site?

I have a Drupal 6 site with three custom content types. We have tried using the Migrate Drupal UI module to migrate these to our new Drupal 8 site, but this resulted in all of the plain text fields ...
0
votes
0answers
13 views

Migrating Drupal 7 to Drupal 8 - Source Plugin Error

I am trying to migrate a Drupal 7 site to Drupal 8, however, I keep getting this error; Resolve all issues below to continue the upgrade. The d6_library_transaction plugin must define the ...
0
votes
0answers
12 views

How to migrate file fields to media entities in a multilingual site?

I'm trying to migrate images from a file field on a multy-language site - migrated from Drupal 6. Most of the pages on the website are from Bulgarian source language and they are translated to English,...
0
votes
0answers
27 views

How can I import and create multiple images from CSV file using Migrate Plus API?

I've done a lot of research but none of the examples seem to fit our use case. I have a migrate plus YML file that creates images from a CSV file that will then be used on Commerce products migrate ...
-2
votes
0answers
45 views

Copy content from a D7 site to a D8 site on a regular basis (or at each change)

I have a D7 site and I am updating this site (D8) on the same server. Few words on the context... you can skip: As it is a complete rewrite, a full migration is not possible. The content is huge but ...
0
votes
1answer
25 views

Migrate two user fields (translation) to translation

I'm trying to migrate two user fields in Drupal 7 (name in two languajes) to a translated field in Drupal 8. I have tried several options but all failed. I have two yml templates (one for the user and ...
1
vote
1answer
44 views

How can you reference taxonomy term by another field in Yaml file?

I created my own Yaml file with fields inside to migrate nodes. I run into this problem. If I use the feeds module, I can set (during mappings) that a given field (taxonomy term reference field) can ...
0
votes
0answers
21 views

Migrate entity reference fields attached to a node or user entity

I'm trying to migrate content from drupal 7 to existing drupal 8 website. I created a custom module with configs to make custom migration. I have an entity reference field in drupal 7 referenced to ...
-1
votes
0answers
23 views

Migrate User images from external database

I want to migrate all user images while migrating users from an external table. When I am going to migrate 'users' its showing Migration users did not meet the requirements. Missing migrations ...
0
votes
1answer
70 views

Getting Error : “You must declare ”ids“ as a unique array of fields in your source settings.” while trying to migrate for paragraph in Drupal 8

I have created a yml configuration for migration from CSV source into drupal using composer. After running the "drush migrate:import mbe_book_paragharphs", I am getting the error as You must declare "...
-3
votes
1answer
100 views

How to import a million of nodes? Very slow import

I've been dealing with this problem for several days. I need to import around 1,600,000 nodes (one time). Everything is set correctly, but the speed is horrible. Both on the shared server and on the ...
1
vote
0answers
22 views

Migration executes from drush but not from UI

I have a list of migrations (custom ones but following the guidelines). The migrations have no problems being executed from console with drush mim but if I try to execute them from the migrations UI I ...
0
votes
0answers
21 views

XML migration body field process plugin

I have my migrations pulling in my field data. However, I cannot figure out how to get the text_format set in my YML file so the HTML doesn't show up on import. I have my content type body text format ...
-1
votes
2answers
68 views

Migrate user password hash

We are migrating our old site from plain PHP to Drupal 8. Passwords are hashed with MD5 in the old site; I need to migrate them in Drupal. I tried the following code, but it takes the password as ...
0
votes
0answers
24 views

Drupal Site Migration from FreeBSD 12 to Ubuntu 18.04 SQL database unknown behavior

I am currently trying to migrate the Drupal Site from FreeBSD 12 to Ubuntu 18.04. All the configurations are copied and moved to Ubuntu 18.04. Everything seems fine and I was able to create the Drupal ...
0
votes
0answers
19 views

How to use migration to update field content ant not replacing if it already exists?

In a custom module (assoc), I have a custom Content Entity (Member). I migrated Member content from a Drupal 6 site using Migrate Source CSV, Migrate Plus, Migrate Tools and this migration file: id:...
1
vote
0answers
25 views

Start migration via rest or from a button within a view

I have a bunch of migrations that update a bunch of nodes. I want to automate the process and also be able to rollback / add / update specific nodes for specific migrations. Basically I need a ...
0
votes
0answers
30 views

Migrate into paragraphs without parent import

If I have a data source with some values, can I process those into a paragraph attached to a node in Drupal 8 without having to run a prior migration to create the paragraphs first (and then relying ...
0
votes
0answers
37 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 = ...
-2
votes
1answer
34 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: ...
0
votes
0answers
79 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
29 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
45 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
43 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
73 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
30 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
197 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
54 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
33 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
61 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
71 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
22 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
32 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
22 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
71 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
36 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
93 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
50 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
28 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
64 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
53 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 ...

1 2 3 4 5 24