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
46
votes
3answers
18k views

How to migrate from test environment to production environment?

The migration is from the local environment to the production environment. The production environment has run some time and created a lot of articles. In order to add new things to my site, I added ...
41
votes
4answers
2k views

What is the suggested workflow for migrating (CMI) configuration from dev -> stage -> production?

We had a drupalcamp a few months back and someone asked about managing deployments with the new config (CMI) system. One possible ideal workflow would involve keeping the config in version control and ...
20
votes
5answers
9k views

How do I migrate users passwords from Drupal 6 to Drupal 7?

I am trying to migrate users from a Drupal 6 to a Drupal 7 site. My problem is how to change their password from MD5 to the hash one (used by D7). Do you have any idea?
15
votes
3answers
3k views

Disable pathauto for nodes created with migrate module

I'm using migrate to import a bunch of nodes and I want to set the path alias during the migration. I am able to import the path alias just fine like so: $this->addFieldMapping('path', 'url_alias')...
14
votes
3answers
33k views

Export and import content from one drupal site to another?

I want to export content with comments and user data with content relation from one Drupal site to same version of another site. In another site there is no content and users data it has only some new ...
13
votes
2answers
3k views

Importing large flat-file data sources with Drupal 7 with Views 3 integration

My goal is to produce a fast, reliable and automated method for accessing read-only data contained in several very large flat-file data sources (CSVs, Fixed Width and XML docs) using Drupal 7 that can ...
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 ...
12
votes
3answers
1k views

Move Multi-lingual Content with Migrate Module

I've got a single MySQL table with mixed english/french content in each row. I'm trying to figure how to migrate this into a proper i18n configured Drupal site. I can get Migrate to import the ...
10
votes
2answers
6k views

Can I move a webform to another drupal installation?

I have created a few webforms on our development server and would like to move them over to a production installation. Can I do this with node export? I'm not concerned with migrate any user ...
10
votes
3answers
13k views

How to create nodes using node_save?

I'm trying to migrate my current html site into Drupal. I have over 80,000 pages I have to migrate so I thought instead of sitting in front of a computer for 50 years I would create a module. I was ...
10
votes
1answer
563 views

After Upgrading from D7 to D8, D8 does not look like D7 at all

I have successfully performed a D7 -> D8 migration of my company site. Everything seemed to go well, but when I'm accessing the Drupal 8 site, the entire design is pretty much gone. How can I get the ...
9
votes
2answers
1k views

Migrate failure: on clause is ambiguous

I'm working with the migrate module for the first time and I've worked with the db_select api a little bit, but I'm running into an error. I'm trying to convert some old labels into a drupal taxonomy....
9
votes
8answers
6k views

How to refresh new migrations in Drupal 8 migration module?

When writing Drupal 8 migrate processes I only can refresh new migration processes if I reinstall the custom migration module. drush cr doesn't work. Explanation: I have one module, ie: ...
9
votes
4answers
3k views

What is the recommend process for migrating a Drupal 6 Ubercart site to Drupal 7 / Drupal Commerce?

I'd like to migrate a client's site from Drupal 6 and Ubercart to Drupal 7 and Drupal Commerce. Is there an easy (i.e.: no manually munging data in the database) migration path? Do I need to go to ...
9
votes
3answers
448 views

Transition plan for PHP5 abomination to Drupal

Background A year from now my clients are going to port a relatively complex intranet portal service (scheduling, actual tracking and reporting, and more) to Drupal because the head office says so. ...
9
votes
1answer
3k views

Migrating with the migrate module

I am using Drupal 7 and the latest Migrate module. I am trying to create a class to migrate products from an OpenCart DB into my new D7 site. I figured out all the SQL I need and got most of that ...
9
votes
4answers
10k views

I cannot log into after migration

I've searched what feels like hundreds of solutions and implemented them all. I've also searched this website in order to find the same question, but I was unable to locate it. I have a development ...
9
votes
4answers
3k 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 ...
9
votes
5answers
2k views

“Source database does not contain a recognizable Drupal version.”

I have installed two Drupal sites in my local Ubuntu desktop 15.10 Apache2 (2.4.12) environment: One is a fresh install of Drupal 8 and The second is a copy of an existing working site built with ...
9
votes
5answers
3k views

How do you update a Live drupal server without overwriting the contents?

I have a site that is live and people are actively putting in content. However, I have had to make some changes in the development environment, which has taken me a couple of weeks to do. The changes ...
9
votes
1answer
499 views

How do I go about migrating books using MIgrate_D2D?

I've had to rebuild my sites recently due to a hit on the Drupalgeddon bug I thought I closed. I've been trying to migrate everything in easily but it doesn't seem to want to for whatever reason. Now,...
8
votes
3answers
3k views

Migrate: What's the difference between prepare() and prepareRow()?

Using the Migrate module: I understand that prepareRow() runs a filter on the row and should return TRUE or FALSE based on some conditions, which allows a row to be migrated or not, but could someone ...
8
votes
4answers
3k views

How to migrate from MySQL to PostgreSQL

I need to know how to migrate my Drupal 6 database from MySQL to PostgreSQL. I also like to hear first hand experience tales about actual migrations. P.S. I found this drupal-mysql2pgsql.pl ...
8
votes
4answers
5k views

Import CSV to nodes/entities in Drupal 8 including a UI

What’s the best solution for importing CSV files into nodes or entities in Drupal 8 that offers a UI so content editors can import regularly? I’ve heard D8 Migrate works well but I understand there’s ...
8
votes
2answers
2k views

How to migrate multilingual content from CSV to Drupal 8?

I come from read Using the new Drupal 8 Migration API / Module and Content Migration: CSV to Drupal 8 the process to create a migration is very clear and its works, but I can't find how to migrate ...
7
votes
9answers
15k views

