Questions tagged [migration]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
37 views

Migrate nodes with special characters in title

Given a source's title like This "cool" & "neat" article's title has HTML entities , is creating a title of This "cool" & "neat" article's ...
0
votes
1answer
18 views

Certificate based authentication for migrate plus

I am using migrate plus module for migrating data from an xml feed into a node. The XML feed now requires certificate-based authentication to access the data. Is there a way to do this using migrate ...
0
votes
0answers
17 views

D7 to D8 site migration and location of migration log

I'm using drush to migrate a D7 site to D8. I'm getting several errors in the drush migrate-import --all step. D8 site is installed using a bash script that executes: drush site-install standard -...
0
votes
3answers
740 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
0answers
25 views

Migrate link field from xml

My XML looks like this: <dynamic-element name="link-extern" > <dynamic-element name="link-extern-text" type="text"> <dynamic-content><![CDATA[Myfirst title]]&...
0
votes
2answers
362 views

Features to import content types

Features seem to be the right way to import custom centent type in a fresh D7 install from a D6. But when I create my feature on the D6 one, it added dependencies like modules,and once I import the ...
0
votes
0answers
18 views

Traverse multiple files and folders for import

I need to import a large number of files that are located in multiple folders inside of one main folder (import into nodes). The folders are numbered (ex n0000xxxx, n0001xxxx, etc). How can I traverse ...
0
votes
0answers
11 views

Way to log some datas in file during migration

I have many migrations to operate and I searching to log some datas in files depending conditions (for example, log every external links which no longer work for each imported content). I have many ...
0
votes
0answers
29 views

How to make “Backup & Migrate” not backup my Backups?

I am configuring a backup-automatism with Backup & Migrate to regularly save a copy of the site and my database on the server. The scheduling works quite well and every week a copy of the site is ...
0
votes
1answer
42 views

How do I migrate content to a field added with UI to an existing custom content entity?

