When trying to create a Drupal 7.2 site (standard profile) I get an error message:

"No valid choices"

What can I do?

Regards

Chipie

CommentFileSizeAuthor
Safari.png132.36 KBChipie

Comments

omega8cc’s picture

Category: bug » support

This is not a bug.

Add at least one Pressflow 6.22 platform or use this:

<?php # override global settings.php

// this file should be created as /data/conf/override.global.inc

unset($conf['hosting_ignore_default_profiles']);
Chipie’s picture

Thanks. So there is now way to create a Standard Drupal 7 profile in Barracuda from scratch without patching?

omega8cc’s picture

It is not about patching, it is a built-in feature allowing you to permanently override defaults set in the global.inc file.

Note that we don't recommend to use the Master Aegir Instance for your sites - you should use Octopus (Satellite Instance) instead, where it is done out of the box if you will install default (small) set of platforms.

omega8cc’s picture

Status: Active » Closed (works as designed)
merro’s picture

Status: Closed (works as designed) » Needs review

Sorry, not sure if i should reopen this or create a new one.

i'm having the same issue except Standard Profile was working fine for 7.0, I have Pressflow 6.22 as a platform.

After creating a platform for 7.4 i'm getting No Valid Choices for all installation profiles except TESTING

I've just run BARACUDA.sh.txt to update to the current version, thinking maybe there was something new in Drupal 7.4 that needed a fix but i'm still having the same issue

I also tried adding 7.3 and then removing both 7.3 & 7.4 - then verifying 7.0 with no change

thanks

snlnz’s picture

As mentioned in the issue queue this can be fixed by adding:

<?php
# override global settings.php
// this file should be created as /data/conf/override.global.inc
unset($conf['hosting_ignore_default_profiles']);

merro’s picture

Thanks, i saw that and shall give it a go, but thought it was worth mentioning as I have Pressflow 6.22 (which was the alternative to adding that code) installed and Aegir was working fine until i added 7.4 as a platform

omega8cc’s picture

Component: Code » Documentation
Status: Needs review » Active

This becomes a FAQ already, so I'm changing this to documentation component.

If this is D7 *custom* platform, please always remove the "testing" install profile, delete the platform node (if already added) and add the platform again.

You may want also to rename Standard to Drupal 7 Standard and Minimal to Drupal 7 Minimal to avoid confusion, because profile names used in D7 are too generic, before adding the platform in Aegir.

In file: standard.info
name = Drupal 7 Standard

In file: minimal.info
name = Drupal 7 Minimal

merro’s picture

Component: Documentation » Code
Status: Active » Needs review

Also struggling to find exactly where to add the code,

/data for me just has 'disk' as a subdir

/data/disk

do i add a subdir called 'conf' and create override.global.inc there

/data/conf/override.global.inc

or am i looking in the wrong spot

sorry if its a basic question, i'm jack-of-all-trades, master of none :)

snlnz’s picture

mkdir /data ; mkdir /data/conf ; touch override.global.inc ;

then edit the file and add:

<?php
unset($conf['hosting_ignore_default_profiles']);

omega8cc’s picture

Component: Code » Documentation
Status: Needs review » Active
merro’s picture

Component: Documentation » Code
Status: Active » Needs review

thanks very much, worked like a treat!

omega8cc’s picture

Component: Code » Documentation
Status: Needs review » Closed (works as designed)

Closing. Please don't re-open closed issues, unless you are *sure* there is something missing to be fixed.