How to change a field type from Integer to Decimal?

I have a content type with an integer content field. The field needs to contain float data. What's the easiest way to change the field type from integer to decimal? (There are thousands of existing ...
7
votes
3answers
4k views

Is there a way to migrate only nodes?

I don't want to make a full migration. I want to migrate only and solely Nodes (preferably with their Metatag metadata as well). Not Views, Not Panels, not Contexts, not URL redirects - Only Nodes... ...
7
votes
7answers
4k views

How to import taxonomy with hierarchy?

We're upgrading our site from D7 to D8, which has vocabulary containing multi-level parent-child hierarchy. The list is too long (around 5K-10K terms) to import manually. We've tried using migrate in ...
7
votes
2answers
6k views

File issues after importing Drupal site

I recently tried to move my Drupal site to a new server using this page: Moving Drupal 7 site to a new server. But now the style doesn't seem be loaded and more importantly I get this error on every ...
7
votes
2answers
766 views

Migrate CSV source serial

I am using migrate to import Commerce Products from a CSV file. The CSV file doesn't have its own serial so I am using csvrownum but that obviously won't work if there are already products -- I will ...
6
votes
3answers
3k views

how to set the source connection in drupal d2d migrate

I am migrating my taxonomy and users from d6 site to d7 site. How can I set the legacy connection of source db of d6 site. The user is root and password id empty with source database name as d6 for ...
6
votes
2answers
8k views

How do I move a site from a server to another one?

I am trying to move a Drupal 8 site, but I get the following error: The website encountered an unexpected error. Please try again later. InvalidArgumentException: Class "\Drupal\system\...
6
votes
1answer
4k views

Efficient and easy Drupal 7 Development to Production workflow

How would you put large existing Drupal 7 production site in some simple Development-Staging-Production workflow ? I read through various documentation about the issue, but would like to know more ...
6
votes
2answers
3k views

How can I transfer node and comment records from Drupal 6 to Drupal 7?

Is it possible to export particular nodes and comments in Drupal 6 and import them in Drupal 7? I do not want to copy the whole database and then upgrade it, but be able to move particular records.
6
votes
2answers
2k views

Migration into multi-value field collection

I am attempting to use the patch in comment #222 of this issue (https://drupal.org/node/1175082#comment-7625869) to migrate data into a multi-value field collection. I create an array of the objects ...
6
votes
1answer
391 views

Migrate field_collections

I'm using Drush and the migrate tools to migrate a Drupal 7 site to Drupal 8. The site uses field_collections which do not migrate. The field_collections page indicates it is probably being deprecated ...
6
votes
1answer
215 views

Is it possible to migrate data into multiple translations of entities?

I'm running a multilingual migration of events (which are stored as nodes) that have keywords on them where there are keywords (stored as terms). The keywords should be stored in a multilingual tags ...
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): ...
5
votes
2answers
2k views

Migration from Joomla

I am going to start work on a website that is already developed in Joomla 1.5 What are the possible ways to migrate the contents from Joomla. PS: I have looked into joomla module but no luck! Any ...
5
votes
3answers
3k views

How to parse out links and img src references from body copy?

I need to modify links and img references in the body of nodes and comments. MPD already gave me good advice regarding using a script. Is there an easy way in Drupal or PHP to parse out all the links ...
5
votes
2answers
5k views

Migrating images and files

I am trying to migrate a Drupal 7 site to a Drupal 8 site. I already created my module for migration and I have a content type that has a title, field_picture and a field_text in Drupal 7. I want to ...
5
votes
4answers
922 views

How do I programmatically change settings to simplify sharing of config changes?

I'm thinking specifically here of layout changes, such as: moving a block around, or when a new block is created and needs to be positioned, and shown or hidden on specific pages. Currently, when ...
5
votes
3answers
8k views

Where does drupal store all its files?

I would like to use FTP to copy my current site to a new server. I obviously know that the bulk of my files will be stored in /var/www/ and the folders inside. I also exported my databases from ...
5
votes
3answers
3k views

How do I programatically create a context?

I'm using the migrate module to move content into a Drupal site. Some of this content needs to be created as blocks and added to a region using contexts. I have the creation of blocks (actually, boxes)...
5
votes
1answer
1k views

for D8, How to skip (don't update) some fields from existing entity during import if this field already has a value

How to skip (don't update) some fields from existing entity during import if this field already has a value? That for Drupal 8 with modules (migrate, migrate_plus and migrate_tools) example of an yml ...
5
votes
1answer
1k views

How to migrate multilingual image alt fields from CSV?

I'm migrating multilingual content to Drupal 8 from a group of CSV files, and I'm about 95% of the way there. I have an image field attached to an article content type that shares the image among all ...
5
votes
4answers
2k views

How to add data from one Drupal site to other?

Help me solve this scenario, Assumptions: Two users user1 and user2 are using their own copy of Drupal site - site1 and site2 on their respective machines. They use same set of contributed ...
5
votes
2answers
753 views

Migrate existing content types to MongoDB

I have a "Company" content type that has about 30 fields that I'd like to migrate over to MongoDB (field_sql_storage to mongodb_field_storage). Would anyone know of a great way to do this? I have ...
5
votes
4answers
3k views

Nodes appearing but when clicked “page not found”

I recently migrated a site and some nodes don't appear in the content list but they do appear in Views I've created. When they're clicked however (example.com/node/123) it just returns a Page not ...
5
votes
1answer
4k views

Update existing content using migrate module

I'm using migrate module in Drupal 7 to update existing content of a Drupal site. My source and destination tables are the same. I got some documentation from http://drupal.org/node/1117454. Here's my ...