In a custom module (assoc), I have a custom Content Entity (Person) with these fields: $fields['lastname'] = BaseFieldDefinition::create('string') $fields['firstname'] = BaseFieldDefinition::create('...
0
votes
1answer
478 views

Adding custom field while migrating

I am trying to merging content types while migrating to drupal 8 from drupal 7 and at the same time differentiating them with the taxonomy terms in D8. E.g. The content types from D7 i.e. Article, ...
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
1k views

How to duplicate nodes programmatically?

I want to create duplicate nodes of a content type programmatically. Is there any way to do this? Note: I don't want to use any module to do this.
0
votes
1answer
415 views

How to conditionally update and import nodes using Migrate?

I need to migrate new nodes and update others in the same time. 2 installations of the same project are out of sync, which means, that the same nid may not indicate the same node on both sides. But I'...
0
votes
0answers
13 views

Migrating into Double field

I am migrating a CSV into D8 node type which has a double field. The CSV has the following structure: I am trying to migrate the year, from the header, into the first double-field subfield (as a ...
0
votes
1answer
2k 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 ...
1
vote
1answer
2k 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 ...
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
1answer
35 views

import address data from CSV

I migrate my content from an old D7 site to D8 site. All went well, except the addresses from field address where not migrated to the new address field. Then I use feeds, feeds_migrate, content-...
2
votes
1answer
28 views

Migrating csv data as array into multi-field

How do I migrate a sequence of data into a multi-value field? I am learning D8 migration and working on a large CSV of historic census data from around the world. Example below: id,Country Name,...
-3
votes
1answer
31 views

Required fields [closed]

I'm doing a migration from csv to Drupal 8 and I'm not sure how to handle the required fields. My content type "Department" has 8 required fields, should I use the plugin "skip_on_empty" in every ...
0
votes
2answers
370 views

How to handle multiple URLs in Drupal migrations

I have a drupal migration that also uses migrate plus from a feed URL that can be queried. For example the migration can work for a single response from the feed at source: plugin: url ...
0
votes
1answer
617 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
1answer
489 views

Migrate multiselect taxonomy values from node with csv

I want to import companies with csv into Drupal 8 with migrate_source_csv module. CSV: company_name,company_categories,company_size "Dummy Name","Category 1";"Category 2","2 people" How to ...
0
votes
1answer
63 views

entity_lookup for user entity type

I'm trying to link a field in my spreadsheet file to a user that is previously created with a migration from the same spreadsheet. The Backup column consists of multiple names divided by the backward ...
0
votes
0answers
23 views

Migrate taxonomy terms with lookup based on term name

I've imported a taxonomy with names into Drupal 8 fine. When I come to reference them in another migration the data only has the taxonomy name not an id. I currently have: process: title: 'Name' ...
0
votes
0answers
11 views

Post-migration editing of inline images in body field

I have many nodes in which the body field has inline images (created in D7 with CKEditor/IMCE/etc.). To make things more complex, the images have a picture mapping for responsiveness via D7 ...
0
votes
1answer
391 views

Sync user roles across websites

I am using Drupal 7. I want to sync my Drupal website roles on 2 websites on the same top level domain, as in, one is example.com, the other is other.example.com, how can i achieve this? Bakery module ...
0
votes
1answer
603 views

White Screen of Death, From Apache to Litespeed

I'm facing a White Screen of Death on some backend(admin) pages after migrating to a new server. Apache--->LiteSpeed. New domain. When I migrate to a different server running Apache I don't have any ...
0
votes
1answer
2k views

Links not working on migrated site

I moved a site from a hosted server to my local machine and none of the links that point to internal pages work even though they look correct. I'm getting odd behaviour as described below. This is ...
3
votes
3answers
1k views

Problem with migration from Apache to IIS

I run a website with Drupal in Linux/Cpanel/Apache/MySql and it worked perfect. I want to put this site in Windows/plesk/IIS/MySql. I backed up and restore database in the new host and copied Drupal ...
0
votes
1answer
732 views

I get “/tmp is not writeable by the webserver” on migration

I migrate a Drupal website from Apache to IIS.All the image that customize whit ImageCach not shown and I get this error "/tmp is not writeable by the webserver"! please help me soon!:(
0
votes
1answer
2k views

Permission problems after migrating from Apache to IIS

After migrating from Apache server to IIS (7.5), I have some permission problems in Drupal: modules don't seem to have the permissions to delete (unlink) or create files, not even from/into "sites/...
0
votes
1answer
88 views

migrating to the webserver - what do i have to take care for?

what do i have to keep iin mind ? what do i have to take care for - especially if i have troubles with file ownership permissinos if i set up a drupal-commons version 6.25 locally on my machine at ...
0
votes
1answer
23 views

Why is my migration status table empty?

I wanted to delete all migration modules because of that I use drush config-delete migrate_plus.migration.ID After that, I create a new migration module and enable it with drush en migrate_NAME ...
0
votes
1answer
21 views

Update enabled migration module [closed]

I enabled a migration module. Now I would like to make some changes inside the yml file. How can I update my migration? I use migration plus.
0
votes
1answer
492 views

Migrate module only imports first line of CSV file

I have a Migrate module class that works with CSV files and when I go through with the import it only goes through the first line of the CSV and then completes with a success message. That one line ...
0
votes
1answer
68 views

Error when running custom migration

I am new to writing migrations. I am attempting to figure it out with what I thought was simple case of migrating a title into a content type from a single XML file. The file has been uploaded to /...
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 ...
1
vote
1answer
361 views

redirect index.php?var1=aaa&var2=bbb

I just moved a website to drupal 7 and I have problems with the redirects. The old website had all urls like this: www.example.com/index.php?var1=aaa&var2=bbb (where aaa and bbb changed for the ...
-1
votes
2answers
580 views

How do I add an additional database for migration?

I have a Drupal 8 site running in Lando. I need to have the 8 site connect to a Drupal 7 database so I can run a migration. My understanding is I can import an additional database through Lando, but ...
0
votes
1answer
335 views

Where to add track_changes option in migrate_d2d class

I have an ongoing migrate_d2d migration where I will need to be able to detect changes on a node by node basis, and I would really like to be able to use the functionality in the Hash source rows to ...
0
votes
0answers
30 views

How to debug why some content is not migrated from D7 to D8?

I am using migrate_plus to migrate from D7 to D8 and so far it has been a fairly smooth process. I have a particular content type that has 10 nodes in D7 but will only migrate one of them to D8. ...
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): ...
0
votes
4answers
618 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 ...
0
votes
0answers
22 views

How to migrate from directory of xml files on same server

I am completely new to using Migration. I need to migrate data from files that are contained in folders inside a directory that has already been transferred to the destination site. How do I set up ...
1
vote
1answer
89 views

How to set the public file path to migrate site files and images through Migrate Drupal UI

I am working on migrating a drupal 7 site to drupal 8 site that has image fields in content types, as well as some pdf files that I am trying to migrate through the Migrate UI. None of those files are ...
0
votes
2answers
493 views

Migrating fails without any error

I'm trying to run a migration D7 to D8 which I've coded. This is the command: drush migrate-manifest manifest.yml --legacy-db-url=mysql://User:PASSW@localhost/drupal7ddbb --verbose but basically no ...
0
votes
0answers
35 views

How can I migrate an Amazon S3 bucket to into Drupal?

SCENARIO I currently have a bucket where all my images are hosted and stored. I currently display them by simply using URLs that link to the images (i.e https://[bucketName].s3.amazonaws.com/[...
1
vote
1answer
232 views

How can I migrate URL fields to link fields?

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 ...