Be aware of the following changes in the new module:
asset_id in the media add form is not supported in Acquia DAM (Widen), use the Media Library instead.Before you start the migration process, do the following:
If your system already uses the latest version of the media_acquiadam module (2.1.x) and acquia_dam version 1.1.5 or newer, and you have previously performed the database update, you may skip the version upgrade and database update.
Upgrade the module with Composer or through the Drupal UI.
composer require drupal/media_acquiadam:^2.1You must run the database update to apply necessary database schema changes and configuration updates. This step ensures that the new version of the Media Acquia DAM (Widen) module functions correctly. Use the drush updb -y command or navigate to the /update.php page in your Drupal installation. This process also enables the media_acquiadam module.
After the upgrade and database update steps are completed, navigate to the migration path /admin/config/acquia-dam/migration within the Drupal user interface. This leads to the Migration Dashboard, which provides a clear overview of the migration status.
A 3-step wizard guides you through the migration process to ensure a smooth and structured migration experience.
You can progress through the steps sequentially, with options to review, confirm, and proceed at your own pace.
This dashboard helps you migrate legacy media types to Acquia DAM (Widen). It provides a map between media_acquiadam media types to their corresponding media sources in Acquia DAM (Widen).
The table displays the media types, the total number of media items, the display handler for media assets, and the target media source that requires migration. This dashboard enables you to track the progress and completion of the migration.
The details of each column are:
Target source type: You receive a list of Acquia DAM (Widen) media sources. You must select the target source for asset migration.
This page displays a list of new media types from the Acquia DAM (Widen) module. Select the checkbox on the same row as any media type that you do not want to keep. You must indicate if you want to keep the suggested media types. Select them for deletion if they are not required.
After you review and confirm the media types selected for deletion, click Save & Next to move to the final step. This action takes you to the pre-migration report, which provides a summary of the current status before the migration begins.
After the configuration is saved, migration can be performed through either of the following:
Verify the data and click Migrate to begin the migration process. The assets migrate in batches. A progress bar displays the status of the migration in real time.
At the end of the process, the system displays a migration summary. This summary provides a detailed overview of the media items successfully migrated, categorized by each media type.
After you click Save on the last page of the migration dashboard, you can choose to do the asset migration with the Drush command:
drush acquiadam:migrateAfter the migration, ensure that:
/admin/content/media.To finalize the asset data migration, complete the following steps:
Migrate asset data with the following Drush command:
drush acquiadam:migrate-dataTo finalize the migration process, complete the following steps:
If you use the Acquia DAM (Widen) Asset Importer module, switch to the Acquia DAM (Widen) Bulk Asset Import submodule. To migrate the configuration from the Acquia DAM (Widen) Asset Importer contributed module to the Acquia DAM (Widen) Bulk Asset Import submodule, complete the following steps:
Remove the Acquia DAM (Widen) Asset Importer contributed module with the following Composer command:
composer remove drupal/acquiadam_asset_importRun database updates to ensure that the system applies necessary database schema changes and configuration updates for the Acquia DAM (Widen) Bulk Asset Import submodule with the following Drush command:
drush updbClear the cache.
Remove unnecessary legacy fields with the following Drush command:
drush acquiadam:post-migrateTo synchronize the asset after data migration, complete the following steps:
For assets that do not have version_id or external_id, run the following Drush command separately for each media type:
drush acquia-dam:update-assets --media-type=<media_type_id>Ensure that the asset update queue: acquia_dam_media_item_update is empty before you upload or retrieve media with the Drush command:
drush queue:listIf the queue is not empty, process the asset update queue to fetch the version_id and external_id of the asset from Acquia DAM (Widen) with the Drush command:
drush queue:run acquia_dam_media_item_updateAfter the update, clear the Drupal cache to ensure that the system reflects the changes:
drush crdam directory. If skipped, assets are served from the legacy acquiadam directory.To ensure that assets are correctly located after migration, run the following Drush command for each migrated media type:
drush acquia-dam:download-assets <media_type_id> --redownloadAfter the update, clear the Drupal cache to ensure that the system reflects the changes:
drush crRequire the Svg Image module with the following Composer command:
composer require drupal/svg_imageInstall the Svg Image module with the following Drush command:
drush in svg_imageIf this content did not answer your questions, try searching or contacting our support team for further assistance.
Require the Svg Image module with the following Composer command:
composer require drupal/svg_imageInstall the Svg Image module with the following Drush command:
drush in svg_imageIf this content did not answer your questions, try searching or contacting our support team for further assistance.