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
vote
2answers
385 views

How to migrate content using a web service with multiple calls?

I need to migrate content from a web service to which I have to call several URLs. A call to receive a list of nodes and then a call for each node to receive information from the fields. Something ...
0
votes
1answer
27 views

Migrating a site with a module that doesn't have a version for latest core version

I'm working on migrating a site from Drupal 7 to Drupal 8. All content and other things are migrated successfully excepts a module (the Field collection module) that is available for Drupal 7, but not ...
0
votes
1answer
341 views

How to add an additional database for migration with Lando and Drupal 8

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 ...
-1
votes
1answer
111 views

Migrating content type with different translations/languages

I'm currently migrating a specific content type that has 16,000 nodes with different translations (english, french and spanish). After entering commands drush ms. It's only showing only half what is ...
0
votes
1answer
12 views

Migrate creating custom fields

I have 2 server rather than the localhost ex: staging & development. And I am creating custom fields on the local machine and those fields from different types [entity reference - user reference -...
0
votes
1answer
164 views

How can I import fields into Drupal 8.4 user profile from a csv file that has identical values in the key row?

I'm using Migrate Tools, Migrate Plus and Migrate Source CSV. My CSV file looks like that: "Stg";"Color";"Fruit" "user1";"red";"apple" "user1";"blue";"pear" "user2";"green";"banana" "user2";"black";"...
0
votes
1answer
241 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 ...
1
vote
1answer
200 views

error on CLI when using drush config-import staging

I'm getting this error below whenever I try executing the commands drush config-import staging on the CLI. I'm basically in the process of migrating a drupal 7 DB to Drupal 8 and currently following ...
0
votes
1answer
368 views

Fatal error: Allowed Memory Size of (X Size) when running drush migrate-upgrade [duplicate]

I'm trying to use drupal migration module with drush to migrate a database. I'm getting this error below. Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in ...
0
votes
1answer
88 views

moving D8 from one sub-folder to another

If you move your Drupal 8 website from one sub-folder (example.com/oldsite) of your domain to another sub-folder (example.com/newsite), you will find that internal links to pages and references to ...
0
votes
1answer
60 views

Migrate existing dev desktop site from PC to Mac without existing db dump

I have a PC with dev desktop on it where I had a local install of a drupal 7 site. I needed to reinstall windows on the PC and it wiped out my local install except I kept the old windows files, so I ...
0
votes
1answer
202 views

Apply Image styles for migrated images

I've done a drupal migration from drupal 6 to drupal 8. While all files are migrated well, image styles are not applying on migrated images. Image styles are applied to the newly added images. I ...
0
votes
2answers
30 views

Migration from one domain to other domain

I have build a D8 website on domain www.example.com/abc and now wants to copy this site to www.example.com/xyz Hosting is same What I did is: 1) copied all files from abc to xyz. 2) Exported ...
0
votes
1answer
41 views

Change a field type using Migrate

Can I migrate a Drupal 7 field from one field type to another using Migrate and $this->systemOfRecord = Migration::DESTINATION;? I'm trying to move field_phone which is an ordinary Field API text ...
2
votes
2answers
409 views

Remove import instance from list using Migrate Tools module

I'm trying to remove an rss reference of a migration. Once I put the yaml code into the Migrate module in the drupal admin interface, it creates a reference to that yaml code, but there is no one in ...
0
votes
3answers
269 views

How do I properly transfer content from an external source?

So I have been tasked with migrating content into Drupal 8. I wrote python to create SQL statements to insert nodes into the the Drupal database. I had to figure out how Drupal stores content for each ...
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
3answers
530 views

How to edit vocabulary machine name?

I migrated my site from lower version of drupal, during migration process the machine name of my vocabularies was changed, now I want to modify them manually, but I cant find the proper table in ...
0
votes
1answer
330 views

Migration of CSV into paragraphs fails with unexpected error

I try to import CSV files into a Drupal 8 installation but I can't manage to make the relationship to paragraphs appear. I followed the steps of this tutorial but can't figure out how to make it work. ...
1
vote
1answer
583 views

How to convert year to date with Migrate

I try to import a CSV file with Drupal 8 Migrate. One column contains a year value which I want to convert to a Drupal date field. I try to do that with the following process statement using ...
0
votes
1answer
273 views

Limit Migrate explode process plugin to 1 takes whole string

I have a csv places column with values like that: Madrid|Spain Barcelona|Spain I want to migrate this places to a custom taxonomy and 3 terms (Madrid, Spain, Barcelona) get generated doing it like ...
0
votes
1answer
24 views

Does Multiversion module need content migration if enabled on running site?

I have Drupal 8 setup with lot of content in it. When I enable Multiversion module all the content gets disappeared. Do I have to migrate the content after installing Multiversion? Why does it deletes ...
3
votes
1answer
708 views

Why is my migrate source plugin (d7_file) not found for my migration?

I'm trying to write a migration for files from an old D7 site to a new D8 site, roughly following the instructions at https://www.previousnext.com.au/blog/migrating-drupal-7-file-entities-drupal-8-...
2
votes
1answer
166 views

Base URL/Domain problem

I moved a Drupal site to a development domain, but for some reason none of the menu links have updated. For example, in the main menu, one of the links is www.example.com/product. I would expect it to ...
1
vote
1answer
38 views

Using Migrate API, is it possible to UPDATE entities on subsequent imports?

