All Questions
Tagged with configuration migrations
23 questions
1
vote
1
answer
900
views
How can I ensure migration YAML files execute in specified dependency order?
EDIT: To Answer my own question...
I ended up making multiple migration files like this:
Node Type A Part 1 (most fields migrated except the ones that need to reference Node Type B)
Node Type B
Node ...
0
votes
1
answer
245
views
How to update migration field mapping using custom module/form?
I was learning about Drupal migration recently and found out that we can use Migrate Plus module to import migrations as configurations. Hence I started wondering if a migration is imported as a ...
3
votes
0
answers
69
views
Can I use pseudofields in anything other than source?
If I use pseudofields in the source property for my custom plugin, they are correctly substituted with the computed values. If I use them in another configuration (as per the example), they are ...
1
vote
1
answer
4k
views
How can I fix site UUID does not match error during config import? [duplicate]
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
0
answers
233
views
Migrate a multiple date-range field from CSV using Migrate Source CSV-module
I need to migrate data from a csv file to Drupal 9 (using $ as delimiter for fields). The field csv_date_options can contain multiple date ranges with | as delimiter. The CSV-file looks like this:
id$...
2
votes
1
answer
1k
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 ...
3
votes
3
answers
651
views
alternative to storing api keys in migration yaml files?
I've created a yaml file to import Twitter timeline items (not super simple since documentation on the migrate_plus OAuth plugin seems to be few and far between); this migration naturally requires the ...
5
votes
4
answers
1k
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 ...
1
vote
1
answer
421
views
Image styles not generated during config import
Situation:
Drupal 8.6.9 running DrupalVM with Ubuntu 16.04, Apache 2.4.18, Php 7.1.26
with default settings except for the location of the drupal site.
I am trying to do a migration of a Drupal 7 ...
0
votes
1
answer
245
views
Best Practices for Acquia: Reconciling Production Database back to Dev before update; what is the workflow?
In about a week, I have to update several production sites hosted in AcquiaCloud environments to 8.5.3. All of these sites receive frequent real-time DB writes from user-submitted content. I can ...
2
votes
2
answers
3k
views
Is there a way with drush or console to delete all active config with a certain prefix?
I'm currently trying to migrate a site with drush migrate-upgrade --configure-only ... and copying the export migrate_plus.migration_*.yml into a custom module for tweaking. Now I want to enable that ...
3
votes
1
answer
2k
views
settings.php after migration
I transferred my files via FTP and database to a hosting service. I edited two files, settings.php and sites/default/settings.php whose content was originally the following.
$databases = array (
'...
2
votes
2
answers
3k
views
How to migrate multiple columns to single field in CSV Migrate
In my CSV file, I am having columns by name summary_1,summary_2 and summary_3. I want all of it migrated to a field in Drupal field_summary. The field supports multiple values.
id: sections_tfr
...
1
vote
0
answers
285
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 ...
1
vote
2
answers
2k
views
All links point to the old site after migration [duplicate]
I migrated a Drupal 7 site from 1 server to another. Let's call the old site URL http://oldsite.com and the new site url http://newsite.com. I have copied over the code base and the database. The site ...
1
vote
1
answer
1k
views
The "migration" entity type does not exist." error after switching site file structure
I am working on D6->D8 migration. We initially stared the site out using the [drupal-project](https://github.com/drupal-composer/drupal-project template), and I had my migration working. However, the ...
0
votes
1
answer
54
views
Moving from subdomain to top level, link/image paths incorrect after manual edit
TL;DR Filepaths contain old subdomain prefix after find replace database and site code, can't determine cause.
I have a hosted site on mywebsite.com/drupal, I want to move it to my computer localhost....
0
votes
1
answer
438
views
import local drupal site with database already exist
i create a local website in my laptop and now i want to work on the project from an other laptop, after installing the module backup and migrate and active it , i download the public files settings ...
0
votes
1
answer
41
views
Moved one site to another site files are refering old site
I moved whole Drupal setup from ex.(1.1.1.1 to www.example.com). After the move there are some issues. Some Drupal default files are not found error.(ex. close.png ,background.png) because the images ...
1
vote
1
answer
56
views
After moving Drupal 7 site, adding /user or /?q=user to base URL simply reloads maintenance page
I've just moved a Drupal 7 site from Bluehost to Inmotion (by reinstalling the latest core and adding the 'sites' directory from the old server account, then uploading the database). Since the move I ...
0
votes
1
answer
81
views
Easy database reconfiguration for migration [duplicate]
I have build a Drupal site on my local development server and I am preparing to move it to my test server and eventually my live server. I know where to find the database settings in my settings.php ...
0
votes
1
answer
100
views
dev site reverts to production site url when clearing cache [closed]
I have moved a copy of my production site to a development box. When I clear cache at admin/settings/performance or save settings on a theme, all of a sudden the URL jumps from localhost/example/admin/...
2
votes
1
answer
305
views
Can I setup a backup migrate schedule from settings.php
I am using Pantheon to host a development, staging and production drupal 7 site. I have backup migrate module setup to perform period backups. When I migrate the production site's content to the ...