Set up to test:
Important: See https://groups.drupal.org/node/398588 to get set up. This page also includes instructions for re-setting to a clean destination.
Ensure modules are enabled on the source and destination sites:
D6: drush en upload -y
D8: N/A - File and Node enabled by default
Place the manifest file in the D8 site root
Download the latest manifest file.
Run the migration
From the D8 site root:
drush migrate-manifest --db-url=mysql://user:pass@source/source MANIFEST_FILE.yml
If you've updated/installed drush 7.x after July 16, 2014, you'll want to use:
drush migrate-manifest --legacy-db-url=mysql://user:pass@source/source MANIFEST_FILE.yml
Compare post-migration settings
Look at the nodes where upload had been used to attach files to content and compare values
Main interface:
D6 config:
/admin/settings/uploads
D8 config: per-content-type, per-field
Content for both: /admin/content
Success?
If your site migrates successfully, let us know with a comment on this issue. We'd love to hear details like:
- the size and complexity of the site you migrated
- performance observations
- any customizations you made to the migration manifest!
Problems?
Open a new issue as a normal priority support request. Describe what happened, including the exact text of error messages. Depending on the nature of the problem, someone may ask for a sample of the data you're trying to migrate or follow up with other questions.
Remember, too, that this is pre-Beta. The focus is on D6 core > D8 core, not custom work or contributed modules, so there may be portions of your site that need special consideration that won't get addressed at this point in the process.
Important: Please connect your issue to this issue when you create it by using entering this ticket number, 2223993 , in the Parent issue field!
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | D6Manifest-Upload-12.yml | 304 bytes | phenaproxima |
| #11 | D6Manifest-Upload-11.yml | 280 bytes | phenaproxima |
| #10 | D6Manifest-Upload-10.yml | 268 bytes | phenaproxima |
| #4 | D6Manifest-Upload.yml_.txt | 244 bytes | eliza411 |
Comments
Comment #2
eliza411 commentedComment #3
benjy commentedNode is no longer a bundle migration and should simply be d6_node
What are these doing in the manifest?
Comment #4
eliza411 commentedI can't recall what pointed toward including those migrations. I've updated the manifest. Thanks!
Comment #5
ultimikeComment #6
bdone commentedi've updated instructions' migrate-manifest command to use the db-url option, per latest version of migrate-manifest.
Comment #7
ultimikeComment #8
benjy commentedMarking this issue fixed as I think we've reached a point now where the Drupal 6 to Drupal 8 issue path is stable enough that we can simply open individual issues as problems arise.
Comment #10
phenaproximaThe manifest file in #4 doesn't run smoothly, because
the migrations are not listed in the correct ordernot every required migration (i.e., dependencies) is listed. The attached version fixes several errors for me.Comment #11
phenaproximaScratch that -- use this one. It will transfer the actual attachments as well.
Comment #12
phenaproximaComment #13
benjy commentedOrder should have no impact, they're loaded by the storage controller in the correct order.
Comment #14
phenaproximaYou're right. It's not that the order is wrong, it's that dependencies are missing. I'll update my comment.
Comment #15
phenaproximaAdded the d6_user_picture_file migration to the manifest. Without this, users who have pictures don't get imported.