I am using Migrate API with Migrate Plus, Tools and Source CSV to create Commerce Products from a CSV file. The CSV file will be updated daily where the product info (prices, stock level, etc) may ...
1
vote
1answer
157 views

How to migrate files together with additional fields

In my Drupal 8.4 installation I use the module File Entity. In the module are defined a few additional fields: 'author', 'title', 'alt',... My migration works. The files are imported, but the ...
0
votes
1answer
20 views

Panel frontpage overrides site front page after migration

I have migrated an old Drupal 6 site to Drupal 8. On the old site I used a panel page as a front page. Now on the new site there is no way to change this path. No matter what I put in the "default ...
0
votes
1answer
278 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 ...
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 ...
0
votes
1answer
47 views

Clearing the cache breaks the installation [closed]

I just moved my Drupal 7 installation to another server. All the domain names are exactly the same. Everything seems to work fine until I click on clear caches. That results in a HTTP 500 error which ...
3
votes
2answers
2k views

How do I migrate images? [closed]

I have to migrate my blogs (Drupal 7) to Drupal 8. I tried and succeed in field migration but I am not able to migrate my image field. I have tried by process plugin, nothing happened. Files migration ...
0
votes
0answers
174 views

Wordpress 4 to Drupal 8 migration

I want to migrate a wordpress 4.6.4 to drupal 8.3.7 site. I am using the following modules: migrate, migrate extras, wordpress_migrate, migrate tools, migrate plus. I import the WXR xml file from ...
7
votes
4answers
2k views

How do I migrate file entities into media entities?

I am using the Migrate module for a D7 to D8 migration and I am writing the whole migration manually in code (rather than use the built in D7 migrate module, as I wanted more granual control on the ...
4
votes
2answers
754 views

How can i import plain password that are not encrypted during a user migration?

I am able to migrate all the datas of users account including the password but it doesn’t work due to encryption and hash in drupal 8. My password are not MD5. They are not encrypted, in csv file ...
0
votes
2answers
386 views

Error migrating from localhost to server: PHP Unsupported operand types

I'm migrating a Drupal 8 project I developed locally up to the server as a subdirectory in my hosting service that my site domain points to. I've cleared the caches (with drush cr and truncating the ...
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: - ...
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
1answer
318 views

User migration not setting custom field values correctly

I have a User migration in Drupal 8 which is coming from custom SQL tables. The user entity in Drupal 8 has a bunch of custom fields on it (First Name, Last Name, About, etc). When I run the ...
0
votes
1answer
269 views

Migration Group Not showing in UI

I am trying to migrate users table from drupal 7 to drupal 8 for that i have created custom migration module and create two file in config/install folder with the following names custom_migration....
1
vote
2answers
281 views

How to migrate multi role to an user using migrate csv plugin

I have migrated bunch of users using the Migrate Source CSV and am succeeded in it, But I want multi-roles to be defined for single user. Here is my config file, Here is my following cases that I ...
0
votes
1answer
61 views

Need to migrate large, complex Drupal 6 site to Drupal 8. Suggestions for a good way to tackle this if the core Migrate Upgrade doesn't work for me?

I have a lot of experience with Drupal 5, 6 and 7 and am just starting with Drupal 8 and I have a large, complex Drupal 6 site that I need to migrate to D8. I first tried using D8's Migrate Upgrade ...
0
votes
0answers
204 views

jQuery errors after moving site

I've created a website in a dev-environment with a generic domain name and have recently moved the site to the production environment by just copying over the public_html folder. Everything works ...
0
votes
1answer
205 views

Why is migration lookup failing during synchronisation of Group entities?

On the basis of an RSS feed, I am required to create Group entities and Users out of the feed's items. Each item contains sufficient data: <item> <id>123</id> <title>An ...
1
vote
0answers
116 views

How to map (yml) D7 nodes with terms, images, comments and references for migrating to D8?

To better understand how a custom content migration really works apart from all the tutorials showing how to install Drupal and press the migrate button with a 3 lines test import file or endless ...
0
votes
1answer
250 views

How to fix migration problem with missing entity plugin?

I recently updated my local Drupal website from 8.3.5 to 8.3.7 on my computer. Everything runs perfect; I have no pending updated, the cache has been cleared, and to prepare the site for live ...
0
votes
1answer
168 views

Migrate API - Multiple multi language images in nodes

I am using "migrate api" for migrate content from another database (not drupal database). I need migrate multilingual content with multiple images associated where alt and title are also multilingual....
0
votes
1answer
59 views

Migration after server crash: maintenance mode and/or cache problem

I had a crash of my previous server and I tried to rise my website from the dead. I had backups of all the files & of the database (PostgreSQL). I was not the one who set up the website and my ...
0
votes
2answers
76 views

Migrate track last imported time

Which property should I set to save the last imported time in the migration map (SQL)? I've seen that adding: source: track_changes: true https://www.drupal.org/docs/8/api/migrate-api/migrate-...
1
vote
1answer
404 views

How to migrate using explode with occasional empty array

We've made a migration from the City of Helsinki's Linked Events API, and during this work we've been seeing these migration messages: Array index missing, extraction failed Here is an example of ...
1
vote
0answers
55 views

How to fix the errors I get when migrating from WordPress 4?

On a fresh Drupal 8 installation, I installed the WP Migrate module. I downloaded a snapshot of the WordPress database on my local machine, edited the settings.php file, and added the following after ...