Posted by leevh on May 25, 2013 at 6:45am
Hey everyone,
I've got a big ol' D6 site that I'm finally getting around to trying to convert from using the non-aegir way of sites/[site] for code and onto a custom platform as suggested http://omega8.cc/the-best-recipes-for-disaster-139
I've got a working makefile for a platform that should work, but I'm not sure how to remove the sites/[site]/modules/[modules] properly so that the upgrade happens properly. I tried migrating and then deleting the site specific versions, but I get all kinds of problems.
Has anyone done this before have some basic step by step instructions?
thanks,
lee
Comments
http://drupal.org/project/reg
http://drupal.org/project/registry_rebuild (built-in to BOA) is your friend for this.
I would move all the modules in sites/example.com/modules to sites/all/modules before migrating to a new platform, so you can deal with these problems first (and without needing a migrate task for it).
If you're lucky, drush rr will be enough to fix things. I've found that sometimes, moving the problematic modules back to their original location, and then moving them to sites/all one by one with registry rebuilds (and maybe extra cache-clears) in between can help.
P.S. Also, drush rr
P.S. Also,
drush rr --fire-bazooka' => 'Truncate registry and registry_file tables to build them from scratchThanks ar-jan, I am now
Thanks ar-jan, I am now having MUCH more luck by first moving the original code to its proper location and using RR/verify/clear cache before worrying about the upgrades/migrate. Much appreciated!