Questions tagged [migration]

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

383 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
1answer
492 views

How do I go about migrating books using MIgrate_D2D?

I've had to rebuild my sites recently due to a hit on the Drupalgeddon bug I thought I closed. I've been trying to migrate everything in easily but it doesn't seem to want to for whatever reason. Now,...
6
votes
1answer
201 views

Is it possible to migrate data into multiple translations of entities?

I'm running a multilingual migration of events (which are stored as nodes) that have keywords on them where there are keywords (stored as terms). The keywords should be stored in a multilingual tags ...
6
votes
2answers
2k views

Reasons for subsequent Broken/missing handler in Views?

In the process of upgrading Drupal 6.x to 7.x I'm facing a problem that makes all my views show nothing relevant. (I believe the problem is here but I'm not sure, I don't know. That's why I'm asking): ...
4
votes
1answer
124 views

How to determine reason for unprocessed files in Drupal to Drupal migration

Finally ran my first file migration from Drupal 6 to Drupal 7 using UI. 3100 Items 3036 Processed 62 Unprocessed 2498 messages I am simply trying to figure out what those 62 files are, and why ...
3
votes
0answers
109 views

Multiple source items per row

I'm migrating content from a Joomla SQL source. The images are stored inside of the text as inline images. This is how my source data looks like: +------------+--------------------------------------...
3
votes
1answer
292 views

Migration sources files problem

I am trying to migrate a drupal 6 to 8 through drupal migrate ui and i am getting a error with the sources files, drupal 8 is not able to read sites folders due is writting a double slash. Does ...
3
votes
1answer
343 views

Migration of content with an UI

My goal is to import data of customers from a csv file to my custom entity. For that I wrote a migration with the migrate_source_csv module as source plugin. This works fine, but the problem is, that ...
3
votes
0answers
75 views

How to disable updates during migration?

For the past couple years, something has confounded me about Drupal Migrate: there is a --update option and a --needs-update option when using Drush, but Migrate seems to update on it's own without ...
3
votes
1answer
101 views

Migration taking increasingly long periods of time

I have a migration and I've noticed that the code, through each batch operation, seems to process less and less items. For example, the first few cycles, it'll say, "processed 600", and 600 or around ...
3
votes
3answers
2k views

How to migrate to translatable fields

I am using the latest Entity Translation module in order to provide a couple of translatable fields for some of my content types. I have a content type which has a translatable field which is called "...
3
votes
2answers
658 views

Where is the Migrate UI page?

In Drupal 8.2.x there is the new migration UI tool. I've enabled it, but I can't find any link going to any UI page. Back in Drupal 7 when you enabled a module, it would have a configure link next to ...
3
votes
1answer
352 views

Importing Group Audience data

I have a site using OG7 and created groups to let users to access to some content as per the user membership and concent-type membership as well. Each user has to belong to a group and I can select ...
2
votes
0answers
86 views

Can't figure out why it won't trigger prepareRow

I have created a simple migration class that extends SqlBase. When I run it with drush and dump the query in query(), I can see that it is working. When I dump a 'hello' in getIds() that fires. ...
2
votes
0answers
350 views

How do I migrate images and image data?

I used the Drupal migration module (browser) to migrate a Drupal 7 site to Drupal 8. Even though I had to restart the migration a few times, it migrated all the users and the nodes. I can't figure ...
2
votes
1answer
923 views

Migrate taxonomy terms with CSV

I would like to import some taxonomy terms with a taxonomy term in it. field_regio2 is a entityreference field to an existing taxonomy term Regio. But for some reason it is not working. Everything is ...
2
votes
1answer
956 views

Migrate row data into drupal text formatted long multiple

I would like to import 3 different row values into a multiple text formatted long field. This is my migrate (plus) map yml: ... field_mytext_formmated: plugin: get source: - ...
2
votes
0answers
202 views

Migrate taxonomy with depth

I need to migrate a CSV file of 3000 Taxonomy terms with depth of 5 levels deep. This is a small sample of the CSV comma-separated values file. About Us About Us, Our Programs About Us, Our History, ...
2
votes
0answers
195 views

