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
13 views

Migrating input formats causes errors

I am trying to write custom migrations to migrate my Drupal 7 website to Drupal 8. I am currently using Drupal 8.6.7 and Drupal 7.61 for a copy of the production website. So far I have set up the D8 ...
0
votes
0answers
12 views

Ability to migrate or import/export paragraph bundle from one site to another

I have several custom paragraph bundles containing a large amount of customization. I do not want to re-create them. Is there a module that allows me to export a paragraph bundle and then upload it to ...
-3
votes
0answers
14 views

how only users from the drupal 5 site can migrate to drupal 8 site [closed]

I want to migrate only users table from drupal 5 to drupal 8 means i want that the same users would be able to login from drupal8 site with same id and password how it will be possible. Please suggest....
0
votes
1answer
21 views

Migrate content from drupal8 to drupal8 programmatically with Node::load and Node::create

Basicly I want to migrate content from one drupal8 instance to another. they are mostly identical with some small changes. first step is to migrate the content type via drush gen module module and ...
0
votes
0answers
37 views

migrating json data into entity node and entity reference revisions (paragraphs) using core and contributed migration module

I'm having issues now trying to migrate a local based json file. The goal is to create a node based on the data comming from the json file. For that I allready created a content type 'Produkt' with ...
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 ...
0
votes
1answer
33 views

Copy installed modules and configuration to new installation

I have a Drupal 8 application with mysql as database. I installed bunch of third part modules such as domain, search_api, pdf etc... Most I installed using composer and a very few using "Install ...
0
votes
1answer
23 views

How to migrate one type of contents to other type having same fields?

I have 2 content types having same fields and I have many contents added by cleint in both the types,now I want to change some of the node's type A other type.. How can i achieve this?
0
votes
1answer
21 views

migration process plugin not registering

My plugin aims to strip out html tags from titles being imported from xml Here is the error I'm receiving: FVFXF0ETHV2F:process k28002$ drush mim complinet_xml_to_node Drupal\Component\Plugin\...
0
votes
2answers
36 views

Is it possible to have 2 sources for migration?

I have a tid (taxonomy ID) and a csv file (which is a list of terms to remove during migration with columns : tid, name, delete ). The tid and CSV file are my sources for the migration. How can I ...
0
votes
1answer
24 views

Local json migration: how to set the value of the urls variable?

I'm currently really busy to get the migration work on my desk. I want to import (migrate) a local json file into drupal8 using Migrate_Plus, Migrate tools. For that I have the following migration ...
0
votes
2answers
32 views

Specify ids for a migration yml file from nested json array

