Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [migration]

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

3
votes
0answers
72 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
0answers
73 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 ...
2
votes
0answers
228 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
0answers
150 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
36 views

Can I migrate Drupal 6 to 7 by using Features 7 to import Features 6 code?

I am attempting to migrate Drupal 6 to Drupal 7 using the migrate_d2d_ui module, but the cck fields are not coming over correctly. Can I use the Drupal 6 Features module to generate code which can ...
2
votes
0answers
166 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
72 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
0answers
462 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
0answers
43 views

Does provisioning have a place in the Drupal world?

My team is relatively new to Drupal. One thing we have struggled to understand is how to work with it from a DevOps point of view. I realize this is too large a subject for one question so I have a ...
2
votes
0answers
609 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
29 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
203 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
83 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
109 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
112 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
180 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
70 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
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
168 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
0answers
491 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
18 views

Add a default_value to name field in yml file for Drupal 8 migration

process: uid: EIN field_contractor_name: CONTACT name: CONTACT - plugin: default_value default_value: 'Full Name' I am using the migrate source CSV module. I have a few ...
1
vote
0answers
32 views

Migrating taxonomy terms only if the destination doesn't have the term name

Is it possible to migrate taxonomy terms by checking if the source term name matches with the destination term name. I would like to skip the migration if the term is present in destination. Tried ...
1
vote
0answers
43 views

Migration - Paragraph is not attaching to node content type

I have below code My data.csv id, title,location_place_1,location_address_1 1,"test","Test","India" /my-project/docroot/modules/custom/data_migrate/config/install/migrate_plus.migration.data.yml ...
1
vote
0answers
23 views

Duplicate migrations listed after generating config for a migrate-upgrade

TL;DR - I'm trying to build a migration - despite starting from scratch each time, the migrations from my D7 site are duplicated in the drush migrate-status output. e.g. d7_node:contact (in the '...
1
vote
0answers
18 views

Preserve node changed timestamp during update migration?

I'm using the migrate module and Drupal 7 to update existing node content, much of which was not migrated. System of record is set to DESTINATION. Everything works fine, but I'm having some trouble ...
1
vote
0answers
61 views

How to migrate images?

I'm trying to import images, but why does migrate_tools swear on my yml file when I try to migrate. id: migrate__articles_teaser_images1 label: 'Migration teaser images of article' migration_tags: ...
1
vote
0answers
46 views

Why does d7_user_role need a db connection configured when migration group already defines it

I've just done a super basic user_role import and I'm trying to do a user import. Both are in the same migration group and the migration group has a souce key to specify which db listed in settings....
1
vote
0answers
193 views

migrate taxonomy term csv

I want to migrate on my Drupal 8 website a file CSV which contains taxonomies terms. Its a simple file with id,name. I create a module: name: 'Taxo Migration' type: module description: 'Migration ...
1
vote
0answers
35 views

Migration SQL Source with Track Changes

I have a D8 migration from a SQL source to nodes which is working perfectly apart from track_changes is not working, in my YAML I simply have: source: plugin: job constants: slash: / ...
1
vote
0answers
24 views

Migrate + Access $row values in a custom progress plugin

I use migrate/migrate_plus modules fo import datas from xml file. I want create a custom progress plugin to alter a value. I want to use a second value from the row to alter my first value. In my ...
1
vote
0answers
66 views

Migrate the MD5 passwords as it is without rehashing

I am trying to migrate data from a custom database which uses a different method to HASH the password. password = md5(email + password + salt) Berdir has suggested me to create a new authenticate ...
1
vote
0answers
116 views

How to map (yml) D7 nodes with terms, images, comments and references for migrating to D8?

To better understand how a custom content migration really works apart from all the tutorials showing how to install Drupal and press the migrate button with a 3 lines test import file or endless ...
1
vote
0answers
55 views

How to fix the errors I get when migrating from WordPress 4?

