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
2answers
88 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
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 ...
0
votes
0answers
24 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
67 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 ...
-1
votes
0answers
30 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
120 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
114 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
33 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
34 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
52 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
7 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
21 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
84 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
126 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 ...
0
votes
1answer
37 views

Migrate users from a table with non-unique email column

I'm using the Migrate module to migrate users from a non-Drupal PHP/MySQL site to Drupal 7. The users are spread across two tables, the second of which has a non-unique email column, many values of ...
0
votes
2answers
1k views

Drush migrate commands do not appear after fresh drupal 8 install using composer

I am trying to follow the upgrade using drush tutorial but I cannot get the migrate commands to appear in drush. On a new Ubuntu 16 box I do: #install a new drupal 8 composer create-project drupal-...
0
votes
1answer
669 views

Why doesn't skip_on_empty work when migrating from a text field?

I'm trying to migrate Drupal 7 users to Drupal 8. In Drupal 7, there's an additional text field representing the user's group. In Drupal 8, it's a taxonomy vocabulary. So I'm using the following ...
1
vote
1answer
104 views

Migrate multilingual Drupal 7 users to Drupal 8

I have Drupal 7 users that uses Profile module and has fields for individual languages i.e. presentation_sv, presentation_en that I would like to migrate to a proper Entity translated Drupal 8. First ...
1
vote
1answer
24 views

How to exclude contents from migration

I'm using Migrate to import entities. I want to exclude rows based on a custom plugin (my source has a "url" field and I've to check if this url contains a "www.mysite.com" string: if not, the rows ...
0
votes
1answer
32 views

aegir migration did not update database

I am working with aegir 3 (hostmaster-7.x-3.130). After migration of Drupal website from an older platform (drupal version 8.3.7) to a newer version (drupal 8.5.0). Website is sucessfully verified ...
0
votes
0answers
63 views

How can you migrate a basic page with a paragraph bundle from one site to another site?

I defined the same paragraph bundle for a basic page on two different Drupal sites: Using Node Export, I want to export a basic page with this paragraph bundle (with an image and text) to a different ...
0
votes
1answer
323 views

How to identify item_selector for Migrate API JSON imports

