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.

0
votes
1answer
113 views

Custom node migration for multi-value imagefield

I'm working on a custom migration module to "link" images to the imagefield. It's work well for an unique value image field like this: field_illus_vdl: - plugin: d6_field_file source: ...
0
votes
0answers
27 views

migrate import to do only updates (no inserts)

I am migrating a drupal 7 site which has a lot of files which are no longer used. When doing the import of the relevant content, stubs are created for each of the files which are actually used. Is ...
0
votes
1answer
172 views

migrate import image (image_import plugin doesn't existe)

I'm trying to import content from a csv source file, the csv file contains a field of image URL, and I'm trying to import that image using contrib modules migrate_plus, migrate_source_csv, ...
0
votes
1answer
109 views

Migrating into a multi-value nested custom field

I have a nested field called released with three values By When A node can have multiple releases. However, in the old dataset (d7), each node only had one release and the fields just a part of the ...
0
votes
0answers
13 views

Clean stray permissions from config

I have a number of stray permissions in a Drupal 8 site left over from role and permissions migrations from Drupal 7. By stray permission, I mean ones that were related to D7 contrib modules or ...
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 ...
0
votes
0answers
18 views

Road map for migrations order

Do exist a road map to give indications about drupal migration order ? Because, if migrate module give the list of migration, it doesn't give indication about the migration order except when ...
0
votes
0answers
55 views

How to make Title Filed Required

I have migrated my Drupal 7 website to Drupal 8. The content types are showing title as optional and when we save a node without adding the title it's giving the fatal error. How can we make the ...
0
votes
1answer
62 views

File migration create ghost files

I tested a migration from Drupal 6 to Drupal 8 on a local installation (2 differents multisites). Sometimes I get "ghost files" after running upgrade_d6_file. Processed 1444 items (1441 created, 0 ...
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: ...
0
votes
0answers
22 views

Migration fails at Review step

I am trying to migrate a Drupal 7 to Drupal 8. At the /upgrade/credentials page I enter the correct info and then click Review upgrade and the page sends me I have gotten two separate errors. -- 1. ...
0
votes
0answers
10 views

Missing date_select_repeat widget during migration of CCK fields

I have an old drupal6 site and I need to upgrade it to drupal8. I decided to do it in 2 steps (d6 -> d7 -> d8), because I thought this way I can manage the things better. I removed those fields that ...
1
vote
1answer
183 views

Drush Migration between distant DB and local DB?

I'm trying to set migrations between an online D6 website and a local D8 one. So I want to connect to D6 DB like this: drush @vmdevd8ce migrate-upgrade --legacy-db-url=mysql://d6dbuser:d6dbpass@...
0
votes
0answers
56 views

Paragraph fields are not properly mapping into the custom block using migration plus yaml

I have created the paragraphs using migration plus module and it is working fine. To map the above created paragraphs to my custom block, I wrote the below YML file. Other block fields are mapping ...
0
votes
1answer
21 views

Unable to migrate users

I have been using the migrate module to migrate users from Drupal 7.59 to Drupal 7.59. I encounter the following error. Migration for <em class="placeholder">NonDomainUserMigration</em> ...
0
votes
0answers
53 views

Migrate from JSON: Setting selected multi-select checkbox list field that is entity reference to taxonomy list in migration yml

We are currently doing a site migration. We have all the data in JSON and have been slowly building the migrations to import this data into drupal 8. We have a taxonomy list of 4 "interests" and we ...
0
votes
0answers
13 views

Issue in migrate password from non drupal database

I am trying to migrate users details of non drupal database to drupal 7 database. I am using custom php script for this and via user_save() function . I am having issue migrating the user's password, ...
0
votes
1answer
229 views

Migration Source YML File import date string into date and time field of content type

I have a json file full of data exported from a wordpress site, one field being a string representing a date and time: "03/15/2012 14:46:19". I would like to import that string into a date and time ...
-2
votes
1answer
49 views

The site is in a subdomain, but I get the wrong file path and a “require_once(): Failed opening required…” error

I have inherited a half ready development site, which I have to finish for the client. First I tried to backup and move to an other location, so I am sure that I can migrate the whole site. I moved ...
0
votes
0answers
132 views

Migrate + Alter the unique key (ids) with a custom source plugin

I have defined the unique key of my migration with a specific field (field is defined in fields section). But, in several cases, I see that the source data of this field is empty. If the unique key is ...
0
votes
1answer
84 views

Migration from source YML: implode all values of each array element nested inside an parent array

We are trying to pull in some data from an outside source that serves JSON. The structure of said json is like this: [ { "name":"something", "desc":"some kind of desc.", "...
0
votes
0answers
29 views

Auto-create terms during node migration

I have a CSV file that I want to import as nodes with Migrate API. Some of the columns contain names (separated by semicolon) that should become term names, referenced from the node via term ...
0
votes
1answer
28 views

Migration time created of node

I'm flowing article to migration my data. Every fields is working fine. But field created doesn't working. Field created always insert time import. I try replace field created with setting created:...
0
votes
0answers
42 views

Combine multiple link fields into a single link field (unlimited)

In our drupal 7 site I have multiple social link fields (links) that I would like to combine into a single "social_links" link type field. How do I do that in a custom d7 to d8 migration? I've tried ...
0
votes
0answers
46 views

How to Use Multiple Databases in Drupal 8 Migrations

I've currently set up a migration in a custom module which connects to a MySQL db. From what I've read in the documentation, the db connection info needs to be added to settings.php like the following:...
-2
votes
1answer
317 views

Custom migration: image fields to media [closed]

When migrating existing Drupal 7 fields, most things work. I need to convert images (using image upload) in Drupal 7 site to reusable media. Any help?
0
votes
0answers
8 views

Drush migrate class multiple source files instead of one

My custom migration class works fine using a single XML file as the migration source. However, I am looking for a solution which would allow me to use multiple files as the source for migrations. ...
1
vote
1answer
54 views

D6 -> D8 : Migrate only taxonomy terms from a specific vocabulary

When doing a D6->8 migration, my taxonomy term migration template imports all the taxonomy terms found in the source D6 site into my specified D8 taxonomy. How do I filter only the terms that belong ...
1
vote
1answer
40 views

How to migrate users and keep their IDs unchanged?

I'm trying to use migrate_d2d, via the UI, to migrate a site from D6 to D7. I need to preserve user UID's in the migration. I'm finding the documentation confusing.. Given this in the UI... What ...
0
votes
1answer
19 views

List migrations separately but use single migration class

I have successfully created a custom migration class which works perfectly but my issue is with the drush migrate-status output. When I execute drush migrate-status all the XML files I am attempting ...
0
votes
1answer
36 views

Converting JavaScript from Drupal 7 to Drupal 8 standards

I have a Drupal 7 module that contains a JavaScript file whose only contents are Drupal.behaviors.InitializeMapplic = { attach: function (context, settings) { jQuery("#mapplic").mapplic(Drupal....
1
vote
1answer
48 views

Drupal 7 to 8 migration The “taxonomy_term_reference_plain” plugin does not exist

When running the d7_field_formatter_settings.yml (in core/modules/field/migrations/) migration I get the following error. The "taxonomy_term_reference_plain" plugin does not exist Has the ...
0
votes
2answers
181 views

How to set a specific vocabulary in a taxonomy reference field during migration?

I am doing a D7 > D8 migration (where the D7 site in question itself was migrated from D6 some years back) and most stuff just works fine. But I am stuck on the field (instance) settings for taxonomy ...
0
votes
1answer
67 views

Migrating sha1 user passwords into drupal 7

I have an old zend 1.8 cms site and I wish to import users into a drupal 7 site so that a user can login with their sha1 password without having to changing it. Once verified convert the submitted ...
0
votes
1answer
81 views

Can't migrate alias with Wordpress Migration

I am using the Wordpress Module to migrate from Wordpress to Drupal 8. I am trying to have the alias be set to the link value (<link>https://myurl.com/wordpress-path</link>). I added the ...
0
votes
0answers
24 views

How to update exisiting users in D8 while migrating from a Drupal 7 sql db?

I need to update certain fields like mail and other custom fields of existing drupal 8 database with migration. Uid of D7 and D8 do not match. Only username matches of both the database. I am able ...
0
votes
0answers
36 views

Importing Facebook PAGE posts in D8 since new privacy standards

we have a D8 website happily importing Facebook user posts as nodes (using the Facebook SDK and Migrate modules) but we need to import the posts from a PAGE that the user controls and I see no option ...
1
vote
2answers
178 views

Drupal 8 migrating image from local folder per XML file

I'm trying on this for two days now and I don't get it. I need some more experienced people to look over my code. This is my first Drupal 8 project, meaning, Drupal 8, Twig, Migration API, Yaml... it'...
0
votes
0answers
34 views

Migrate 1 image from source with multiple images

I'm trying to migrate data from drupal 7 to drupal 8.5 I have a migration file for my nodes with this: field_header_photos: plugin: sub_process source: field_foto process: target_id: ...
0
votes
0answers
23 views

Migrate + import image from xml

For a test, I tried to import an image from a XML file. This xml is already configured in another migration, and I can create medias from this source. But, to import images I get this error: ...
0
votes
0answers
23 views

Migrate + Import multiple images from each row source

we can see many posts for import files with migrate. All these posts explain how to import an unique image/file by row. In my source, I have several images on each row, e.g.: #title,images,...
0
votes
4answers
236 views

Overriding migration source URL with hook_migration_plugins_alter

In D8, using Migrate Plus (8.x-4.0-beta3), i am pulling in xml records from an external, non-Drupal API. I have an unwieldy source URL that needs to be passed dynamically to the migrate_plus migration ...
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....
0
votes
1answer
188 views

Why am I getting a “You are not authorized to access this page.” on the Drupal Migrate UI page?

I just installed this module on my Drupal 8 site hosted locally on Acquia Dev Desktop. I haven't had this issue with any other modules and this is occurring immediately after I install the module.
0
votes
1answer
47 views

Upgrading Drupal 7.43 to 8 error: Source database is Drupal version 8 but version 7 was selected

I am new to Drupal, but I am trying to upgrade a site with the version 7.43 to 8, flowing these steps: https://www.drupal.org/docs/8/upgrade/upgrade-using-web-browser After installing the Migrate ...
0
votes
1answer
128 views

Migrate Alt and Title text from a D6 image file field to D8

I'm trying to migrate a multi-value D6 image field to D8. I've already migrated the files with d6_file and it worked. When I do the node migration with the image field works and I get all the values ...
0
votes
0answers
11 views

Drupal 7 Migrate creating new content instead of updating

I have an XML Migration that when records are changed it seems to start creating new records instead of updating existing records. I'm running Drupal 7, Migrate 7.x-2.9. Here is my migration: <?...
0
votes
1answer
34 views

Use Migrate to Import an RSS feed: get value of namespaced XML

I am trying to use the D8 core migrate module to import a feed. I followed this blog so I made a .yml file. It seems though that the xpaths I am using are incorrect. The import fails: [error] ...
0
votes
3answers
259 views

Migrate nodes from D7 to custom entity defined in D8

I have defined custom entity using Drupal console. the entity have extra columns defined to store field data from D7 nodes migrated instead of having entity fields. I am using Migrate tools and ...
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 ...