Given following jsons file { "data": { "uuid": { "value": "ed64784-cjjhd6", "patient": false }, "name": { "value": "Name", "patient": false }, how to ...
0
votes
0answers
55 views

Migrating (import) rest/api (json) data into node using migrate_plus and migrate_tools modules

I’m trying to migrate some data from a remote rest/api (json) using the plugin source url. Here is my current migration iml file. I created a content type 'produkt' to match the fields from the remote ...
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 ...
0
votes
0answers
13 views

Is it possible to delete or disable a set of entities via Migration plugin

Currently I have migrated a few taxonomy vocabulary entities whose source type is URL. These are migrated based on a flag. The flag value can change from time to time. The possible values are new/add/...
0
votes
0answers
36 views

Can a taxonomy vocabulary entity be disabled or unpublished?

Vocabularies are config entities. I can see the delete link in the UI. In the example vocabulary config yml - taxonomy.vocabulary.blah.yml - uuid: 16ebbc47-16ac-461c-0000-00000000 langcode: en ...
1
vote
1answer
36 views

Live content migration to a separate server for important content

My clients are now spending a lot of money daily on creating content on my system. A few hours lost could be quite bad for them, and in turn, for me. Most of the site is fine on daily backups, but ...
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: +------------+--------------------------------------...
0
votes
0answers
11 views

Sub theme css not loading

I took over a Drupal 7 site and was setting up a local environment in MAMP on windows. At first I got a white screen. I went to updates.php and ran a couple updates and could then get into the site. ...
0
votes
0answers
29 views

Upgrade modules

I am going from Drupal 7.6 to 8.6 using the migration UI (https://www.drupal.org/docs/8/upgrade/upgrade-using-drush). When I get to /upgrade/review it lists out the modules that need upgrading. The ...
0
votes
0answers
12 views

Update a field during migration only if condition is met

So i have a migration set which creates new nodes during import from a json. Works as designed, but during import there are object which might have already been created, in this case only a certain ...
0
votes
1answer
20 views

Drupal 8 Migrate Plus - CSV Row Number as key

In the Drupal 7 migrate module, you can use 'csvrownum' as the mapping key when migrating content from a CSV (https://www.drupal.org/node/1152158). For the Drupal 8 version, I am not sure what the ...
0
votes
1answer
22 views

Is it possible to use drush migrate-import to import custom fields?

I am trying to migrate a Drupal 7 site to Drupal 8 on a new server I have copied the db so it can be used locally. I have run the drush migrate command and migrate-status shows a bunch of things that ...
-1
votes
0answers
25 views

Import taxonomy with hierarchy through JSON:API

I'm using JSON:API to migrate data from one Drupal 8 site to another and can successfully migrate taxonomy terms. However, the hierarchy is not preserved. My taxonomy migration looks like this: ...
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 ...
0
votes
0answers
74 views

Migration with paragraph issue

I have below file of code for paragraph migration. id: data label: Import data. migration_group: data_import source: # Refer to data_import migration group. destination: plugin: entity:node ...
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 '...
0
votes
1answer
28 views

How to map multiple existing term IDs to an entity

I'm trying to map multiple existing terms using their target_id values to an entity (Commerce Product) and I can only get the first value to map. My yml file looks like this: 'field_prod_category/...
0
votes
1answer
38 views

Refresh default migrations

I done a migration of a website, but new content were created during I done that. So how can I refresh default migrations created by the drush command : drush @alias migrate-upgrade --legacy-db-url=...
1
vote
1answer
47 views

How to execute a migration? [closed]

I'm trying to use the Migrate API module to implement an ETL for some of the content of my Drupal 8 website, but the documentation doesn't explain how to execute the migration once everything has been ...
0
votes
1answer
54 views

Using Drupal 8's Migrate API, how can I map a nested (hierarchical) taxonomy term to the imported entity?

We have a vocabulary of nested (hierarchical) category terms on a site and are using the Migrate API (via CSV) to import product entities that each have a category term. The problem is that some of ...
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 ...
0
votes
0answers
20 views

A way to export workflow states globally?

My workflow and states weren't migrated from D6 so I re create them by hand. But I need to use them on another D8 website, and I don't find the way to globally export them, only state by state......
3
votes
1answer
83 views

How to programmatically set the node updated/changed timestamp

Some migrated content needs the "updated" timestamp set to the original timestamp, instead of the time the node was saved duration migration. Setting the "changed" field in the database appears to ...
1
vote
1answer
52 views

Migration Custom Plugin Return Value

I have a migration and it is very simple. I have a CSV file of employee number and years of service. I have added the two fields to the users in the system and populate them when the users have been ...
0
votes
1answer
32 views

Migrate from Ubercart 3 to Commerce

I have been trying to understand how to accomplish this for quite some time. And I'm not getting anywhere. The info I'm finding seems a bit dated. Can anyone tell me where to start to get this ...
0
votes
1answer
36 views

Drush migrate-upgrade error

I have run drush migrate-upgrade successfully previously, but not when I run it, I am getting "An option named "Configure-only" already exists." I get this error regardless of if I have --...
-4
votes
1answer
35 views

Moving a website from Drupal to Wordpress [closed]

i want to move a website from drupal to wordpress, keeping the hosting provider the same (siteground). please bear in mind my knowledge in these matters is very rudimentary (i have published a blog on ...
0
votes
1answer
180 views

Node body to entity reference revision (paragraph) field not working/processing

I want to migrate the Drupal 7 body of my blog to a Drupal 8 paragraph (field_stories_content which is Entity reference revisions). The body is to be assign to the field_stories_text_formatted field. ...
0
votes
0answers
15 views

Cannot login as admin upon migration

I'm trying to migrate my drupal site to another hosting provider. Took the database and files, migrated them over. I don't have my URL moved yet so I'm using a temp URL by the hosting provider. The ...
0
votes
0answers
17 views

migrated site to server with newer ubuntu, php - theme not working

I've been migrating a number of sites (Drupal 7, 8, Wordpress) from one server running Ubuntu 14.04 and php5 to one running 16.04 and php7. Some of them work right off the bat and some have required ...
0
votes
0answers
36 views

Update migrations to import new content

I'm using migrate upgrade drush command to generate migrations from a live DB of website. So content is created during my migrations. How can I do an update of these migrations to import new content ...
0
votes
0answers
46 views

Custom linkfield migration with csv

Because migration skip emty or NULL label records on db, I need to migrate via csv file. So I do export of table records in csv like : vid;nid;delta;field_lien_externe_url;field_lien_externe_title;...
0
votes
0answers
44 views

Migrations groups : run all or not?

I would to know if I need to run Default group AND migrate_drupal_6 group on every migration ? Or if I can only use one or other group ? Because I notice that "d6_user_role" migration import users, ...
1
vote
1answer
46 views

Migration configuration

I'm setting up a migration from an URL with JSON on it. Got the first level values without any issues. Currently I'm stuck at nested arrays which resemble something like this: { "content": [ { ...
0
votes
0answers
22 views

Mapping description imagefield to title imagefield

Because of imposibility to add a description field to an imagefield in D8, I would to map thecontent of the D6 description field to the D8 title field of the imagefield. But it actually doesn't work....
0
votes
0answers
204 views

How to migrate nodes with multiple paragraphs

I have successfully migrated content into nodes/paragraphs from Excel spreadsheets (using the awesome https://www.drupal.org/project/migrate_spreadsheet module) although it's not really any different ...
1
vote
1answer
133 views

Import a date from CSV to Date field

I'm working on a Druapl 8 project and I'm trying to execute a migration which serve to import content of a basic content type, the content type has a field of type Date and the associated field in my ...
0
votes
1answer
46 views

Plugin Derivatives For Queue and Migration Plugins

I've created a custom Content Entity and a custom Content Entity Type, basically I'm mirroring the Node module but the purpose of this is to have external data to be synced with this setup(not using ...
0
votes
1answer
42 views

Migration from csv problem (Incorrect string value: '\xAB Nove…')

In my drupal 8 project, I'm trying to import data of a content type from a csv file, everything is well, but when I'm trying to execute the migration command drush mim my_migration I got the following ...