Migrating from one install profile to another

Events happening in the community are now at Drupal community events on www.drupal.org.
that0n3guy's picture

I have a new install profile that I use and want to move my old (acquia install profile) sites over to this new platform. I got on IRC and asked and got this answer:

edit your new install profile
and add 'old_short_name' = 'acquia'
or carbon, or whatever
that will allow you to migrate acquia sites to it

GREAT! except I dont know where to stick old_short_name' = 'acquia'. I tried putting it in hook_profile_details, re-verifying my platform, but I still couldn't migrate acquia sites to it.

I know I could copy the site over to the 'new' platform, create a new cloned db, delete the site from aegir, verify my 'new' platform.... yuck. I just want to migrate it.

Anyone have any ideas?

Comments

Solution

that0n3guy's picture

You add old_short_name to your profile_details

/**
* Implementation of hook_profile_details().
*/
function myprofile_profile_details() {
  return array(
    'name' => 'myprofile',
    'description' => 'myprofiles description ',
    'old_short_name' => 'acquia',
  );
}

Then I had to delete the install profile node (this is a bug in alpha8, fixed in head) and verify my platform.

Tada... it works

No longer working in alpha 14

that0n3guy's picture

This isn't working any more since I upped to alpha 14 (from alpha 8), can someone give me a heads up on what changed?

Thanks

How exactly is this "not

davidtrainer's picture

How exactly is this "not working anymore" for you? I am trying to get past the same issue. Aegir will allow me to migrate the site, but it still shows the old profile, and still doesn't recognize any of the module/themes in the /profiles directory.

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: