Custom Install Profile not listed on Aegir create site screen

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

I've got a custom install profile inside my platform folder (drupal/profiles/custom_profile/custom_profile.profile). When I go to the Aegir add site form I see a listing of install profiles from other platforms I have, including the Default drupal one, but I don't see my custom profile. Is there something special I need to do with my install profile to expose it to Aegir? I've re-verified the platform but this didn't help.

Thanks,
-Tim

Comments

The cause of this tends to be

mig5's picture

The cause of this tends to be one of two things:

a) a misnamed .profile file causing it to not be parsed

b) the profile has the same name as a module, theme or library in the system, causing it to be ignoed (Drupal has a single namespace limitation, two components can't have the same machine name)

Have a careful look through the profile and try to identify differences between it and other profiles. This comes up often, and has always been one of the above issues.

Thanks! It was a namespace

timwood's picture

Thanks! It was a namespace conflict. I had named my install profile the same as my Feature.

I had the same problem,

pol's picture

I had the same problem, that's how I landed here.

I'm using Jenkins to build and send builds to aegir.

I was using this workflow of command:

  run("drush --root='%s' provision-save '%s' --context_type='platform'" % (root, platformalias))
  run("drush @hostmaster hosting-import '%s'" % platformalias)
  run("drush @hostmaster hosting-dispatch")

  run("drush provision-save %s --context_type=site --uri=%s --platform=%s --server=%s --db_server=%s --profile=%s" % (sitealias, siteuri, platformalias, webserver, dbserver, profile))
  run("drush @hostmaster hosting-import %s" % sitealias)
  run("drush @hostmaster hosting-dispatch")

Sorry for the syntax, this is coming from a fabfile (python fabric), but you can see what are the commands I was running and the order.
If I use that scheme, I get 'n/a' in the column 'Profile' on Aegir (URL: hosting/sites).

I've updated the order to:

  run("drush --root='%s' provision-save '%s' --context_type='platform'" % (root, platformalias))
  run("drush @hostmaster hosting-import '%s'" % platformalias)
  run("drush @hostmaster hosting-dispatch")
  run("drush provision-save %s --context_type=site --uri=%s --platform=%s --server=%s --db_server=%s --profile=%s" % (sitealias, siteuri, platformalias, webserver, dbserver, profile))
  run("drush @hostmaster hosting-task %s verify" % platformalias)
  run("drush @hostmaster hosting-dispatch")
  run("drush @hostmaster hosting-import %s" % sitealias)
  run("drush @hostmaster hosting-dispatch")

And this is working perfectly.

I hope it will help someone ;-)

Bye.

-Pol-

Aegir hosting system

Group organizers

Group categories

Group notifications

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

Hot content this week