Trying to import articles from an external JSON feed of "members" with a structure like this: { "status":"OK", "results":[ { "num_results": 10, "offset": 0, "...
0
votes
0answers
16 views

Migrating site with big database to a another server [duplicate]

I know that this question was partially asked/answered in couple of cases, but not exactly like in my case. I have a D7 website that has quite a lot of modules installed and the DB is ~60Mb when ...
0
votes
1answer
45 views

Migrating only articles with a specific taxonomy term

In the source D7, i have a content type 'article' containing a reference to a 'category' taxonomy vocabulary term. In the target D8, I have a content type 'article' as well, but i only want to ...
0
votes
1answer
97 views

Change URL of site, server and folder remains the same

I want access an old site on a new domain. The server and folder remains the same. I have pointed the new domain to the old Drupal site and updated settings.php to include $base_url = 'http://www....
0
votes
1answer
110 views

Mapping field columns with D8 migrate and d7_node source plugin

I'm trying to write a D8 migrations files but the following one isn't working on the source 'body/value' because it resolves to a null value instead of the intended string. id: my_d7_node_news label: ...
0
votes
1answer
93 views

import users from 7 to 8 without drush

I've been asked to import users from a drupal 7 site into an already-built drupal 8 site. I also need their order history from drupal commerce. I tried using drush migrate-upgrade --config-only to do ...
1
vote
1answer
259 views

Migrate media with alternative text

I'm trying to import image with new media module on core 8.5. I've a json source and on my .yml I've: field_media_image: target_id: plugin: migration migration: immagini ...
2
votes
2answers
1k views

Export views result as json, xml, csv etc?

In D7 we had https://www.drupal.org/project/views_data_export https://www.drupal.org/project/views_datasource Can Migrate in D8 replace these? Eg, export views results with Migrate as json, csv etc?...
0
votes
0answers
63 views

Migrate using Paragraphs - D7

I have this working already for D7 using the Field Collection and Migrate modules, but I was hoping to change from Field Collections to Paragraphs in preparation for writing this for D8 eventually. ...
-1
votes
2answers
1k views

Development to staging to production process [closed]

I am looking for suggestions on the right way of moving configurations and code from Dev to Staging to the Production environment for Drupal 8 Site. I also need to set up a Reference environment which ...
0
votes
1answer
445 views

Update existing node (not created by Migrate) via Migrate 8.5.x

I have got existing Drpal 8.5 site with hundreds of nodes. With migrate, if i try to upgrade, new nodes are rather created. Node have a field which is being used as key however that seem to be not ...
0
votes
1answer
116 views

How to make Drupal to Drupal migration of field_url?

I have run migration using drush migrate-upgrade by setting up Drupal 7 used module in Drupal 8 site and DB path etc. But one of my content type use field https://www.drupal.org/project/url but now ...
0
votes
1answer
221 views

Too few arguments to function drush_migrate_tools_migrate_messages()

I'm in the middle of a D7->D8 migration and tried running the command drush migrate-messages but got the following error: ArgumentCountError: Too few arguments to function ...
0
votes
0answers
39 views

Update data from multiple nodes using JSON

I'm trying to figure out how I can import the data from a JSON to an existing node on Drupal 8. These are basically field collections from Drupal 7. Currently there isn't a way to migrate it so I ...
0
votes
0answers
100 views

Migrating Fields from Field Collections from Drupal 7 to Paragraphs Module on Drupal 8

I've been stuck trying to find a solution on how I can migrate my fields from within the Field Collections module of Drupal 7 to Paragraphs module on Drupal 8. I have been hovering for some answers on ...
1
vote
1answer
760 views

How to sub_process a non-associative array in migration.yml

I know I can use sub_process to iterate over an associative array like field_categories: plugin: sub_process source: remote_categories process: target_id: plugin: migration_lookup ...
0
votes
0answers
108 views

Trying to fix drupal base path when migrating files from D7 to D8

I'm currently using drupal migration tools to try and migrate my files from Drupal 7 to Drupal 8. So far I've managed to install all necessary modules such Migrate Upgrade, Migrate Tools and Migrate ...
0
votes
1answer
24 views

How to properly handle migration errors

I've got some migrations and they are basically doing their job. My problem is that errors in the data source end up in a WSOD in Migrate Tools UI, without any human readable error message (when I ...
0
votes
0answers
260 views

Using migrate_lookup process plugin to reference items processed later in the same migration

I'm trying to import data from custom source through Migrate in Drupal 8. The problem is that I need to process data which have references to each other. This is excerpt from my migration articles: ...
0
votes
0answers
27 views

How can Commerce Shipping's product dimension fields in my Migrate API YML file?

I'm performing a Drupal 8 Commerce 2 product import from a CSV and I've got all of the fields mapped and working in my migrate YML file for the product variations except for the Length, Width and ...
0
votes
0answers
31 views

Migrate embedded webforms within node from d7 into d8 webform

we are trying to migrate the webforms from D7 into D8, the webforms created in the D7 webform content types can be migrated using webform migrate, but looking for options to migrate the embedded ...
0
votes
1answer
428 views

Drush 9 on Drupal 8

I have a D8 site since some months. Today I realised that I needed drush in order to migrate some contents (using the migrate tools module). Composer was not installed, so I installed it. Then I ...
0
votes
0answers
30 views

Failed to migrate files

I performed a migration from Drupal 7 to Drupal 8 as indicated in the documentation. everything went OK, except the files and images attached to the node. When I inspected the database, I found the ...
1
vote
1answer
347 views

Migrate multiple migrations into same node

I need to do a migration from multiple endpoints into the same node. All endpoints provide the full list of rows/nodes, but their data need to be mapped into different fields of the same node and into ...
0
votes
1answer
180 views

Possible to extract multiple key/value pairs (links) from string in CSV and migrate into multiple link field

I am using migrate source CSV and trying to extract a string which contains multiple key/value pairs of links in format: "Google.com|https://google.com,Yahoo.com|https://yahoo.com" I need to save ...
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 ...
0
votes
0answers
92 views

Migrating password with custom hash algorithm

I am trying to migrate data from a custom database which uses a different method to HASH the password. password = md5(email + password + salt) During the process of migration I face two issues. I ) ...