0

I've been asked to import users from a drupal 7 site into an already-built drupal 8 site. I also need their order history from drupal commerce.

I tried using drush migrate-upgrade --config-only to do this, but as of drush 9, the migrate-upgrade etc commands don't work. There is a bug report about this and several patches, but my understanding of drush isn't advanced enough to properly patch & test.

Is there a way this can be done without needing to use drush?

  • 1
    Have you tried drush 8? 9 is still in beta and not ready for prime time yet – Clive Mar 14 '18 at 13:24
  • 1
    Don’t think so @NoSssweat, for various reasons I actually downgraded my system drush to 8 the other day and tested it with a stock install of 8.5.0 and it seemed to work fine (at least for cache clearing and enabling/disabling modules, don’t think I tested anything else). Maybe you’re suffering from the local v global drush hell that’s plaguing people at the moment – Clive Mar 14 '18 at 13:55
  • 1
    Mine also broke when I updated a project to 8.5.0 and Drush 8. – Kevin Mar 14 '18 at 14:12
  • 1
    @Clive thanks, I had thought drush 9 was required for drupal 8 but if it's a possibility I'll look at downgrading and giving it a shot. Actually my drush broke too after attempting to upgrade drupal... then that broke and I had to restore from a backup. Seems the current state is pretty brittle. – jammypeach Mar 14 '18 at 14:55
  • 1
    @jammy yeah me too, then someone told me it was fine and I tried it and it seemed to be, but if others are reporting it’s not maybe my tests were too brief/trivial with 8.5.0. It’s not just you, everyone’s struggling with this at the moment. Even Acquia and Pantheon barely support their own platforms at the moment, I’ve had senior engineers from both telling me there’s nothing to do but wait! – Clive Mar 14 '18 at 15:05
2

Is there a way this can be done without needing to use drush?

If you create a custom module with a migration group you don't need to run drush migrate-upgrade --config-only, but if you screw up, you'll have to uninstall and re-install, a bit annoying.

I also need their order history from drupal commerce.

Custom migration is the way to go.

|improve this answer|||||
  • thanks. I don't think I'm at a level yet where I could write a custom module for this unfortunately - but I'll look into the possibility. – jammypeach Mar 14 '18 at 14:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.