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
Comment #4
quietone commented@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.
Comment #5
tonytheferg commentedThis 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/filesportion of the path might be helpful as the migrate module accounts for this path only requiring docroot.Comment #6
tonytheferg commented