New answers tagged

2

Given the code used by PhpassHashedPassword::needsRehash(), a method implemented by the class used for the default password hashing service, a password is stored using the Drupal hashing schema when: The first three hash characters are $, S, and $ The hash length is PhpassHashedPassword::HASH_LENGTH The other hashing schemas Drupal recognizes are the ...


0

As Kevin suggested, inspired by the migrate_plus.migration.wine_role_xml.yml file from the migrate_plus module , i have managed to make it working as such: id: beetween_jobs label: 'Migrate beetween jobs from XML file' migration_group: default source: # We use the XML data parser plugin. plugin: url data_fetcher_plugin: http data_parser_plugin: xml ...


1

Here is how I was able to achieve it. Paragraph Migration: id: fup_balance_csv_import .... .... process: field_upload: field_upload field_download: field_download field_total: field_total destination: plugin: entity_reference_revisions:paragraph default_bundle: fup_balance Node Migration: id: subscription_list_csv_import ............. ........ ...


2

Ok, I was able to do it quite easily with drush dumps. First, I did a dump on the live server with: drush sql:dump > db.sql And then in my docker environment. First I made sure I drop the tables from the database from Phpmyadmin. Then I entered the docker image. docker container exec -it <docker-container-id> bash And then run drush with the name ...


3

There are two parts to the migration: the database and the static files. The most important part is the database. You'll need a database backup (aka sqldump) of the production database, and you'll need to import that into your local database. There are several ways to accomplish this, depending on your site hosting and whether or not you can use drush. The ...


0

This issue appears to have been resolved in: https://www.drupal.org/node/2598038 which was merged into core as of 8.1.4. In order to preserve pre-hashed passwords, add the following to your migration YAML file: destination: plugin: entity:user pre_hashed: true


0

As I said in the comment(s), the plugins currently ensure field collections are migrated to Paragraph bundles and same for d7 Paragraphs. Field data is not moved, this is a gap you currently need to fill yourself. So you have to write YAML migration definitions to do this. I recently did a d7 to d9 migration that had this requirement (with Field Collections ...


Top 50 recent answers are included