Migrate WordPress featured image into to Drupal content type

I have a Drupal 8 site and I've installed the WordPress Migrate module and its dependencies for migrating a WordPress site to Drupal 8. All things are done and imported successfully with help of this ...
2
votes
0answers
81 views

Migrate different content types from other CMS

I want to migrate content from a non-Drupal CMS to Drupal 8 using the Migration API. In the source CMS, I have different types of content that I have to map to Drupal 8 content types. The navigation ...
2
votes
1answer
160 views

How to migrate workbench states from Drupal 7 to Drupal 8?

I have used the Workbench module in my Drupal 7 website. Now I want to migrate this website to Drupal 8. But when I migrate the site, it migrates only content and not the workbench states that were ...
2
votes
2answers
1k views

Set entity reference target_id in migration yml

I migrate Drupal 6 to Drupal 8. In Drupal 8 I have content type that has field with type Entity reference that reference specific taxonomy dictionary. I can't find out how to set Entity reference ...
2
votes
1answer
148 views

Can't install experimental modules

I installed Drupal 8.1.2, but I can't install modules of the category "core (experimental)". No problem with other modules or themes for example. I get no logs and no error message. Hitting the ...
2
votes
0answers
472 views

How to properly programmatically add field collections to an entity in drupal 8?

What is the proper way to programmatically add a field collection to an entity in Drupal 8? I can't find this online. This is what I'm using and it seems to work. The tricky part is setting the ...
2
votes
1answer
61 views

Migrate WordPress blog to Drupal

I'm migrating two blogs from WordPress to Drupal 7. How would one handle migrating user subscriptions from the WordPress blogs? I've already used the Migrate module and it looks like that only handles ...
2
votes
2answers
76 views

Why do my files get lost when migrating a CCK Filefield?

I'm just getting stuck in to migrating D6 to D7 (please note: migrating, NOT upgrading). I'm using the Drupal-to-Drupal data migration module and its UI to define what I need to bring across. One of ...
2
votes
1answer
132 views

Field validation error on nodereference field during D6 to D7 migration

I'm migrating a D6 site to D7. There are several content types that have cck noderefenrce fields that use referenced views for content types that can be referenced. When I run the migration, I get a ...
2
votes
0answers
672 views

Password migration

I know that from Drupal 6 to Drupal 8 we needed to make the MD5 hash on migration, but I thought that from 7 to 8 it wasn't going to need any changes. Drupal 8 Migrate examples doesn't mention ...
2
votes
0answers
31 views

Migrate comments of Recipe module from D6 to D7

Hi I have a site which teaches how to cook different types of food and I use recipe module for listing the recipes of different foods. The site was first developed in Drupal6 and recently I have ...
2
votes
0answers
38 views

Drupal Migrate Questions

I am migrating from a table in the database into a Drupal content type. I have a field that is using a taxonomy reference that has a hierarchy. The problem i am facing is when the taxonomy is in this ...
2
votes
0answers
214 views

How to resolve my fatal error while trying to migrate an existing site to Platform.sh?

I am new to Platform.sh and I am trying to migrate an existing site to Platform.sh, using the Platform.sh documentation. I have successfully imported the code base, the database, and the files. I ...
2
votes
0answers
90 views

How to migrate File Entities - images and docs into D7 from .csv and attach them to nodes?

I've got a simple feature which creates a content type with title and fields - subtitle, body, images a documents. The main thing is that I use media module, so I actually attach file entities - image ...
2
votes
0answers
114 views

Migrate module: (image) sourceMigration gets correct output, but only loads 1 image

On the migrate module, my source migration "ProductImageMigration" gets all the files from the database and loads them correctly into my public folder. Checked and double checked, not a single error. ...
2
votes
0answers
113 views

How can I migrate a site into an organic group

I have several sites that are being migrated from Drupal 6 to Drupal 7. However, most of these sites are very small and all have a lot in common (similar content types, fields, views, etc...). So, ...
2
votes
0answers
183 views

Migrate: createStub() method not being invoked

