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.

-1
votes
1answer
555 views

How to Migrate from SQLite to MySQL?

I built a Drupal 8 site using SQLite. Performance is awful, so I'd like to use MySQL instead. What's the best way to go about this? A step-by-step guide would be nice, but any advice and tips are ...
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
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 ...
2
votes
1answer
731 views

Migrate taxonomy terms with CSV

I would like to import some taxonomy terms with a taxonomy term in it. field_regio2 is a entityreference field to an existing taxonomy term Regio. But for some reason it is not working. Everything is ...
1
vote
1answer
545 views

Using migrate module to import to a list_boolean field

I'm trying to use the migrate module to import data from a mysql table to Drupal 7. I've created a content type with a field type of boolean and used "single on/off checkbox" as the widget. So in the ...
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 ...
2
votes
1answer
632 views

Migrate row data into drupal text formatted long multiple

I would like to import 3 different row values into a multiple text formatted long field. This is my migrate (plus) map yml: ... field_mytext_formmated: plugin: get source: - ...
-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
1answer
621 views

Methods to Migrate Webform Data / Results

I was wondering if anyone else has done this. I've got Webfrom Results that I want to take from one Drupal 7 website to another. Having looked at the Migrate module & migrate extras theres a ...
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
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
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
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?
12
votes
3answers
9k views

Will migrating content types be possible?

I have a Drupal 7 site with 40 content types. When Drupal 8 will be released than I would like to migrate these content types. Would this be possible, or would I have to create this content types ...
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
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
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
0answers
132 views

How do I migrate a block?

I'm looking for a way to migrate blocks from D7 to D8. I use migrate-plus with yml-Files and a manifest.yml. Custom blocks are migrated into the Custom-Block-Library but the assignment to regions ...
3
votes
1answer
814 views

Using Migrate API to select items from a JSON array

I have a module pulling a JSON feed into Drupal 8 using the Migrate API. However, one of the values in the JSON is an array. For example, coordinates: { "data": [ { "id": "id:...
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 ...
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
vote
1answer
917 views

Set entity reference target_id in migration yml

I migrate Drupal 6 to Drupal 8. In Drupal 8 I have content type that has field with type Entity reference that reference specific taxonomy dictionary. I can't find out how to set Entity reference ...
1
vote
1answer
1k views

How to validate email on webform if the field type is textfield and you have data

by mistake, on a webform, in the field e-mail we selected fieldtype = textfield instead of email type, no problem to change it if you do not have data, but if you have data, when you delete the field ...
0
votes
1answer
719 views

Migrate users datas to the profile module

I’m able to migrate users datas from a csv file with migrate, migrate_tools, migrate_source_csv and drush Now, i’m trying to import datas from the same csv file to the Profile module (which provides ...
0
votes
3answers
696 views

Solution to migrate a field collection

My requirement is to migrate content nodes in xml format to drupal 7 content type fields.The xml contains a node which has to be field collection in drupal.I know how to migrate field which are enity ...
0
votes
1answer
1k views

Import nodes with images

Im trying to create nodes from CSV also with image in one image field. I'm using Migrate modul in Drupal 8 and Migrate from CSV. Data to node works fine, image download and copy works fine but in node ...
0
votes
1answer
1k views

In search result page, pagination is not showing up

I have migrated a site from Drupal 6 to Drupal 7. Search form I have rendered in page.tpl.php like this <?php $block = module_invoke('search','block_view','form'); print render(...
3
votes
3answers
2k views

How to migrate to translatable fields

I am using the latest Entity Translation module in order to provide a couple of translatable fields for some of my content types. I have a content type which has a translatable field which is called "...
0
votes
4answers
233 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
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
2answers
71 views

Migrate Private Files: FILE_EXISTS_REUSE still duplicate files

I'm trying to migrate private files (file migration), the problem is even I set file_replace to 'FILE_EXISTS_REUSE' the files are still duplicated (it adds _1 or _2, and so on.). Here is my mapping: ...
0
votes
2answers
174 views

Avoid duplicate files on migrate update

I am creating file entities with migrate using drush. Image files are being copied down from a remote server. I tried $this->addFieldMapping('file_replace')->defaultValue('FILE_EXISTS_REPLACE')...
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 ...
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
2answers
116 views

Migrate Site from aegir Drupal hosting platform to Acquia hosting

I have three sites hosted in Aegir hosting environment. No I need to move them to Acquia hosting. Here are some doubts I have: Should I need to move the code as a normal multisite setup to Acquia? ...
1
vote
2answers
291 views

Post Migrate Development to Live Production Server issue

I'm positive I've successfully done this before but in testing a project today from a localhost Development (Ubuntu) to a live Production server (shared server, general market provider ala Bluehost) I'...
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. ...
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
2answers
1k views

Images are not migrated and the body field is empty

I tried to migrate a site from Drupal 7 to Drupal 8.1 using drush (migrate-import --all) and the following modules: Migrate Plus Migrate Tools and the D8 core migrate modules. It doesn't migrate ...
0
votes
2answers
806 views

Fatal error: Cannot declare class error for custom migrate process

Not sure whats happening here, but I'm defining a custom migrate process plugin and I'm getting the error Fatal error: Cannot declare class StrReplace, because the name is already in use, even though ...
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
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=...
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
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 ...
6
votes
2answers
2k views

Reasons for subsequent Broken/missing handler in Views?

In the process of upgrading Drupal 6.x to 7.x I'm facing a problem that makes all my views show nothing relevant. (I believe the problem is here but I'm not sure, I don't know. That's why I'm asking): ...
-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: ...