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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
1answer
10 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
25 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
51 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
23 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
14 views

Group content is not saved during a migration

I'm running a migration and trying to relate imported content to some group but the relation is not saved. I already created a module which creates the relation when a form is submitted and it works ...
0
votes
0answers
13 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
22 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
16 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
22 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
42 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
7 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. ...
0
votes
0answers
17 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
37 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
29 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
18 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
44 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
20 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
42 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
21 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
19 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 ...
0
votes
2answers
37 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
17 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
8 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
20 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
2answers
56 views

Overriding D8 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
20 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
41 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
23 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
39 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
9 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
19 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
77 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 ...
0
votes
0answers
83 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 ...
0
votes
1answer
28 views

How to map path aliases when migrating from Drupal 6 to 8?

When migrating from Drupal 6 to 8 i can simply map path aliases with the mapping: process: path: alias I have the problem that the path alias is not set properly when pathauto is activated for a ...
1
vote
0answers
26 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
19 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 ...
0
votes
0answers
16 views

Restore function in Backup and Migrate not working

I built a local website (using Drupal 7.59) and used the Backup and Migrate module to back up the entire site. I have a .tar.gz file (156MB). On my server, I installed a basic site (also 7.59), added ...
-1
votes
1answer
51 views

Best Practices for Acquia: Reconciling Production Database back to Dev before update; what is the workflow?

In about a week, I have to update several production sites hosted in AcquiaCloud environments to 8.5.3. All of these sites receive frequent real-time DB writes from user-submitted content. I can ...
0
votes
0answers
21 views

How to update (bulk-update) field value of multiple content (node), with values stored in excel?

Working on Drupal7. Currently I'm Having multiple content/node (100+ content) of 'Circulars' content-type, in that content type I'm having a date field, now I want to update that field's value, the ...
1
vote
2answers
76 views

D6->D8 Migrate failing to copy any nodes

I am trying to migrate a measily 200nodes from a Drupal 6 site to the latest Drupal 8. The web based Migrate seems to be partially working in that I have the users migrated, content types, but none of ...
0
votes
2answers
52 views

Migrate Paragraphs from CSV

I am migrating Paragraphs from CSV file. I have Paragraph called Text with two fields -> title and body. The problem is that I would like to also migrate translations for them, which currently don't ...
0
votes
0answers
21 views

How do I connect nodes to the correct forum?

I have a large Drupal 6 website where the primary focus is a discussion forum - the site has been in existence for over 11 years FWIW. I hadn't ever transferred it to a later Drupal because I wanted ...
0
votes
0answers
24 views

Development -> Production pipeline

Is there any way that Development website can be passed to Production without overriding the nodes on Production. I tried the default backup and migrate modules but it overrides the existing nodes. ...
1
vote
1answer
39 views

Error when trying to migrate comments to a clean D8 site: What's wrong with my .yml file?

I'm trying to migrate content from my current D7 site to a Drupal 8 installation. I've managed to import some of the nodes, and now I want to import the comments for those nodes. Every time I click ...
0
votes
0answers
6 views

Migration API: Set manually created term as a parent for imported terms

Before migration process I created a new term (programmatically in migration module install file). My aim is to set this term as a parent for those terms which belong to the same vocabulary and have ...
0
votes
1answer
16 views

Drupal migration api: set custom plugin as source in «process» section

I migrated nodes including metatags from D7 to D8. As soon as metatags are not field in D7 I do not have it as common source in d7_node plugin. Of course, I can extend this plugin with my own and make ...
1
vote
1answer
62 views

Drush migration no longer working in 8.5

I've been migrating a site from Drupal 7 to Drupal 8. The site was 8.4 when I ran the migrations. I've since updated the site to Drupal 8.5. Now, when I type drush migration-status or any migration-...
0
votes
1answer
48 views

Migrating data from a CSV source: Where should the source go?

I'm trying to do a migration of an old (and full of nodes and comments) D7 site, to a Drupal 8 brand new one. In order to import only the contents, I'm trying to do the migration from a csv file (...
0
votes
1answer
31 views

Trying to get files from the old site

So I am currently trying to access our old website which was set up using Drupal. I re-downloaded all of the databases as well as the site files and set it up on a localhost. The problem I am having ...