On a fresh Drupal 8 installation, I installed the WP Migrate module. I downloaded a snapshot of the WordPress database on my local machine, edited the settings.php file, and added the following after ...
1
vote
0answers
105 views

Migrate API: map fields outside the item_selector

I'm working on a migration of a JSON with this format: { "departement": "19", "conseillers": [ { "code": "A24", "nom": "DUNAC", "prenom": "Roger", }, { "code": "...
1
vote
0answers
201 views

Export an entity with the Migrate module

in my Drupal 8 site, I want to export certain nodes and taxonomy terms into files (JSON or XML) using the Migrate module. (The goal is to have this data in Version control, and to be able to import/...
1
vote
0answers
58 views

Migrating user names with accent causes integrity constraint violation

I'm migrating users from a Drupal 6 to a Drupal 8 site. I use the original d6_user source plugin provided by the User module, so nothing really specific about that part. I'm experiencing many ...
1
vote
0answers
187 views

Entity Reference Multiple Migration

I'm writing a migration module, and I have an entity reference multiple field in which users can choose what type of content they want to add. I need to map to this field from multiple ...
1
vote
0answers
25 views

How can I migrate pdf repository with file titles?

I've a large amount of files to be migrated, stored in a folder under my Drupal root folder. My source schema is a Mysql table like this: id (PK) dmname dmfilename tid dmdate_published I want to ...
1
vote
0answers
61 views

Multiple migration plugins

I'm creating a custom importer with migrate from json files. I've several migrate sources for nodes (called: articoli, canti, autori) and one source for comments (called: commenti). I'm using ...
1
vote
0answers
473 views

Drupal 7 to drupal 8 Migration - field collection fields

I have been trying to migrate my Drupal 7 site to Drupal 8.25. I have more than 20 contents type, and all are using field_collection module. I have successfully migrated to drupal8, but as field ...
1
vote
0answers
67 views

createFromFormat validation fail

I have migration where I have to migrate date field. Migration has problem with date format. After some debugging I have found that I have problem in method DateTimePlus::createFromFormat There is ...
1
vote
0answers
180 views

Drupal 8 migrating revisions from external data source

We are trying to migrate content from an external data source into Drupal 8 using the core migrate modules. This is a stripped down example of the data being migrated: id resourceId ...
1
vote
0answers
194 views

Drupal core error when moving a Drupal site from a server to a farm

I have a site in temporary production server. Now I got the "final" production environment with two front-ends and a database/file-server. I had a simple idea how to move the site from one server to ...
1
vote
0answers
137 views

How do I migrate comments?

I am trying out the Migrate module, to move my site from Drupal 6 to Drupal 7, but I dont see comments being moved; just the content is migrated. How do I migrate comments too?
1
vote
0answers
75 views

How can I effectively copy a production site to a local XAMPP copy?

I have a working live Drupal 8 website and it's still in its early stages. I need to start theming the website, so I needed a local copy of it on my Windows PC. I installed XAMPP, copied the website, ...
1
vote
0answers
218 views

How to set destination URI when migrating files

I have the following case: I'm trying to migrate Drupal 6 profile pictures into Drupal 8 file_managed table. All goes fine except that I'm unable to set new destination URI for column file_managed.uri....
1
vote
0answers
212 views

How can I provide support for a non-core field type?

What is the necessary implementation to add support for a field type so that it is picked up by the core migrate_drupal upgrade process? For example, the Weight module. It provides a simple field ...
1
vote
0answers
23 views

Migrate D6 ImageField Extended captions to D7 File Entity Inline captions

First of all, I am completely new to the Drupal world and my apologies if I fail at clearly explaining my issue, or if I am missing something that should be obvious. I "inherited" a D6 website just ...
1
vote
0answers
74 views

Import menu items with translations based on Entity Translation

Currently I'm trying to migrate content (both nodes and menu items) from my old CMS (non Drupal CMS) to my D7 instance. In that light, I have exported the menu items as JSON files and I have also ...