I am sand boxing a migration from D7 to D8. I used the Migrate Drupal UI module configuration and it successfully grabbed all the content, content types, and the taxonomy terms associated. I can't however seem to keep the photos associated to the content in how they are saved in the database. Meaning when I navigate into editing a node once it has been migrated, the name of the image is no longer associated with that particular piece of content.

If I load my database and code into a clean D7 environment without the site files, of course the name of the photo is saved in the node though the image itself isn't there.

I tried having my sites/default/files in place before migrating the content and that didn't seem to help either?

Comments

ToneLoc created an issue. See original summary.

Version: 8.7.1 » 8.7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Version: 8.7.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Branches prior to 8.8.x are not supported, and Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

quietone’s picture

Status: Active » Postponed (maintainer needs more info)

@ToneLoc, just to be sure, was the image module enabled on the new site and were you migrating to a new empty site?

First, lets check if the files were migrated. There may be errors in the logs, /admin/reports/upgrade, related to the file migrations. Or you can check the new site database, checking to see if the file_managed table has been populated. Please report back what you discover.

Thanks.

tonytheferg’s picture

Category: Support request » Plan

This is just a little bit of a confusing UI

I answered my own question here: https://drupal.stackexchange.com/a/284012/93997

I think a disclaimer/warning that you can't include the sites/default/files portion of the path might be helpful as the migrate module accounts for this path only requiring docroot.

tonytheferg’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)
Related issues: +#3151360: Improve description for file paths on the CredentialFrom