I'm trying to use Migrate to import some stuff from a database into terms on a site. The terms might be hierarchal, so I'm trying to create stubs for the possible parents. However, my createStub() ...
2
votes
0answers
73 views

Migrating youtube id from a csv file

I have a content type called video with two fields, title and youtube id. Im migrating content to the site using csv files however every time I migrate the youtube id field is always empty. The field ...
2
votes
1answer
423 views

Migrate : Update not working

Im using the migrate module to import data from a json feed. Mostly work fine however, i require that each time the feed is imported , updated records in the source are updated in the destination if ...
2
votes
0answers
56 views

What are the consequences of not having an .htaccess file?

If I have an .htaccess file installed then I get HTTP 500 errors but if I rename it then I can get farther into the site - although not down to the nodes. I'm unsure whether to pursue the problem ...
2
votes
0answers
171 views

Mapping delimited text field to taxonomy field in Migrate

I have a migration from an external (non-Drupal) DB which is currently working correctly. I am trying to add a field from the external DB which contains a delimited list of terms. I have set up the ...
2
votes
1answer
560 views

How to import multi-value fields into profile2 using the Migrate module

I have users each with a profile using the profile2 module. I am using a cookbook based on the Migrate framework to create the users and import profile data. Sample CSV data would be: "member_nr","...
2
votes
0answers
500 views

Migrate Multi-value Filefield (File Description)

Posted this here as well http://drupal.org/node/1943324 I am trying to migrate multi-value file-fields. I checked out the wine.inc but the sample provided doesn't work for me. I tried to use JSON-...
1
vote
0answers
24 views

Migrate Update already imported content from the Json source

I have two JSON source files of product categories which contain duplicate products. Here's the link of the two source JSON files https://gist.github.com/naveenvalecha/...
1
vote
0answers
41 views

Custom migration: Getting error SQLSTATE[42S02]

I'm quite new to Drupal and tried my first Migration from Drupal 6 to Drupal 8. I didn't want to migrate the entire page but only some nodes. So i got a tutorial and wrote a custom migration module (...
1
vote
0answers
26 views

How do I configure the migrate API to assign all parent and child taxonomy terms to an entity during import?

I'm importing media files which have a taxonomy in the media content type definition. Here is the section of my Yaml file that deals with the taxonomy. field_nih_asset_taxonomy_auto: - ...
1
vote
0answers
15 views

How can I use Migrate API to migrate taxonomy with an unknown level of parent child relationships in tact?

I have a JSON file with an entry that looks like this: "taxonomy": "abc/historical_controls/abc2000_2013" In my YML file I have it mapped like this: field_abc_asset_taxonomy_auto: - ...
1
vote
1answer
71 views

File to media migration: use node title for media title

I have my files migrated from D7 to D8 (using d7_file source plugin to an entity:file destination). I then migrated those files to media (using file_entity source plugin to an entity:media ...
1
vote
1answer
95 views

Can I safely delete the migrate tables after migration?

I passed a site from d7 to d8 I wanted to know if I can delete tables db migrate map d7 and migrate messages d7 they are more than a hundred I can delete db tables migrate map d7 and migrate d7 ...
1
vote
0answers
47 views

Body, files, and paths problems

I was suggested so many times to migrate my old project from D6, so I finally decided to jump into this. And as it always happens with Drupal, things never work as expected at first attempt. The old ...
1
vote
1answer
71 views

json migration to nodes

I have a json file with 572 items. I have created the migration script and it runs ok, except that the end results says processed 572 items (1 created, 571 updated) It looks like instead of ...
1
vote
0answers
221 views

Advanced Migration - update nodes

I'm a little bit new in Drupal but experienced in PHP. I would like to migrate data from CSV and assign to existing nodes in DB. My question is about the possibility to match processing rows with ...
1
vote
0answers
111 views

'default_value' plugin does not run if 'get' returns null or empty value

I’ve got a D7 to D8 migration where I’m trying to migrate a field with a null value in D7 to a default value in D8. Process pipeline is similar to this: field_privacy: - plugin: get ...